User's Guide

© Copyright LM Technologies Ltd Page 15 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
3.4 BLE security commands:
3.4.1 “AT*LESEC”\r\n
i. Query and Set command.
ii. LESEC stands for Low Energy Security i.e. whether to apply
whitelist security or not.
iii. Query command to query the setting is “AT*LESEC=?”\r\n.
iv. Query report is “REP*:LE_SEC=OFF”\r\n or
“REP*:LE_SEC=ON”\r\n.
v. When LESEC is ON, the module will scan advertising packets only
from whitelist added devices and connect to the devices already
added to whitelist (i.e. already BLE paired devices)
vi. When LESEC is OFF, the module will scan and connect to any BLE
discoverable and connectable device (module will discover and
connect any device even if it is not paired with module before)
Note: If the LM074 wants to add a new device in its whitelist then
while establishing the connection with the device at first time user
should use setting “AT*LESEC=OFF”. This enables the
authentication procedure to start to add a new device to the white
list.
Once the module completes the pairing procedure successfully the
BLE device is added to the white list. Then the LM074 can use the
setting “AT*LESEC=ON” for further connections with the same
device.
3.4.2 “AT*CLRWHITE”\r\n
i. Execution only command.
ii. This command is used to delete all the devices from BLE paired
devices list i.e. White list.
iii. Command format is “AT*CLRWHITE”\r\n
iv. Module responds OK and deletes all the devices from the whitelist.