From facabfaa44bdb4d2c7c528f61de9cb963107312c Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 2 May 2019 19:11:48 -0700 Subject: driver_nmea0183: Enforce NMEA 4.0 type PRNs. Up until now, the PWN was whatever the GPS said it was. With NMEA 4.10 this is no longer sustainable. The u-blox 9 defaults to NMEA 4.10, sort of. It sometimes puts NMEA 4.0 PRNs into NMEA 4.10 sentences. Some people like to use both u-blox binary and NMEA sentences mixed together, so the time has come to enforce the PRN complies with NMEA 4.0 extended numbering. Sadly this can not map exactly into u-blox numbering, but is a start. Fixing this uncovered other examples of non NMEA compliant sentences in the regressions. So many regressions changed. The most obvious change is that NMEA 4.0 puts the SBAS PRN in the range 33-64 and 152-158, not 120-158 as u-blox does. --- test/daemon/ac12_binary.log.chk | Bin 9777 -> 9767 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'test/daemon/ac12_binary.log.chk') diff --git a/test/daemon/ac12_binary.log.chk b/test/daemon/ac12_binary.log.chk index 0ad058e5..c27f2847 100644 Binary files a/test/daemon/ac12_binary.log.chk and b/test/daemon/ac12_binary.log.chk differ -- cgit v1.2.1