diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-01 21:17:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-01 21:17:36 +0000 |
commit | 4e3aacf7e07752ebc25968af5a4c58aa6ae5559c (patch) | |
tree | 1fd915edbfec5096c3c80b7b74113e37b8b5a647 /sirf.c | |
parent | 76c63b297197f776168c5f42aa10beafdeec5f08 (diff) | |
download | gpsd-4e3aacf7e07752ebc25968af5a4c58aa6ae5559c.tar.gz |
Add a comment and initializer (so far not used)...
...about the message needed to turn of SuRF track-smoothing.
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -741,6 +741,20 @@ static void sirfbin_configure(struct gps_device_t *session) 0xa6, 0x00, 0x04, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xb3}; +#ifdef __UNUSED__ + /* + * Might need to send this, turning off the SiRF track-smoothing mode, + * to eliminate a 10-second fix latency some users have reported. See + * <http://gpsd.davisnetworks.com/bin/view/Main/SirfTrackSmoothMode> + * for discussion. + */ + static unsigned char smoothing_off[] = {0xa0, 0xa2, 0x00, 0x08 + 0x88, 0x00, 0x00, 0x01, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x05, 0x02, 0x00, + 0x00, 0x00, 0xb0, 0xb3}; +#endif /* __UNUSED__ */ + } /*@ -charint @*/ gpsd_report(4, "Requesting periodic ecef reports...\n"); (void)sirf_write(session->gpsdata.gps_fd, requestecef); |