Reply to post:

Fun fact: GPS uses 10 bits to store the week. That means it runs out... oh heck – April 6, 2019

gnasher729 Silver badge

If I was the developer, then I would figure out that a timestamp can never be older than the device itself (if you buy a TomTom today, it will never receive dates from Jan 2019 or earlier, so we can just use a window and hope the device doesn't last for 1023 weeks :-) Probably changing the ROMs going into manufacturing once ever year or even every five years is fine.

But even without this, you'd only get into trouble if some satellites are in week 1023 and others in the next week (week 1024 but transmitted as 0). But that state lasts for less than a tenth of a second.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon