Closed iw2ejh closed 8 months ago
did you test this more? as this is really strange behavior
Did you had to reset the GPS? If so, it can happen, that the GPS is not sending NMEA message containing the date,
Yes, on both devices, the GPS has been reset with the available tool. Do you know how to recover from this situation?
You've probably used something like the TTGO_T-beam_GPS-reset utility.
I don't have my code at hand right now, but as I remember, the reset utility enables only the NMEA_GGA sentence, which doesn't include the date. I wonder why, but...
myGPS.enableNMEAMessage(UBX_NMEA_GGA, COM_PORT_UART1);
I had to add to it something like this:
myGPS.enableNMEAMessage(UBX_NMEA_RMC, COM_PORT_UART1);
By using the TinyGPS++ library, it reads just these NMEA sentences: GPGGA, GPRMC (GPS) & GNGGA & GNRMC (Glonas)
Then I've got the date&time displaying correctly. I'll try to find my code at home, please QRX.
Yes Willi, you got the point, I added the RMC sentence after the gps reset and bingo, this unlocked the situation, now the Date appear correctly on the display.
P.S. sorry I do not know how to reduce characters in my comment ;)
Yes Willi, you got the point, I added the RMC sentence after the gps reset and bingo, this unlocked the situation, now the Date appear correctly on the display.
I am glad I could help. Enjoy it!
thanks a lot for this!
will try to save the info on the WIKI also!
i had this all missing!! until I needed to reset one T-beam
so i will upload this all new into a new updated repository
In the display, the date is not updating. it is fixed at 1999-12-31 . the time is correct, the Lat Long is correct and the Locator is correct. Only date is wrong. (verified on two different trackers)