Add utility function for easier GPGSV sentence parsing

pull/29/head
Donny Warbritton 2019-06-26 09:22:22 -06:00
rodzic 70bd71b32f
commit 5faa1a241c
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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