2-5. Checksum Byte
Checksum is found by taking the sum of all previous bytes (including the length byte) and using
mask of 0x7f. For help with computing the Checksum Byte, use the EverFocus Checksum Calculator or
Serial Comm programs, found at the following link:
ftp://208.50.31.200/Checksum%20Calculator/
3-1. Sample control code packets
Example1: A packet that send "MENU" key to ECOR (ID=5)
0x85 (length)
0x00 (Receiver ID high byte)
0x05 (Receiver ID low byte)
0x4B (OPcode = key)
0x07 (DATA1 = "Menu" keycode)
0x5C (checksum)
Example2: A packet that send "PLAY" key to ECOR (ID=4999)
0x85 (length)
0x13 (Receiver ID high byte)
0x87 (Receiver ID low byte)
0x4B (OPcode = key )
0x0B (DATA1 = "Play" keycode )
0x75 (checksum)
Comentarios a estos manuales