Merge pull request #29 from donnyw/feature/gsv_util_function

Add utility function for easier GPGSV sentence parsing
pull/30/head
Calvin McCoy 2020-01-08 19:57:33 -08:00 zatwierdzone przez GitHub
commit 95b739381c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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