question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GnssMonitor: picking up GN* messages

See original GitHub issue

I’ve been trying to figure out why GnssMonitor.OnMessageReceived has been interpreting exactly one real GGA message before going silent, and I think it might be the m_supportGNMessages flag.

Here’s an idea of what my log looks like:

(OnMessageReceived) Gga receieved (right after else if (message is Gga gga))
(OnLocationUpdate) {lat, lon, alt, satellites}
(NmeaMessageReceived end) Gga message should have been processed
///
(NmeaMessageReceived end) Gga message should have been processed
(The message contained "GGA" but wasn't picked up by OnMessageReceived? Weird)
///
(NmeaMessageReceived end) Gga message should have been processed
///
(NmeaMessageReceived end) Gga message should have been processed
///
(NmeaMessageReceived end) Gga message should have been processed
///
Ignoring message in favor of Gsv (the m_supportGNMessages return)
(NmeaMessageReceived end) Gga message should have been processed
///
Ignoring message in favor of Gsv
(NmeaMessageReceived end) Gga message should have been processed

Assuming my device (a Bad Elf GPS Pro+) supports GN* messages, where are they interpreted?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
dotMortencommented, Aug 31, 2020

Ok you just said the location wasn’t changing. Sounds like we misunderstood each other 😂

0reactions
dotMortencommented, Sep 2, 2020

Thanks for the follow-up. That’s definitely against the NMEA spec but I can see why. Older NMEA libraries would likely only pass GP*** messages (including some older versions of this library). Anyway the latest fix I made should address this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Raw GNSS Measurements
Raw GNSS measurements, together with inertial sensor data collected from various Android phones, were used in Google Smartphone Decimeter Challenge (GSDC) ...
Read more >
Legacy RTCM3 messages
I am bench testing today. I updated my M2, set it up as a base. It is transmitting via a RFD900+. I have...
Read more >
Collector with Trimble R2- record correct GNSS Re...
I'm setting up a Trimble R2 to work with Collector on a Samsung Android phone. I've connected to the receiver via Trimble's GNSS...
Read more >
Global Navigation Satellite System (GNSS)
The navigation message contains information, similar to GPS navigation ... The ground segment also will include 16-20 monitor stations, three up-link.
Read more >
Real-Time Location Systems Using GNSS Modules
GNSS works by picking up the unique navigation signal from at least three satellites in the orbiting constellation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found