diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-12 19:38:35 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-12 19:38:35 -0700 |
commit | 59d0330b70e0364b7ffb1bc37df8b341cdda75e5 (patch) | |
tree | cdcfa0435787e1060130474f5b80552d52bc1bf4 /gpsd.h | |
parent | 9c6c514fd751cfc35ca0fad388748d3e9fde7765 (diff) | |
download | gpsd-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |