User's Guide
© Copyright LM Technologies Ltd Page 13 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
iv. The module reports the name and BT address of the device as
soon as it finds the advertisement packet and keeps on updating
the report as devices are discovered.
v. The module stops the BLE scanning process when it finds 10 BLE
devices and displays END of report message.
vi. There is no time limit set in the firmware to end the BLE scanning
process. If the user wants to terminate the scanning process, they
should issue the “AT*LEFIND=OFF” command.
vii. If the module is displaying the scan report and user issues a
connection request to any of the devices, then the scan is
terminated and connection procedure is started.
viii. The module indicates the beginning and end of discovery response
as “REP*:BLE_SCAN_REP=START” and
“REP*:BLE_SCAN_REP=END” respectively.
ix. Below is an example report for BLE scanning:
“at*lefind=onat*lefind=on
OK
REP*:BLE_SCAN_REP=START
= 1 :1028-00-5b0002 :0
= 2 :1032-00-5b0002 :0
= 3 :3333-33-333333 :0
= 0: 3333-33-333333, LM Serial Server
= 4 :8863-df-be936c :0 :LML8
= 5 :0000-00-000000 :3
= 6 :1029-00-5b0012 :0 :CSR BP Sensor
= 7 :1030-00-5b0012 :0 :CSR HR Sensor
= 8 :1031-00-5b0012 :0 :CSR HR Sensor
at*lefind=offÑlefind=off
at*lefind=offat*lefind=off
OK”
x. If the user terminates the scanning process by issuing the
“AT*LEFIND=OFF” command, the module responds to it with an
OK/ERR message but it does not issue an end of report message.
xi. When the module finds a BLE advertising report, it does not show
the device in the report immediately, it waits for the advertising
packet in which BLE-Device-name is included.
a. If the module finds address and name same packet, it
displays both.
b. If the module finds address only it shows address and
waits for name.
c. When the module finds name of the device for which it
has reported address previously, it will show name in
report with the serial number as 0 to indicate this is not
new device but only name is appended for the device
already reported.