BTM410/411
Bluetooth
®
AT Data Module
14
www.lairdtech.com
Laird Technologies
AT COMMAND SET
REFERENCE
AT COMMAND SET
REFERENCE
Laird Technologies devices do not map to any predefined Major Service Class or Major Device Class
and so the default devclass as shipped is 001F00, which means no Major Service Class and
“Unclassified” Major Device class.
Other examples of device class codes are displayed in Table 3-7:
Table 3-7: Device class codes
Code (Hexadecimal)
Name
Major Service Major Device
Minor Device
0x001F00
Unclassified
None
Unclassified
n/a
0x200404
Headset
Audio
Audio
Headset
There is a tool available in the internet for creating a particular device class code: refer to [4]. A
device class set by AT+BTC becomes visible immediately but will be lost on next power cycle.
Response:
<cr,lf>OK<cr,lf>
Or for an invalid <devclass> value (usually a value which is not 6 hexadecimal characters
long):
Response:
<cr,lf>ERROR 08<cr,lf>
5.
ATS515=<devclass
hex
> {Set Device Class Code Permanently}
S Register 515 is used to set the device class code permanently. Use AT&W to save the setting to
non-volatile memory. The new value will become visible on next power cycle which can be initiated
by ATZ. Refer to number 4 for more information about the device class code.
Response:
<cr,lf>OK<cr,lf>
6.
AT+BTC?
{Read Device Class Code}
This command is used to read the current device class code.
Response:
<cr,lf>123456
<cr,lf>OK<cr,lf>
7.
AT+BTF=”<string>”
{Set Friendly Name Temporarily}
This sets the friendly name of this device as seen by other devices. The new name becomes
immediately visible. Any name set by this command will be lost on next power cycle.
Please refer to S register 593 (
Response:
<cr,lf>OK<cr,lf>
8.
AT+BTN=”<string>”
{Set Friendly Name Permanently}
This sets the default friendly name of this device as seen by other devices. It will be stored in
non-volatile memory. The new name will become visible to other devices on next power cycle. Use
AT+BTF to make the name visible immediately. Use AT+BTN? To read it back. An empty string (“”)
will delete the string from non-volatile memory which will force the default name to be used which
is “Laird BTM 789012”.
The digits in the default friendly name represent the last 6 digits of the local Bluetooth address.
Please refer to S register 593 (
Table 4-1) too. If a new value of S593 needs to be retained
permanently, save it to non-volatile memory by “AT&W”.
Response:
<cr,lf>OK<cr,lf>
Summary of Contents for BTM410
Page 1: ...1 Version 3 0 ...