User's Manual
Class 1 Bluetooth v2.0 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/bluetooth
18
CONN-GUIDE-BT730_v0.9
Table 6-1: Matrix of mode states
RF Unconnected
RF Connected
Local Command Mode
OK
OK
Remote Command Mode
ILLEGAL
OK
Data Mode
ILLEGAL
OK
The following combinations do not make sense and are ignored:
Data and RF Unconnected Mode
Remote Command and RF Unconnected Mode
Navigation between these states occurs using the AT commands which are described in detail in
subsequent sections.
6.2 Assumptions
The CSR (Cambridge Silicon Radio) BC04 chipset in Laird devices is memory resource limited. Therefore
it is not proposed that there be full implementation of the AT protocol as seen in modems. The claim
made for this device is that it has a protocol similar to an AT modem. In fact, the protocol is so similar that
existing source code written for modems can be used with very little modification with a Laird device.
The following assumptions are made:
All commands are terminated by the carriage return character 0x0D, which is represented by the
string <cr> in descriptions below this cannot be changed.
All responses from the Laird device have carriage return and linefeed characters preceding and
appending the response. These dual character sequences have the values 0x0D and 0x0A
respectively and shall be represented by the string <cr,lf>.
All Bluetooth addresses are represented by a fixed 12 digit hexadecimal string, case insensitive.
All Bluetooth Device Class codes are represented by a fixed six digit hexadecimal string, case
insensitive.
All new Bluetooth specific commands are identified by the string +BTx, where x is generally a
mnemonic of the intended functionality.
6.3 Commands
This section describes all available AT commands. Many commands require mandatory parameters and
some take optional parameters. These parameters are integer values, strings, Bluetooth addresses, or
device classes. The following convention is used when describing the various AT commands.
<bd_addr>
A 12 character Bluetooth address consisting of ASCII characters ‘0’ to ‘9’, ‘A’ to ‘F’ and ‘a’ to ‘f’.
<devclass>
A 6 character Bluetooth device class consisting of ASCII characters ‘0’ to ‘9’, ‘A’ to ‘F’ and ‘a’ to ‘f’.
n
A positive integer value.
m
An integer value (positive or negative) which can be entered as a decimal value or in hexadecimal if
preceded by the ‘$’ character. E.g. the value 1234 can also be entered as $4D2
<string>
A string delimited by double quotes. E.g. "Hello World". The " character MUST be supplied as
delimiters.
<uuid>
A 4 character UUID number consisting of ASCII characters ‘0’ to ‘9’, ‘A’ to ‘F’ and ‘a’ to ‘f’.