Skip to content

Commands

James Sutton edited this page Jun 10, 2017 · 4 revisions

Commands

Basic Command Packet

Byte Description Hex Notes
**Header**
Byte 0 Start Byte 24 Always start with 36 (dec)
Byte 1 Command Byte c0 Command 192 (dec) - Get Status
Byte 2 Packet Length MSB 00 Packet Length: 16 (dec)
Byte 3 Packet Length LSB 10
Byte 4 Session Time MSB 24 e7 Seconds since epoch picked by client (4 bytes) 3881430750
Byte 5 Session Time MSB 16 59
Byte 6 Session Time MSB 8 ee
Byte 7 Session Time LSB de
Byte 8 Password MSB 04 4 digit Password (2 bytes): 1111
Byte 9 Password LSB 57
Byte 10 End of Header Null Byte 00
Byte 11 End of Header Null Byte 00
Payload
Payload bytes go here.
Footer
Byte 13 Checksum MSB fb
Byte 14 Checksum LSB a4
Byte 15 Payload End Byte 1 0d 13 (dec)
Byte 16 Payload End Byte 1 0a 10 (dec)