From d24a1dcd6f81e22d891c75252bfcac8f5e6a54b3 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 12 Apr 2019 17:36:36 -0700 Subject: diver_ubx: No point sending UBX-CFG-SBAS, u-blox 9 does not support. Use ubxtool if you want it. --- driver_ubx.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'driver_ubx.c') 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 /* -- cgit v1.2.1