firmware/src/gps
Tom Fifield 2391982c1d
Only call GPS Probe commands once per family (#6114)
In the GPS probe code we write commands on the serial line and
 determine which GPS we have based on the result.

GPS units in the same family sometimes use the same command,
 but return different results (eg AG3335 and AG3332 both use $PAIR021*39).
Currently we run the command once per GPS. Instead we should run each
command only once per family, record the result, and select the GNSS MODEL
 based on the result, which is what this patch does.

Before the change, we put 12 commands on the serial bus.
Now we only put 6.

This should markedly improve the speed and reliability of GPS detection.

Fixes https://github.com/meshtastic/firmware/issues/5193

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-03-04 09:47:06 -06:00
..
cas.h A second round of cleanup on GPS.h. (#5433) 2024-11-25 05:32:04 -06:00
GeoCoord.cpp Clean up some inline functions (#5454) 2024-11-26 14:00:10 -06:00
GeoCoord.h Clean up some inline functions (#5454) 2024-11-26 14:00:10 -06:00
GPS.cpp Only call GPS Probe commands once per family (#6114) 2025-03-04 09:47:06 -06:00
GPS.h Only call GPS Probe commands once per family (#6114) 2025-03-04 09:47:06 -06:00
GPSUpdateScheduling.cpp More reduction (#5256) 2024-11-04 19:15:59 -06:00
GPSUpdateScheduling.h Revert "Sync Wio lr1110 refresh with master (#4288)" 2024-07-22 15:30:36 +02:00
NMEAWPL.cpp Fixed NMEA sentence issue in CalTopo as well as bug with no printing all of the nodes (#5412) 2024-11-21 20:13:30 +08:00
NMEAWPL.h NodeDB Lite migration (#2554) 2023-06-17 09:10:09 -05:00
RTC.cpp More reduction (#5256) 2024-11-04 19:15:59 -06:00
RTC.h More explicit guards for attempting to set RTC (#4452) 2024-08-13 06:56:20 -05:00
ubx.h A second round of cleanup on GPS.h. (#5433) 2024-11-25 05:32:04 -06:00