added UBX reception

This commit is contained in:
2026-03-16 16:12:11 +01:00
parent 2e83aeeb62
commit e004b71f3e
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -3,11 +3,11 @@ from msg_sink import MsgSink
from ubx.ubx import frame_parse, frame_parse_hdr
class UbxReceiver(MsgSink):
def __init__(self, name: str, mid: int, mclass: int):
def __init__(self, name: str, mclass: int, mid: int):
MsgSink.__init__(self)
self.name = name
self.mid = mid
self.mclass = mclass
self.mid = mid
def on_recv(self, msg: MsgContainer):
data, hdr = frame_parse(msg.data)