[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] ✘$GPGST busted time
From: |
Gary E. Miller |
Subject: |
[gpsd-dev] ✘$GPGST busted time |
Date: |
Mon, 28 Mar 2016 21:45:20 -0700 |
Yo All!
I'm not that familiar with the JSON encoder, but I see a bug in it.
Hos is it that this GPGST:
$GPGST,232713.000,1.3,105.1,9.1,-40.9,0.3,0.3,0.6*78
yields this JSON:
{"class":"GST","time":"1970-01-03T16:38:33.000Z","rms":1.300,"major":105.100,"minor":9.100,"orient":-40.900,"lat":0.300,"lon":0.300,"alt":0.600}
How did the time in the GST get the wrong year? Other sentences, with
the same second, work fine.
For example, the adjacent TPV has the right time:
$GPRMC,232713.000,A,4404.1237969,N,12118.8472448,W,000.0,159.2,280316,,,D*71
{"class":"TPV","mode":3,"time":"2016-03-28T23:27:13.000Z","ept":0.005,"lat":44.068729948,"lon":-121.314120747,"alt":1132.560,"epv":36.800,"track":159.2000,"speed":0.000,"climb":0.000,"epc":184.00}
Samples in test/daemon/skytraq-fix.log.chk,
test/daemon/polarx2.log.chk, test/daemon/ublox-lea-5q.log.chk, etc.
Anyone got an idea?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgpFYq1IfdFXG.pgp
Description: OpenPGP digital signature
- [gpsd-dev] ✘$GPGST busted time,
Gary E. Miller <=
- Re: [gpsd-dev] ✘$GPGST busted time, Hal Murray, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Eric S. Raymond, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Gary E. Miller, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Eric S. Raymond, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Gary E. Miller, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Hal Murray, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Chris Kuethe, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Gary E. Miller, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Hal Murray, 2016/03/29
- Re: [gpsd-dev] ✘$GPGST busted time, Gary E. Miller, 2016/03/29