Coder Social home page Coder Social logo

Comments (9)

richonguzman avatar richonguzman commented on July 28, 2024

did you test this more? as this is really strange behavior

from lora_aprs_tracker.

OK1FWG avatar OK1FWG commented on July 28, 2024

Did you had to reset the GPS? If so, it can happen, that the GPS is not sending NMEA message containing the date,

from lora_aprs_tracker.

iw2ejh avatar iw2ejh commented on July 28, 2024

Yes, on both devices, the GPS has been reset with the available tool. Do you know how to recover from this situation?

from lora_aprs_tracker.

OK1FWG avatar OK1FWG commented on July 28, 2024

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.

from lora_aprs_tracker.

iw2ejh avatar iw2ejh commented on July 28, 2024

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.

from lora_aprs_tracker.

iw2ejh avatar iw2ejh commented on July 28, 2024

Problem description: Only Date is not updated on the display
Cause: have used the GPS reset tool to force GPS to send again NMEA sentences after Meshstastic was loaded on the TTGO board (it use different protocol)
Solution: modification of the reset tool to include RMC sentence in addition to the GGA one ( change the wording from disable in enable in the sentence highlighted below (<-------) )

do {
if (myGPS.begin(SerialGPS)) {
Serial.println("Connected to GPS");
myGPS.setUART1Output(COM_TYPE_NMEA); //Set the UART port to output NMEA only
myGPS.saveConfiguration(); //Save the current settings to flash and BBR
Serial.println("GPS serial connected, output set to NMEA");
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.enableNMEAMessage(UBX_NMEA_GGA, COM_PORT_UART1);
myGPS.saveConfiguration(); //Save the current settings to flash and BBR
Serial.println("Enabled/disabled NMEA sentences");
break;

P.S. sorry I do not know how to reduce characters in my comment ;)

from lora_aprs_tracker.

OK1FWG avatar OK1FWG commented on July 28, 2024

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!

from lora_aprs_tracker.

richonguzman avatar richonguzman commented on July 28, 2024

thanks a lot for this!

will try to save the info on the WIKI also!

from lora_aprs_tracker.

richonguzman avatar richonguzman commented on July 28, 2024

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

from lora_aprs_tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.