
BTM410/411
Bluetooth
®
AT Data Module
13
www.lairdtech.com
Laird Technologies
AT COMMAND SET
REFERENCE
General AT Commands
1.
AT
This command is used to check whether or not the module is available.
Response:
<cr,lf>OK<cr,lf>
2.
ATEn
{Enable/Disable Echo}
This command enables or disables the echo of characters to the screen. A valid parameter value will
be written to S Register 506.
E0 … Disable echo.
E1 … Enable echo.
All other values of n will generate an error.
Response:
<cr,lf>OK<cr,lf>
Or
Response:
<cr,lf>ERROR nn<cr,lf>
3.
ATZ<n>
{Hardware Reset and emerge into boot mode ‘n’}
Forces the device through a hardware reset which means it will eventually come alive in the local
command and unconnected mode. This allows changes to the non-volatile memory to take effect.
The module will issue an OK response after the reset is complete and it is ready to receive
commands once again.
ATZ and ATZ0 signify reset and emerge into the current boot mode (see command ATI14). ATZ1 to
ATZ4 instructs the module to reset and then emerge into the appropriate boot mode. Note that S
Register 103 specifies the boot mode from cold.
Boot modes are required to configure some low level device settings which cannot be configured by
S registers and AT commands. Currently there are predefined settings defining the PCM data format
to be used with certain codec ICs (applies mainly to BC04).
Response after reset:
<cr,lf>OK<cr,lf>
4.
AT+BTC<devclass
hex
> {Set Device Class Code Temporarily}
This command is used to set the device class code which will be sent in subsequent inquiry
responses. It can be read back using the AT+BTC? Command, as described below.
<devclass> is a 6 digit hexadecimal number derived as per “Bluetooth Assigned Numbers” [3].
The 24 bits are made of 4 fields briefly described as follows (bit 0 corresponds to the least
significant bit):
Bits 0-1:
Format Type. This field currently only has a value of 00 (i.e. format type 1)
Bits 2-7:
Minor Device Class: The value of these 6 bits is interpreted differently based on
the Major Device Class stored in the next 5 bits.
Bits 8-12:
Major Device Class: 5 bits, refer to Figure 1 and Table 3 in “Bluetooth Assigned
Numbers” [3]
Bits 13-23:
Major Service Class: 11 bit field, used as a mask to define service classes, refer to
Figure 1 and Table 2 in “Bluetooth Assigned Numbers” [3]
Summary of Contents for BTM410
Page 1: ...1 Version 3 0 ...