Closed jorticus closed 4 years ago
Verified with srv1/collector.py:
Send [Port1, Type=0x03, Addr=0x4004, Param=0x8663]
TX: [1] 01
TX: [0] 03 40 04 86 63 01 31
RX: 03 00 63 00 66
Send [Port1, Type=0x03, Addr=0x4005, Param=0x2885]
TX: [1] 01
TX: [0] 03 40 05 28 85 00 f6
RX: 03 00 85 00 88
Send [Port3, Type=0x03, Addr=0x4004, Param=0x8663]
TX: [1] 03
TX: [0] 03 40 04 86 63 01 33
RX: 03 86 63 00 ec
Send [Port3, Type=0x03, Addr=0x4005, Param=0x2885]
TX: [1] 03
TX: [0] 03 40 05 28 85 00 f8
RX: 03 28 85 00 b0
Send [Port1, Type=0x02, Addr=0x4000, Param=0x0000]
TX: [1] 01
TX: [0] 02 40 00 00 00 00 43
RX: 02 00 88 00 8a
Send [Port2, Type=0x03, Addr=0x4001, Param=0x0088]
TX: [1] 02
TX: [0] 03 40 01 00 88 00 ce
RX: 03 00 88 00 8b
Send [Port3, Type=0x03, Addr=0x4001, Param=0x0088]
TX: [1] 03
TX: [0] 03 40 01 00 88 00 cf
RX: 03 00 88 00 8b
Battery Temperature: 21C
(Port 1 : MX, Port 2 : FX, Port 3 : DC)
Registers 4000, 4001, 4004, 4005 are used to synchronize time, date, and battery temperature between devices.
Since pyMATE is intended to replace the MATE, it should perform this synchronization.