Technical information

10/29/2014
Page 7 of 72
© 2014 The Code Corporation
12393 South Gateway Park Place Suite 600, Draper, UT 84020
(801) 495-2200
FAX (801) 495-0280
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)
i
indicates that data contains the zero-terminated Reader information string (of printable ASCII
characters and TAB) in the following format:
iVVVVWWWWXXXXSSSSSSSSSSAOODYYYYHHIIIIJJJJKKKKLLLL<TAB>Z…Z
where:
i indicates ‘I’ string output
VVVV is the application firmware version number;
WWWW is the core application firmware version number;
XXXX is reserved;
SSSSSSSSSS is the Reader’s serial number (ten digits);
A is the current execution state:
“A” means core is running
OO is the OEM identifier;
D is the display type:
“0” is no display device.
YYYY is reserved;
HH is the hardware revision;
IIII is the hardware type identifier (value in register 21B);
JJJJ is the boot application version;
KKKK is the operating system kernel version;
LLLL is the root file-system version;
<TAB> is the ASCII TAB character;
ZZ is the OEM decoder version: a null terminated string of printable ASCII characters.
m
Message response; data contains a message (comment). m’ packets are not sent when the
Reader is in “raw” mode.
r
Read code failure; decoder attempted but failed to read a code.
z
Decoded data from a code; data contains the data decoded from the code.
In “raw” mode (as opposed to “packet” mode), type m packets are not sent, only the decoded data is
sent for type z packets, and all other packets are sent without the packet-start and crc16 fields. In
“packet-mode,” the packet-start and crc16 fields are always sent. (See Figure 1)