User manual
V002450_25_CR1200-CR2-CR3-CR2500-CR3500_Interface_Configuration_Document_CLIENT.docx
2011-04-27 Page 13 of 65
© 2011 The Code Corporation
•
14870 S. Pony Express Rd., Suite 200, Bluffdale, UT 84065
•
(801) 495-2200
•
FAX (801) 495-0280
#%03 Expected output: should make Reader beep/vibrate 3 times
Example 2 (set Reader to continuous-read, near field only):
P(C4)5Expected output: should set Reader to continuous-read, near field only
6.2 Packetized Commands
Packetized commands consist of packetized data sent from Host to Reader to configure and cause the
Reader to perform certain functionalities (e.g. CodeXML
®
rules, and settings). Packetized commands
are always enabled, unlike text commands. In addition, they include error detection data, making them
more robust than text commands.
normal-command: prefix command-type data-size data
opt
reserved crc14
prefix: 0xEE 0xEE 0xEE 0xEE
command-type: Single ASCII character in the set defined in Section 6.3
data: datum
| data datum
datum: any byte value in the range [0,255]
data-size: byte value in range [0,240], which indicates size of data (in bytes)
reserved: 0x00
crc14: two consecutive bytes, each in range [0,127], representing crc16 bitwise AND
with 0x7f7f, most significant byte first. The packet crc16 is calculated over the
entire packet, excluding the prefix and the crc14 itself. (See source files
crc16.[hc] (Appendix) for details on the crc16 algorithm and polynomials to be
used.)
6.3 Command Types
ESC
Reserved for use by JavaScript applications. This command can be used to notify
JavaScript functions from a B-String. No defined function in firmware or CodeViewer
JavaScript.
(The Reader will respond with d or e.)
#
Causes the Reader to beep and/or vibrate the specified number of times; data contains the
number as a single character in the range [0,127].
(The Reader will respond with d or e.)
Example – beep/vibrate three times: #%03