From 5faa1a241c242eef725ad6106d6295d296403b7b Mon Sep 17 00:00:00 2001 From: Donny Warbritton Date: Wed, 26 Jun 2019 09:22:22 -0600 Subject: [PATCH] Add utility function for easier GPGSV sentence parsing --- micropyGPS.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/micropyGPS.py b/micropyGPS.py index 08db089..221829b 100644 --- a/micropyGPS.py +++ b/micropyGPS.py @@ -654,6 +654,12 @@ class MicropyGPS(object): else: return False + def unset_satellite_data_updated(self): + """ + Mark GSV sentences as read indicating the data has been used and future updates are fresh + """ + self.last_sv_sentence = 0 + def satellites_visible(self): """ Returns a list of of the satellite PRNs currently visible to the receiver