User manual

V002450_25_CR1200-CR2-CR3-CR2500-CR3500_Interface_Configuration_Document_CLIENT.docx
2011-04-27 Page 47 of 65
© 2011 The Code Corporation
14870 S. Pony Express Rd., Suite 200, Bluffdale, UT 84065
(801) 495-2200
FAX (801) 495-0280
Name
#
Comments
# bytes
Auto Connect
07
If connection information exists for the specified
Device Address, use it to establish a connection.
Otherwise, attempt to establish a connection and
store the resulting information.
6
Clear Setup
08
Remove connection information associated with the
specified Bluetooth
®
Address.
6
Send Setup
09
Print all connection information in the following
format
iiii xxxxxxxxxxxx p
Where iiii is the storage index, xxxxxxxxxxxx is
the Bluetooth
®
Device Address, and p indicates
pairing enabled (y) or pairing disabled (n).
0
Get Bluetooth
®
Address
0E
Get Bluetooth
®
address as 12 Hexadecimal
characters
0
Get “user
friendly” name
0F
Get device’s “user friendly” name
0
10 Code Reader Batch (CRB) System
The Code Reader Batch (CRB) system is a convenient method for creating and maintaining a set of
commands that can be easily sent to the Reader. These CRB files can be created in any text editor with
the file extension of .crb. The CRB system accepts all of the valid text commands. The most commonly
used commands are J, N, P, and ~. There should be one command per line. The CRB file may contain
empty lines and comments as well.
The .crb files can be sent to the Reader using either the USB or RS232 downloader’s. As CRB files are
just a list of text commands, they can also be sent by a serial terminal program. Note: if using a serial
terminal program the Reader will first need to be commanded in to “text command mode”; see
Section 6.1.
You can request a copy of all the CR2 User Manual configuration codes in the .crb format. For example,
code M121_01 in the manual (setting the Bluetooth
®
radio timeout to 5 minutes) is the following:
File M121_01.crb:
P%9f#300
The CRB system allows for combining multiple functions into a single file. For example, you can create
a test.crb file that contains commands to set the left trigger to B3 (M030_01), enable ALL RSS codes
(M267_01), disable auto-transfer of buffer memory (M069_01), and make the Reader beep three times.
Note you can also comment your CRB file with a semicolon (;) as shown below. A comment starts with
a semicolon character and lasts till the end of the line. The ;>PAx sequence has special meaning. See
Section 6.1.