4/14/2016
D014465 CR1400 CR1000 CR2300 CR2600 CR3600 CR44X5 CR8000 CR900FD CR6000 CR5000 T500 Client Version ICD
Page 10 of 106
© 2013-2016 The Code Corporation
12393 South Gateway Park Place Suite 600, Draper, UT 84020
(801) 495-2200
FAX (801) 495-0280
data
character | data character
character
byte| keyboard-sequence
byte
any byte value in range [0x00,0xFF]
keyboard-
sequence
key| shift
key shift
| alt
decimal-code alt
key
~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | q | w | e | r | t | y | u | i | o | p | [ | ] | \| a
| s | d | f | g | h | j | k | l | ; | ’ | z | x | c | v | b | n | m | , | . | /| space| esc | tab | shift
| alt | ctrl | enter | backspace| f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10 | f11 | f12|
insert | delete | home | end | pageup | pagedown| left | right | up | down |
keypadenter| digit
decimal-code
digit | digit digit | digit digit digit (range [0,255])
digit
keypad0 | keypad1 | keypad2 | keypad3 | keypad4| keypad5 | keypad6 | keypad7 |
keypad8 | keypad9
end
codeXML-end
nz
crc16
nr
codeXML-end
EOT
crc16
big-endian 16-bit number representing crc16 of the packet, calculated over the entire
packet, excluding the crc16 itself. See source files crc16.[hc] in
Appendix: Example CRC16 C Code for details on the crc16 algorithm and polynomials to
be used.
The following packet-types are defined:
a
Append decode data; indicates that data contains the first part of the decode data. A sequence
of ‘a’ packets always ends with a ‘z’ packet. The data of all ‘a’ packets in a group and the final
‘z’ packet should be concatenated by the Host.
d
Done response; command and its associated data were successfully received; data optionally
contains a null-terminated text message.
e
Error response; command was not successfully received; data optionally contains a null-
terminated text message.
g
Start of a group of ‘z’ packets to follow, terminated by a ‘d’ or ‘e’ packet (‘d’ for complete
group, ‘e’ for incomplete group)