gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] gpsd-dev Digest, Vol 94, Issue 10


From: Sharmila
Subject: Re: [gpsd-dev] gpsd-dev Digest, Vol 94, Issue 10
Date: Mon, 8 Jul 2019 20:10:13 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Hi Gary,

I am planning to migrate my changes in latest version of gpsd - V3.19. Can you please give me the required files to integrate in yocto layer( yocto patch files and .bb files ) for supporting 3.19.

Thanks & Regards,

Sharmila

On Saturday 06 July 2019 09:30 PM, address@hidden wrote:
Send gpsd-dev mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/gpsd-dev
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gpsd-dev digest..."


Today's Topics:

    1. Re: Adding additional parameters to gps_data_t structure
       (Gary E. Miller)
    2. Re: gpsd - AT command control on modems (Gary E. Miller)
    3. ✘NED and Geoid Separation (Gary E. Miller)
    4. Re: gpsd - AT command control on modems (Greg Troxel)
    5. Re: gpsd - AT command control on modems (Paul Fertser)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Jul 2019 09:57:33 -0700
From: "Gary E. Miller" <address@hidden>
To: address@hidden
Subject: Re: [gpsd-dev] Adding additional parameters to gps_data_t
        structure
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Yo Sharmila!

On Fri, 5 Jul 2019 10:30:30 +0530
Sharmila <address@hidden> wrote:

I am using gpsd 3.16 version base source code.
As others have said, we can't support 4.5 year old code.  We have more
than enough work to do on 3.19~dev.

I  kept the 3
parameters (velN, velE, height) in fix_t structure.
As I have aked before, where is velD?

I am able to
receive the client buffer like before and able to see my parameters ,
but in my application I am receiving unexpected data.
Yup.  I gave you a detailed code revue.  But the initial items
remain:
        1. get on the git head code base
        2. send us a patch for gps.h

Note : In fix structure all the values I am getting properly but
additional 3 parameters what I have added which is getting invalid
data and the fields below the fix_t structure are filled with invalid
data including status field which is getting zero or some big numbers.
And I told you a few messages back why.  But, firt things first, your
need to do #1 and #2 long before we can fix filed values.

I am attaching the patch for your reference, please provide some
input.
Looks like you applied none of my comments to your code.  No  point
repeating that advice until #1 and #2 is done.

In another message you refer to yocto.  I have worked with people
using gpsd and yocto, that is no reason to be stuck on such old
gpsd code.  Using 3.19!dev with yocto should be very simple and we
will help with that.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
     "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20190705/b639a026/attachment.sig>

------------------------------

Message: 2
Date: Fri, 5 Jul 2019 11:23:04 -0700
From: "Gary E. Miller" <address@hidden>
To: address@hidden
Subject: Re: [gpsd-dev] gpsd - AT command control on modems
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Yo Luca!

On Thu, 04 Jul 2019 19:36:04 +0200
Luca Weiss <address@hidden> wrote:

I was testing gpsd on the Pinephone devkit [1] with the Quectel
EC25-E modem which also has GPS/GNSS integrated.
Cool.

I could start gpsd
fine with "sudo gpsd -N -D3 -G -F /var/run/gpsd.sock /dev/ttyUSB1"
Dunno why you would use the socket AND specify the device.

but afterwards I needed to tell the modem at /dev/ttyUSB2 the command
"AT+QGPS=1" to turn on the GPS component (and "AT+QGPSEND" to stop it
again).
Afterwards, not before?  USB2 not USB1?

So I wanted to ask how I can integrate that into gpsd so it
does it automatically?
Don't bother,  That would be very hard.  Just do:
        # echo ""AT+QGPSEND" > /dev/ttyUSB2

        
I've also seen that ofono provides a "location reporting api"; and
there's also modemmanager which provides seemingly the same
functionality;
No idea.  Might be soemthing easy and standard, might be bizarre and
proprietary.

we would need some doc to know.

but as most existing applications seem to use gpsd
(except I think anything geoclue based, as that only supports
modemmanager) I would like to get gpsd working properly for this.
geoclue is also new to me.

https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home

Ah, d-bus based.  Is that what gpsd already uses?

[1] https://wiki.pine64.org/index.php/Project_Don%27t_be_evil
Interesting.  I for one have come to hate Samsung for their bloatware
and adware.  And now their phones are very fragile.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
     "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20190705/cf9f56f6/attachment.sig>

------------------------------

Message: 3
Date: Fri, 5 Jul 2019 12:32:03 -0700
From: "Gary E. Miller" <address@hidden>
To: gpsd dev <address@hidden>
Subject: [gpsd-dev] ✘NED and Geoid Separation
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Yo All!

I just added NED and geoid Separation variables to gps_fix_t and
the TPV JSON.  No GPS decodes to fill the data, or clients to consume
the data, yet.

that required a bump to the API and library versions.

Enjoy!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
     "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20190705/9e273fad/attachment.sig>

------------------------------

Message: 4
Date: Fri, 05 Jul 2019 20:40:06 -0400
From: Greg Troxel <address@hidden>
To: "Gary E. Miller" <address@hidden>
Cc: address@hidden
Subject: Re: [gpsd-dev] gpsd - AT command control on modems
Message-ID: <address@hidden>
Content-Type: text/plain

"Gary E. Miller" <address@hidden> writes:

but as most existing applications seem to use gpsd
(except I think anything geoclue based, as that only supports
modemmanager) I would like to get gpsd working properly for this.
geoclue is also new to me.

https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home

Ah, d-bus based.  Is that what gpsd already uses?
My fuzzy understanding is thet geoclue is a higher-level service, and
that gpsd's dbus support is about reporting gps fixes.  geoclue aims to
fuse multiple sources, one of which might be gpsd.   I tried to deal
with it years ago, and gave up - I don't quite remember why.



------------------------------

Message: 5
Date: Sat, 6 Jul 2019 12:44:39 +0300
From: Paul Fertser <address@hidden>
To: "Gary E. Miller" <address@hidden>
Cc: address@hidden
Subject: Re: [gpsd-dev] gpsd - AT command control on modems
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hey,

On Fri, Jul 05, 2019 at 11:23:04AM -0700, Gary E. Miller wrote:
So I wanted to ask how I can integrate that into gpsd so it
does it automatically?
Don't bother,  That would be very hard.  Just do:
        # echo ""AT+QGPSEND" > /dev/ttyUSB2
How about adding that to /etc/gpsd/device-hook (see man gpsd)?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]