Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 2.55 KB

decode_heartbeat.md

File metadata and controls

24 lines (23 loc) · 2.55 KB

heartbeat message

V5 table
14 bytes
default value type is uInt16LE

HEX DEC TYPE VALUE
0x00 0 uInt8 always a5
0x01 1 uInt16LE always 01 msg length - excl msg header(0x00 - 0x0A), checksum and last byte
0x02 2 uInt16LE always 00 msg length
0x03 3 uInt16LE always 10 msg type - heartbeat
0x04 4 uInt16LE always 47 msg type - heartbeat
0x05 5 uInt8 message nr - starts from 00(synced with server?)
0x06 6 uInt8 message nr - starts from 01
0x07 7 uInt32LE data logger SN
0x08 8 uInt32LE data logger SN
0x09 9 uInt32LE data logger SN
0x0A 10 uInt32LE data logger SN
---- --- --------
0x0B 11 uInt8 always 00
---- --- --------
0x0C 12 uInt8 checksum - add all bytes, except first, last, and checksum itself, than mod 256
0x0D 13 uInt8 always 15