diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index fcc7c0bd64..82370937bb 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -1195,6 +1195,9 @@ GnssModel_t GPS::probe(int serialSpeed) _serial_gps->updateBaudRate(serialSpeed); } #endif +#ifdef GNSS_AIROHA + return GNSS_MODEL_AG3335; +#endif #ifdef GPS_DEBUG for (int i = 0; i < 20; i++) { getACK("$GP", 200); @@ -1241,6 +1244,9 @@ GnssModel_t GPS::probe(int serialSpeed) LOG_INFO("Aioha AG3335 detected, using AG3335 Module\n"); return GNSS_MODEL_AG3335; } + // Get version information for Airoha AG3335 + clearBuffer(); + _serial_gps->write("$PMTK605*31\r\n"); // Get version information clearBuffer();