User's Guide

© Copyright LM Technologies Ltd Page 17 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
vii. Start and end of report is mentioned.
viii. E.g. In above report, row “= 3 : 1032-00-5b0002 : 0203”
mentions module has 3rd connection with 1032-00-5b0002 device
and CID given by BLE stack is 0203.
ix. CID given in above response is referred while reading/writing data
with AT commands, reporting disconnection, notification etc. User
should note this carefully.
x. Response to this module depends on current state of the module
for BLE connections.
xi. In a scenario where module has established 3 connections as
shown above and if it drops connection 2 then the response to
command AT*BLECONN=? Will be
at*BLECONN=?at*BLECONN=?
OK
REP*:BLE_CONN
= 1 : 3333-33-333333 : 0101
= 2 : Open
= 3 : 1032-00-5b0002 : 0203
= 4 : Open
= 5 : Open
REP*:BLE_CONN END
3.5.3 “AT*LECONN”\r\n
i. Execution only command
ii. GAP Central application gives more details on connection
parameters when connection is successful and error code value if
connection fails.
iii. User need to mention the BD address of the remote device with
which the BLE connection is to be established, e.g.
“at*leconn=1031-00-5b0012”\r\n tries to establish connection
with “1031-00-5b0012” device.
iv. Response to this command will be ERR if any of the following is
true
a. string format is incorrect
b. BT address is invalid
c. 5 BLE connections are already established
v. Response to this command will be OK if all the following
conditions are true
a. Command string format is correct
b. BT address is valid
c. Module has at least one BLE connection open
vi. After displaying OK response, module starts the BLE connection
procedure.
vii. If the connection is failed the report is given with the error code e.
g. “REP*:BLE_CONN_FAIL:=1031-00-5b0012,4
err_code:0014”\r\n.
viii. Refer the Error code list mentioned in the appendix section.