From 393a3a02c84146b39a76ceaf48ed112625f87ff7 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 12 Apr 2019 20:06:43 -0700 Subject: ubxtool: Add end of cycle detection. This made the ublox-neo-m8n.log regression finally look good. Needed for u-blox 9. --- gpsd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gpsd.h') diff --git a/gpsd.h b/gpsd.h index 8f3c12b8..fcff9f6c 100644 --- a/gpsd.h +++ b/gpsd.h @@ -58,7 +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 + * Add ubx.protver, ubx.end_class and more to gps_device_t.ubx */ /* Keep in sync with api_major_version and api_minor gps/__init__.py */ #define GPSD_PROTO_MAJOR_VERSION 3 /* bump on incompatible changes */ @@ -701,8 +701,8 @@ struct gps_device_t { 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 */ + unsigned char last_msgid; /* last class/ID */ + unsigned char end_msgid; /* cycle ender class/ID */ } ubx; #endif /* UBLOX_ENABLE */ #ifdef NAVCOM_ENABLE -- cgit v1.2.1