NeoGPS icon indicating copy to clipboard operation
NeoGPS copied to clipboard

Losing satelites, but receiving still having speed & location

Open Fusseldieb opened this issue 6 years ago • 1 comments

Hi, I'm using a Neo-6Mv2 with the NeoGPS library and am enjoying so far, but I'm facing a strange issue.

My plan is that every second the library gets all satelite strenghts and displays those.

The problem is that suddenly all satelite strenghts vanish and sat_count reports 0, but speed & location is still there and accurate. Even if I'm outside, after some time it decides to stop displaying those satelites.

The solution is to restart (only) the Arduino (which reinitializes the library) and then it works again.

The log looks like that:

image Speed (km/h), sat_count and all satelites in order, respectively (and two others which don't matter now)

After that it hardly recovers, why? Only restarting the Arduino solves it. Remember: It still has speed data (first column)!

Fusseldieb avatar Jun 29 '19 03:06 Fusseldieb

Apparently I didn't wait for the all the messages to arrive to print, causing some of them to get dropped.

My ublox-6m has the GLL message at last (looking at the text log in u-center).

So I put in NMEAGPS_cfg.h:

#define LAST_SENTENCE_IN_INTERVAL NMEAGPS::NMEA_GLL

and it seems that the issue has vanished.

Fusseldieb avatar Jul 09 '19 09:07 Fusseldieb