User's Guide
© Copyright LM Technologies Ltd Page 47 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
4.5.4 “AT*BOND”\r\n
i. Query and set command.
ii. Set command: “AT*BOND=00126f357215”\r\n. Device will
establish connection only with remote device having BD address
as 00126f357215.
iii. Set command: “AT*BOND=000000000000”\r\n. Device will
establish connection with any device.
iv.
v. This setting is applicable for Master-only, slave-only role. When
Bond Address setting holds a valid Bluetooth address then
LM068/LM074/LM074 will establish connection only with that
device.
vi. LM068/LM074/LM074 can be paired with maximum 8 devices and
stores the device addresses in its permanent memory (this is
called as TDL-Trusted_Devices_List or PDL-Paired_Devices_List)
whereas it can be bonded to only one device at a time whose
address is mentioned in BOND command setting.
vii. Bond device address query command: “AT*BOND=?”\r\n.
viii. Default settings is: “REP*:BOND=0000-00-000000”.
ix. Setting for default bond device address is Zero i.e. device is not
bonded to any remote device and can accept or issue connection
request to any remote device.
x. Command to set ACON as ON is “AT*ACON=ON”\r\n.
xi. When the module is in Master only role and ACON setting is ON,
module performs the discovery of nearby devices and tries to
connect with the first found device for SPP connection.
4.5.5 “AT*CONN”\r\n
i. Execution only command.
ii. Supported in SPP Master-only and Dual mode.
iii. If module is MASTER role and ACON setting is ON, the module will
always respond to this command as “ERR” as it only issues a
connection request to BOND device, or it performs discovery on its
own and attempts to connect to first device found.
iv. User can start to initiate outgoing SPP connection.
v. Outgoing connection command: “AT*conn=00126f357215”\r\n
vi. “OK” response will be provided if the string entered has valid BT
address, module is not connected to any device.
vii. “Err” response will be provided if invalid BT address, invalid length
of address is provided or if the module is already in connected
state.
viii. After module gives OK response to at+conn command, it starts
the connection procedure. Result of connection procedure is
indicated as indication message.