summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver_ubx.c10
-rwxr-xr-xxgps1
2 files changed, 7 insertions, 4 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index fca88d9b..741cfad1 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -612,7 +612,8 @@ ubx_msg_nav_dop(struct gps_device_t *session, unsigned char *buf,
/**
* End of Epoch
- * Not in u-blox 5
+ * Not in u-blox 5, 6 or 7
+ * Present in u-blox 8 and 9
*/
static gps_mask_t
ubx_msg_nav_eoe(struct gps_device_t *session, unsigned char *buf,
@@ -630,9 +631,10 @@ ubx_msg_nav_eoe(struct gps_device_t *session, unsigned char *buf,
gpsd_log(&session->context->errout, LOG_DATA, "EOE: iTOW=%ld\n", iTOW);
/* nothing really to new, but report data collected so far
* and clear for next data set */
- // return CLEAR_IS | REPORT_IS;
- // return REPORT_IS | STATUS_SET;
- /* strangely any mask return here makes things worse... */
+ /* return CLEAR_IS | REPORT_IS;
+ * return REPORT_IS | STATUS_SET;
+ * return REPORT_IS;
+ * strangely any mask return here makes things worse... */
return 0;
}
diff --git a/xgps b/xgps
index 078ed2dc..2853b3fb 100755
--- a/xgps
+++ b/xgps
@@ -1310,6 +1310,7 @@ if __name__ == "__main__":
base = Base(deg_type=degreefmt, rotation=rotate, title=target)
base.set_units(unit_system)
try:
+ sys.stderr.write("xgps: host %s port %s\n" % (host, port))
daemon = gps.gps(host=host,
port=port,
mode=(gps.WATCH_ENABLE | gps.WATCH_JSON |