gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] ntpd vs Venus638FLPx-L with week rollover bug


From: Jeff Epler
Subject: [gpsd-users] ntpd vs Venus638FLPx-L with week rollover bug
Date: Tue, 4 Jun 2019 14:14:34 -0500

Recently I decided to add PPS time synchronization to a Rasberry Pi,
and a Venus638FLPx-L on a SparkFun breakout board emerged from the
junkpile.  Sadly, I discovered that this device suffers from a bug and
doesn't report the correct time since the GPS rollover earlier this
year.

Its NMEA sentences report a date in November 1999, with two-digit
years: 101899. It appears that GPSD interprets the date as in the year
2099, giving a unix timestamp of around 4'096'000'000.  Of course,
this is too big for a 32-bit signed integer, so it ends up being
treated as -199'000'000 seconds somewhere along the line, and so gpsd
concludes the date is 19630912.

Is there (A) any knob I can turn in gpsd to work around this device's
bugs and make it useful?  Failing that, (B) is there anybody who would
like this board, if only for the curiosity factor?  It's one of these,
which I purchased in 2010:
https://www.sparkfun.com/products/retired/9133

In the meantime, I found a different module and got my NTP synced up to its PPS.



reply via email to

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