Skip to content

Commands

James Sutton edited this page Jan 5, 2017 · 4 revisions

Commands

Basic Command Packet

Byte Description Hex Notes
**Header**
Byte 1 Start Byte 24 Always start with 36 (dec)
Byte 2 Command Byte c0 Command 192 (dec) - Get Status
Byte 3 Packet Length MSB 00 Packet Length: 16 (dec)
Byte 4 Packet Length LSB 10
Byte 5 Session Time MSB 24 e7 Seconds since epoch picked by client (4 bytes) 3881430750
Byte 6 Session Time MSB 16 59
Byte 7 Session Time MSB 8 ee
Byte 8 Session Time LSB de
Byte 9 Password MSB 04 4 digit Password (2 bytes): 1111
Byte 10 Password LSB 57
Byte 11 End of Header Null Byte 00
Byte 12 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)