mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
![]() 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> |
||
---|---|---|
.. | ||
cas.h | ||
GeoCoord.cpp | ||
GeoCoord.h | ||
GPS.cpp | ||
GPS.h | ||
GPSUpdateScheduling.cpp | ||
GPSUpdateScheduling.h | ||
NMEAWPL.cpp | ||
NMEAWPL.h | ||
RTC.cpp | ||
RTC.h | ||
ubx.h |