diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-27 09:50:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-27 09:50:28 +0000 |
commit | e4e3dace6d3d5f1c99e6219322833ce472af3700 (patch) | |
tree | 0a8efb5fdc77b59cfcfe705e767c2dd08c415f0c /gpsd.h | |
parent | da5ae7e4a32aa92b7fcf0a3ea38d47e56fc5711c (diff) | |
download | gpsd-e4e3dace6d3d5f1c99e6219322833ce472af3700.tar.gz |
Poll for the Navigation Parameters in SiRF message 0x13...
...and revert our changes at deactivation time.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -194,6 +194,17 @@ struct gps_device_t { #define TIME_SEEN_GPS_2 0x02 /* Seen GPS time variant 2? */ #define TIME_SEEN_UTC_1 0x04 /* Seen UTC time variant 1? */ #define TIME_SEEN_UTC_2 0x08 /* Seen UTC time variant 2? */ +#ifdef ALLOW_RECONFIGURE + /* fields from Navigation Parameters message */ + bool nav_parameters_seen; /* have we seen one? */ + unsigned char altitude_hold_mode; + unsigned char altitude_hold_source; + int16_t altitude_source_input; + unsigned char degraded_mode; + unsigned char degraded_timeout; + unsigned char dr_timeout; + unsigned char track_smooth_mode; +#endif /* ALLOW_RECONFIGURE */ } sirf; #endif /* SIRF_ENABLE */ #ifdef TSIP_ENABLE |