summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-12 17:36:36 -0700
committerGary E. Miller <gem@rellim.com>2019-04-12 17:36:36 -0700
commitd24a1dcd6f81e22d891c75252bfcac8f5e6a54b3 (patch)
treee847d445d9b44a79a98b030ed81d03288d6b40f6 /driver_ubx.c
parentea944908e5cabd5555f82c61abef66c5d05ef7ca (diff)
downloadgpsd-d24a1dcd6f81e22d891c75252bfcac8f5e6a54b3.tar.gz
diver_ubx: No point sending UBX-CFG-SBAS, u-blox 9 does not support.
Use ubxtool if you want it.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 7c93ad25..b7827fc9 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -1625,20 +1625,9 @@ static void ubx_event_hook(struct gps_device_t *session, event_t event)
if (session->context->readonly)
return;
else if (event == event_identified) {
- unsigned char msg[32];
-
- gpsd_log(&session->context->errout, LOG_DATA, "UBX configure\n");
-
- msg[0] = 0x03; /* SBAS mode enabled, accept testbed mode */
- msg[1] = 0x07; /* SBAS usage: range, differential corrections and integrity */
- msg[2] = 0x03; /* use the maximum search range: 3 channels */
- msg[3] = 0x00; /* PRN numbers to search for all set to 0 => auto scan */
- msg[4] = 0x00;
- msg[5] = 0x00;
- msg[6] = 0x00;
- msg[7] = 0x00;
- /* UBX-CFG-SBAS */
- (void)ubx_write(session, 0x06u, 0x16, msg, 8);
+ gpsd_log(&session->context->errout, LOG_DATA, "UBX identified\n");
+
+ /* no longer set UBX-CFG-SBAS here, u-blox 9 does not have it */
#ifdef RECONFIGURE_ENABLE
/*