summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-01-15 15:26:20 -0800
committerGary E. Miller <gem@rellim.com>2019-01-15 15:26:20 -0800
commit1c7f65acffb492c45b48d5f97a9d8f9d69c74e42 (patch)
tree12b0574823558f7e814fb91d270fe612c27a0798
parent6341b325d628886bb6e84f3ac330aa761807aac7 (diff)
downloadgpsd-1c7f65acffb492c45b48d5f97a9d8f9d69c74e42.tar.gz
TODO: Create a tool for UTC<->GPS week/tow.
-rw-r--r--TODO2
-rw-r--r--driver_sirf.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/TODO b/TODO
index ea580c32..374f279c 100644
--- a/TODO
+++ b/TODO
@@ -121,6 +121,8 @@ Add a sample client
Our goal is to be independent of the system clock.
+Create a CLI tool to convert UTC to GPS week/tow and back.
+
**** Maybe apply wraparound compensation ****
See <http://www.febo.com/pipermail/time-nuts/2013-August/079271.html>
diff --git a/driver_sirf.c b/driver_sirf.c
index a4ffb459..102c96e4 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -102,8 +102,8 @@ static unsigned char sbasparams[] = {
static unsigned char requestecef[] = {
0xa0, 0xa2, 0x00, 0x08,
0xa6, /* MID 166 */
- 0x00, /* enable 1 */
- 0x02, /* MID 2 */
+ 0x03, /* enable MID 2 and MID 4 */
+ 0x00, /* unused 2 */
0x01, /* once per Sec */
0x00, 0x00, /* unused */
0x00, 0x00, /* unused */