Issue: Unable to read GPS Data.
Setup: Arduino, custom code based off the RAK5010 Samples
Details: I had this project working what I thought perfectly fine. Had a few glitches to work out. Device has been working very well tracking GPS data, I2C Sensor Data, and other values and sending to my server.
Until a couple days ago. Nothing changed in code (so I think). Every device went offline w/ GPS data and actually cellular. I rewrote a bunch of code to make it cleaner, got everything working again as of 9 PM last night and fired up my 8 test devices to do their job over night. They ran well. Outside wall, GPS not perfect but good enough for testing. Devices ran all night and until about 1 or 2 PM today, then ALL GPS when off line again. Cellular continued to work. I just took a device on a walk around the block after resetting. Still no GPS data. I’ve taken a box apart to see if was an antenna issue and moved things around.
I try to read GPS for about 5 minutes with a 15 second delay between each failed read. I just get this until my code times out:
[1445396] Requesting current GPS/GNSS/GLONASS location
AT+QGPSLOC=2
+CME ERROR: Not fixed now
[1445401] Couldn’t get GPS/GNSS/GLONASS location, retrying in 15s.
I thought pulling out the debug code that dumps the AT data to the debug serial port caused an issue, so put it back in.
Any idea why all these devices would stop reading GPS at about the same time?
I’m not using Assistanced GPS/GNSS right now but will probably try to put it in to see if that makes a change?
Any one have an idea what to look at?
TY.