Comments (9)
did you test this more? as this is really strange behavior
from lora_aprs_tracker.
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.
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.
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.
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.
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.
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.
thanks a lot for this!
will try to save the info on the WIKI also!
from lora_aprs_tracker.
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)
- BT not working HOT 8
- Default smartbeaconing parameters seem too agressive HOT 11
- Tracker works but shows "Nobattery Connected" HOT 7
- Power down function HELTEC Wireless Tracker HOT 3
- tracker and igate
- Power down from USB HOT 1
- No power ON under batery t-beam 1.2 AXP2101 HOT 2
- Haltec Wireless Tracker 1.1 No GPS data HOT 4
- Aprsdroid TNC - half of Bluetooth frames are missing on radio HOT 7
- T-Deck broken? HOT 6
- Line Feed character sent over LoRa HOT 6
- Problema Heltec Tracker Lora HOT 3
- Need Instructions to compile and download to device HOT 4
- reboot loop HOT 10
- Heltec Wireless Tracker - code 1 error on upload HOT 2
- APRS.fi ignores packet sent in standard GPS mode, corrupt type field? HOT 7
- Heltec Wireless Tracker >> POWER OFF Button ? HOT 2
- Screen i2c issue HOT 1
- mismatch between json config file and displayed data at aprs.fi HOT 3
- How to Power Off (new Heltec LoRa Tracker PCB)? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lora_aprs_tracker.