AT Command Manual
v1.5
©2013 LM Technologies Ltd
www.lm-technologies.com
Page 14 of 26
2.8.17
AT+NAME
This command is used to specify a name for the adaptor. You can specify a friendly name using 0 to
9, A to Z, a to z, space and –, which are all valid characters. Note that “first space or -, last space or –
isn’t permitted”. The default name is “Serial Adapter”. The current device name can be retrieved by
sending this command in query format.
2.8.17.1
AT+NAME=XXXX<cr>
Where the parameter ”XXXX” is a character string with a maximal length of 16 bytes.
2.8.17.1.1
Response
<command_response>
2.8.17.2
AT+NAME?<cr>
2.8.17.2.1
Response
<cr,lf><NAME><command_response> if the command is successful. Here, <NAME> is
the device name . E.g. on default setup, the response will be <cr,lf>Serial
Adapter<command_response>
2.8.18
AT+PIN
This command is used to specify a fixed PIN code for a secured bluetooth connection. The default
PIN is "1234". Paired Bluetooth devices should have a same PIN code. The current pin code setting
can be retrieved by sending this command in query format.
In firmware v6.1x series running on LM780/LM400/LM072 modules, the fixed pin code will only be
used for connection with remote Bluetooth 2.0 complaint device. Automatic pairing (also known as
Just Works) takes place on connection with remote Bluetooth 2.1 complaint device. Extra commands
related to Bluetooth 2.1 security and use of dynamic pin codes have been added in v6.17 firmware
running on LM780/LM400/LM072 modules. Refer to section 2.8.27, 2.8.28, 2.8.29, 2.8.30, 2.8.31 for
details.
2.8.18.1
AT+PIN=XXXX<cr>
Where the parameter ”XXXX” is a 4-8 digit string.
2.8.18.1.1
Response
<command_response>
2.8.18.2
AT+PIN-<cr>
This command will cancel the pin code security for Bluetooth connections. The remote
Bluetooth device must also cancel pin code security in order to connect successfully with
local Bluetooth device. Some devices e.g. Mobile phone do not allow connection without pin
code security so disabling pin code security will prohibit successful connection with these
devices.
In firmware v6.1x series running on LM780/LM400/LM072 modules, disabling pin code use
will have no effect during connection with remote Bluetooth 2.1 complaint device. Refer to
section 2.8.17AT+PIN and section for details. In firmware v6.17, this command will also erase
all pairing information related to previous connected devices.
2.8.18.2.1
Response
<command_response>