[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] GL* strings and gpspipe
From: |
John Klug |
Subject: |
Re: [gpsd-users] GL* strings and gpspipe |
Date: |
Mon, 14 Jan 2019 22:33:32 +0000 |
We want to use the u-blox gpsd driver so our patch for leap second will work.
So if gpspipe is to put out NMEA strings (or maybe both u-blox and nmea),
should we use gpsctl to configure the u-blox for both u-blox and nmea combined?
I believe it is possible for it to write both. Then we could use gpspipe -r,
and get both? Or would that cause gpsd to fail, or would gpsd clear out the
settings by gpsctl to use both NMEA and u-blox proprietary?
John Klug
Senior Software Engineer
________________________________
________________________________
From: gpsd-users <address@hidden> on behalf of Gary E. Miller <address@hidden>
Sent: Monday, January 14, 2019 12:20:47 PM
To: address@hidden
Subject: Re: [gpsd-users] GL* strings and gpspipe
Yo John!
On Mon, 14 Jan 2019 17:34:33 +0000
John Klug <address@hidden> wrote:
> Recently we tried to use gpsd with gpspipe with an application, and
> we were wondering if it were possible to have gpspipe dump $GLL
> strings with GPSD using the U-Blox driver?
"gpspipe -r" dumps whatever the U-blox is sending to gpsd. No filtering.
So you problem is not in gpsd or gpspipe, but it how you setup your u-blox.
> Previously this particular application did not use gpsd, and was
> looking at the NMEA TTY output of the U-Blox directly, and in that
> case there are $GLL strings. We would like to use gpspipe instead.
Unless you tell gpsd otherwise, it tries to put the GPS in u-blow binary
mode. So then you only get a few of the binary sentences converted to
pseudo-NMEA. If you want NMEA, then put the unit in NMEA mode: gpsctl -n.
But the JSON from "gpspipe -w" is much more flexible and informative, try
to use that instead.
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
- [gpsd-users] GL* strings and gpspipe, John Klug, 2019/01/14
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/14
- Re: [gpsd-users] GL* strings and gpspipe,
John Klug <=
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/14
- Re: [gpsd-users] GL* strings and gpspipe, John Klug, 2019/01/15
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/15
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/18
- Re: [gpsd-users] GL* strings and gpspipe, John Klug, 2019/01/23
- Re: [gpsd-users] GL* strings and gpspipe, John Klug, 2019/01/24
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/24
- Re: [gpsd-users] GL* strings and gpspipe, John Klug, 2019/01/24
- Re: [gpsd-users] GL* strings and gpspipe, Gary E. Miller, 2019/01/24