- added GGA

- print messages as dict
This commit is contained in:
2026-03-15 17:47:16 +01:00
parent 62a93a2cdc
commit 5435a07405
5 changed files with 52 additions and 9 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ class Gll(Nmea):
self.checksum = None
def __repr__(self):
return f"{self.latitude:.8f}{self.ns_indicator},{self.longitude:.8f}{self.ew_indicator}"
return f"{self.__dict__}"
def __init__(self, name: str, tid: str):
Nmea.__init__(self, name, tid=tid, msg_type="GLL")
@@ -33,4 +33,4 @@ class Gll(Nmea):
self.data.status = data_list[6]
self.data.checksum = data_list[7]
print(f"{self.name}: {data}")
print(f"{self.name}:{self.msg} {self.data}")