summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-12 19:38:35 -0700
committerGary E. Miller <gem@rellim.com>2019-04-12 19:38:35 -0700
commit59d0330b70e0364b7ffb1bc37df8b341cdda75e5 (patch)
treecdcfa0435787e1060130474f5b80552d52bc1bf4 /gpsd.h
parent9c6c514fd751cfc35ca0fad388748d3e9fde7765 (diff)
downloadgpsd-59d0330b70e0364b7ffb1bc37df8b341cdda75e5.tar.gz
driver_ubx: Add ubx.protver, and more, to gps_device_t.
The protocol version will be needed for future configuration operations. The cycle enders will be used soon.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index a9936c13..8f3c12b8 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -58,6 +58,7 @@ extern "C" {
* Add cfg_stage and cfg_step, for initialization
* Add oldfix2 for better oldfix
* Make subtype longer
+ * Add ubx.protver, ubx.end_class, ubx.end_id to gps_device_t
*/
/* Keep in sync with api_major_version and api_minor gps/__init__.py */
#define GPSD_PROTO_MAJOR_VERSION 3 /* bump on incompatible changes */
@@ -699,6 +700,9 @@ struct gps_device_t {
struct {
unsigned char port_id;
unsigned char sbas_in_use;
+ unsigned char protver; /* u-blox protocol version */
+ unsigned char end_class; /* cycle ender class */
+ unsigned char end_id; /* cycle ender ID */
} ubx;
#endif /* UBLOX_ENABLE */
#ifdef NAVCOM_ENABLE