4/14/2016
D014465 CR1400 CR1000 CR2300 CR2600 CR3600 CR44X5 CR8000 CR900FD CR6000 CR5000 T500 Client Version ICD
Page 9 of 106
© 2013-2016 The Code Corporation
12393 South Gateway Park Place Suite 600, Draper, UT 84020
(801) 495-2200
FAX (801) 495-0280
6.1 Raw Data
Reader to Host communication consists of decoded raw data having no framing or check characters.
Raw data is sent with no “end of packet” data (crc16), expects no response from Host and no data is
resent.
6.2 Packet Data
Data from the Reader to the Host consist of packets as specified below. Packetized data is sent using
ACK/NAK protocols with framing and check characters. Packets are delivered asynchronously as
barcodes are read and in response to Host to Reader commands. For keyboard communication (USB
keyboard), all ASCII-characters are transmitted as keyboard-sequences. For all other communication
ports, all ASCII-characters are transmitted as ASCII-bytes.
Note: Even though the data size field allows up to 65535 bytes of data in a packet, the actual size of a
packet either in raw or in packet mode including data and packet overhead is a maximum of 16384
bytes.
Note: The following acronyms from the ASCII character definitions are used below:
SOH – Start of Heading (0x01)
STX – Start of Text (0x02)
EOT – End of Transmission (0x04)
RS – Record Separator (0x1E)
start packet-type
nz
data
opt
end
packet-start
nr
| codeXML-start
nz
SOH ‘X’ ‘R’ protocol-version Reader-id packet-number timestamp data-size
data-packet-number | cmd-packet-number
any byte value in the range [0,7f]; increments with each packet; does not increment with
resends; used with z and a packets only
any byte value in the range [80-ff]; increments with each packet; does not increment with
resends; used with all packets other than z and a
big-endian 32-bit number, indicates timestamp in seconds (relative to Reader power-up)
(For all but z packets, the timestamp represents the time the packet was sent to the Host;
for z packets, the time the barcode was read.)
big-endian 16-bit number indicating size of the data field (in bytes)
SOH ‘X’ RS tag_response ‘/’
Single ASCII-character in table below