Technical information

10/29/2014
Page 65 of 72
© 2014 The Code Corporation
12393 South Gateway Park Place Suite 600, Draper, UT 84020
(801) 495-2200
FAX (801) 495-0280
9 Radio Commands
The Host controls the radio by issuing ‘:’ commands. The following tables describe the available
commands. Command numbers less than 0x80 are Bluetooth commands.
The ‘#’ column is the radio command number (in hexadecimal) to be used with the ‘:’ command. For
example, “:%0E” gets the Bluetooth
®
device address.
The ‘# bytes’ column indicates how many bytes of data are required as arguments for the command.
9.1 Bluetooth Commands
Name
#
Comments
# bytes
Disconnect
00
Terminate the current connection.
0
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. Address is sent as
12 hexadecimal characters.
6
Clear Setup
08
Remove connection information associated with the specified
Bluetooth
®
Address (as 12 hexadecimal characters).
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
Set Bluetooth
PIN
14
Sets the Bluetooth PIN (up to 16 characters). For example, to set to
PIN ‘abcd’, send this command - :%14abcd. Default is ‘0000’
1-16
Get Bluetooth
PIN
15
Gets the Bluetooth PIN
0
Set Reader
Discoverable
17
Sets reader into discoverable mode for the time specified in
register 25B (default 30 sec). Only applies when reader is in
Bluetooth keyboard comm mode.
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 C, J, N, P, and ~. There should be one command per line. The CRB file may contain
empty lines and comments as well.