summaryrefslogtreecommitdiff
path: root/timebase.c
diff options
context:
space:
mode:
authorPavel Kirienko <pavel.kirienko.list@gmail.com>2013-11-26 11:51:55 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-26 11:51:55 -0500
commit94f5efb20408b88c45f36a7b90ce790eea118001 (patch)
treee6239370c8e959771dd94a13c02f686dcd85937d /timebase.c
parentc66cbb26fcbf2bc075f09222cdb3bb905b07a328 (diff)
downloadgpsd-94f5efb20408b88c45f36a7b90ce790eea118001.tar.gz
Get vertical error position and speed estimates from the u-blox driver.
That is, rather than having to interpolate them. This required two regression-test rebuilds in obvious places.
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/timebase.c b/timebase.c
index c779e13e..0ad17406 100644
--- a/timebase.c
+++ b/timebase.c
@@ -8,11 +8,13 @@ to "accurate within one GPS rollover period" for receivers reporting
GPS week+TOW, but isn't possible in general.
Date and time in GPS is represented as number of weeks from the start
-of zero second of 6 January 1980, plus number of seconds into the
-week. GPS time is not leap-second corrected, though satellites also
-broadcast a current leap-second correction which is updated on
-six-month boundaries according to rotational bulletins issued by the
-International Earth Rotation and Reference Systems Service (IERS).
+of zero second of 6 January 1980 mod 1024, plus number of seconds into
+the week. GPS time is not leap-second corrected, though satellites
+also broadcast a current leap-second correction which is updated on
+(theoretically) three-month boundaries according to rotational
+bulletins issued by the International Earth Rotation and Reference
+Systems Service (IERS). Historically all corrections have been issued
+on six-month boundaries.
The leap-second correction is only included in the satellite subframe
broadcast, roughly once ever 20 minutes. While the satellites do