Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
603 stars 169 forks source link

Example1_BasicNMEARead only outputs GPGGA #47

Closed DCWjeboy closed 1 year ago

DCWjeboy commented 3 years ago

I expected it to output GLL, GSA, GSV, RMC and VTG as well. is there a way to do this also?

flashspys commented 3 years ago

Can't confirm. I just ran the example and got all mentioned outputs.

LilyGO commented 2 years ago

It should be a problem with your GPS settings. Each GPS module can individually set what information needs to be output to reduce power consumption. Just check the GPS module of your module, find the communication protocol and check in.

chinswain commented 2 years ago

You have to enable\disable the message types:

myGPS.disableNMEAMessage(UBX_NMEA_GLL, COM_PORT_UART1); myGPS.disableNMEAMessage(UBX_NMEA_GSA, COM_PORT_UART1); myGPS.disableNMEAMessage(UBX_NMEA_GSV, COM_PORT_UART1); myGPS.disableNMEAMessage(UBX_NMEA_VTG, COM_PORT_UART1); myGPS.enableNMEAMessage(UBX_NMEA_RMC, COM_PORT_UART1); myGPS.disableNMEAMessage(UBX_NMEA_GGA, COM_PORT_UART1); myGPS.saveConfiguration(); //Save the current settings to flash and BBR

Source: https://github.com/eriktheV-king/TTGO_T-beam_GPS-reset/blob/master/T22-GPS-reset-v3/T22-GPS-reset-v3.ino

lewisxhe commented 1 year ago

There is no activity for a long time. If there is still a problem, please reopen the problem