- added Msg frame work with Msg container , Msg sources, Msg sinks

- added filter by message type to nmea receiver
- show case new features in MultiClient.main()
This commit is contained in:
2026-03-08 17:46:25 +01:00
parent 1b9d07db7f
commit c6c1f26f32
7 changed files with 134 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
class MsgContainer:
def __init__(self, name: str, timestamp: float = 0, data: bytes = b''):
self.name : str= name
self.timestamp : float = timestamp
self.data: bytes = data
def __str__(self):
return f"{self.name}: {self.timestamp}: {self.data}"
def __repr__(self):
return f"{self.name}: {self.timestamp}: {self.data}"