[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] gpsd rolls back to 1999
From: |
Hal Murray |
Subject: |
Re: [gpsd-dev] gpsd rolls back to 1999 |
Date: |
Fri, 21 Jun 2019 23:21:48 -0700 |
> I have a Surefire MTK-3301 , which has been running well for over 6 years.
> Noticed today that ntp was reporting 1999 .
GPS has a 10 bit filed for the week number. That works out to be about 20
years.
https://en.wikipedia.org/wiki/GPS_Week_Number_Rollover
Or search for WNRO.
It rolled over recently. But that doesn't mean your GPS unit will start
screwing up. The firmware can compare the date from GPS with the build date
of the firmware. That gives the firmware a lifetime of 20 years starting at
firmware build time. Any dates before the build date get bumped up by 1024
weeks. You may have to bump by multiple steps of 1024 weeks. (Loop until GPS
time > build-time.)
Software like GPSD and NTPD can do the same thing. That gives you a lifetime
of 20 years after the software build time. If you can rebuild, the 20 year
window keeps moving.
If you are using ntpd, you can fudge the time.
--
These are my opinions. I hate spam.
- [gpsd-dev] gpsd rolls back to 1999, Sanjeev Gupta, 2019/06/21
- Re: [gpsd-dev] gpsd rolls back to 1999, Gary E. Miller, 2019/06/21
- Re: [gpsd-dev] gpsd rolls back to 1999,
Hal Murray <=
- Re: [gpsd-dev] gpsd rolls back to 1999, Sanjeev Gupta, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Hal Murray, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Michael J. Tubby B.Sc. MIET, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Eric S. Raymond, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Michael J. Tubby B.Sc. MIET, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Gary E. Miller, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Eric S. Raymond, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Gary E. Miller, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Eric S. Raymond, 2019/06/22
- Re: [gpsd-dev] gpsd rolls back to 1999, Gary E. Miller, 2019/06/22