particle-iot / gps-ublox

Support for u-blox NEO-M8U with paired NMEA parser
Apache License 2.0
5 stars 2 forks source link

Report a count of successful and failed GPS operations #10

Closed eberseth closed 3 years ago

eberseth commented 3 years ago

This is a special request from @dmleman https://github.com/particle-iot/gps-ublox/issues/8

Problem

It is not possible to remotely debug a possible timeouts when waiting for responses from the GPS module. Any unsuccessful requests can go unnoticed and not obvious to catch if they do.

Solution

Provide several counters that are incremented upon successful response capturing as well as failed/timed out responses.