- 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
@@ -15,7 +15,7 @@ class Gsv(Nmea):
self.checksum = None
def __repr__(self):
return f"sat_vis: {self.sat_vis}, sat_id: {self.sat_id}, elevation: {self.elevation}, azimuth: {self.azimuth}, snr: {self.snr}"
return f"{self.__dict__}"
def __init__(self, name: str, tid: str):
Nmea.__init__(self, name, tid=tid, msg_type="GSV")
@@ -44,5 +44,5 @@ class Gsv(Nmea):
if self.data.number_of_msg == self.data.seq_number:
self.data = Gsv.Msg()
print(f"{self.name}: {data}")
print(f"{self.name}:{self.msg} {data}")