summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-27 09:50:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-27 09:50:28 +0000
commite4e3dace6d3d5f1c99e6219322833ce472af3700 (patch)
tree0a8efb5fdc77b59cfcfe705e767c2dd08c415f0c /gpsd.h
parentda5ae7e4a32aa92b7fcf0a3ea38d47e56fc5711c (diff)
downloadgpsd-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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index 6f89f29d..8b91e6eb 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -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