PilotAware keeps sending the last known location received from the GPS to SkyDemon.
This stops Skdemon from timing out.
Maybe I should send an empty NMEA string If I receive no new GPS updates, I am concerned
this may cause SkyDemon to timeout
Yeah but I think thats alright for maybe 60 seconds or so. There comes a point when we need to be alerted to fact that we don't have good GPS.
Not quite so simple
In iOS Location Services, they only supply updates on a 'significant change', so when stationary, you receive no updates, because your location has not changed. iOS Location Services, do have an error condition which is called if the GPS is lost, and I think I use this in the CollisionAware App.
Chris you may need to check if Android has an equivalent error condition, I can then leave you to, constantly provide updates (if the no significant change issue occurs on Android), and stop or provide empty messages on the GPS error condition.
If you use a serial device, when the unit is still alive, but not providing good info you get something like this
$GPGGA,,,,,,,,,,*54
so simply the msg type, and a set of empty fields, followd by a checksum.