added UBX:NAV:SIG message
This commit is contained in:
+8
-4
@@ -17,6 +17,8 @@ from nmea.RMC import Rmc
|
||||
from threading import Thread
|
||||
from queue import Queue
|
||||
from ubx.ubx import frame_create
|
||||
from ubx.msg import UbxMsg
|
||||
from ubx.messages.nav import Sig
|
||||
|
||||
class NetworkBackend(ABackend):
|
||||
def __init__(self, servers: list[dict]):
|
||||
@@ -145,10 +147,9 @@ if __name__ == "__main__":
|
||||
Gga(grm, 'GN'),
|
||||
]
|
||||
ubx_rx_list = [
|
||||
# UbxReceiver('UBX-NAV-SIG', 0x01, 0x43),
|
||||
UbxReceiver('UBX-ACK-ACK', 0x05, 0x01),
|
||||
UbxReceiver('UBX-ACK-NACK', 0x05, 0x00),
|
||||
UbxReceiver('UBX:default'),
|
||||
UbxReceiver(Sig(), 0x01, 0x43),
|
||||
UbxReceiver(UbxMsg(), 0x05, 0x01),
|
||||
UbxReceiver(UbxMsg(), 0x05, 0x00),
|
||||
]
|
||||
|
||||
# Topology
|
||||
@@ -194,6 +195,9 @@ if __name__ == "__main__":
|
||||
# Poll UBX-NAV-CLOCK (0x01 0x22)
|
||||
frame = frame_create(0x01, 0x22, b'')
|
||||
transceiver[grm].send(frame)
|
||||
# Poll UBX-NAV-SIG (0x01 0x43)
|
||||
frame = frame_create(0x01, 0x43, b'')
|
||||
transceiver[grm].send(frame)
|
||||
except ValueError:
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user