User's Guide
© Copyright LM Technologies Ltd Page 14 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
xii. If the LM074 has setting “AT*LESEC=OFF”, LM074 reports BLE
devices even if not present in its Whitelist. If setting is
“AT*LESEC=ON”, LM074 will only report advertising devices which
are in its whitelist.
xiii. In the discovery report, after the BD-address there is an indication
for “advertising Indication type” ranging from 0 to 5 as mentioned
below.
a. ble_adv_event_connectable_undirected = 0 =
Connectable Undirected Advert.
b. ble_adv_event_connectable_directed = 1 =
Connectable Directed Advert.
c. ble_adv_event_discoverable = 2 = Discoverable
advert.
d. ble_adv_event_non_connectable = 3 = Non-
connectable.
e. ble_adv_event_scan_response = 4 = Scan Response.
f. ble_adv_event_unknown = 5 = Unknown event type.
xiv. The LM074 SPP with GAP central application also supports SPP
connection. The module may establish a SPP connection while
performing LE discovery. When the module connects with the SPP
device, it enters in SPP-Data mode and shows data from the
remote device on UART. It treats data sent on local UART as data
to be sent to remote device. To access UART for commands and
responses, the user needs to use the escape sequence and then
continue with other AT commands.
xv. Refer to the screenshots below.
at*lefind=onat*lefind=on
OK
REP*:BLE_SCAN_REP=START
= 1 :1032-00-5b0002 :0
= 2 :1028-00-5b0002 :0
= 3 :3333-33-333333 :0
= 0: 3333-33-333333, LM Serial Server
= 4 :8863-df-be936c :0 :LML8
IND*:CONNECTED=0012-6f-0819c2
+++OK
= 7 :2053-ca-20126e :0
= 8 :2053-ca-20126f :0
at*lefind=offat*lefind=off
OK
xvi. Data during the SPP connection and receive of escape command is
lost in this report (data is lost as UART is given to SPP
connection).