User's Guide
© Copyright LM Technologies Ltd Page 45 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
iii. Pairlist report may be multiple line if module is paired with more
than one device. Paired devices report is shown in following
format
“REP*:PAIRLIST=00126f357201,
REP*:PAIRLIST=00126f357215,
REP*:PAIRLIST=END”
iv. Pairlist report can be multiple line, to indicate end of the report
“REP*:PAIRLIST=END” is displayed at end.
4.5 SPP Related commands:
4.5.1 “AT*FIND”\r\n
i. Execution only command.
ii. Used to start the discovery of Bluetooth devices nearby.
iii. Start discovery command format is “AT*FIND=ON”\r\n
iv. Stop discovery of Bluetooth devices by command
“AT*FIND=Off”\r\n.
v. Module shows discovered devices with their name and addresses.
Each device is reported as soon as it is discovered.
vi. Report for each device is sent with new line. To indicate the end
of the discovery report, “REP*:FIND=END” message is shown.
vii. If module did not get reply to nam query of remote device it will
display NULL in name string (e.g. row 3 in below report).
viii. Example report for discovery:
“at*find=onat*find=on
OK
REP*:FIND=Start..
= 1 0002-5b-00a5a5 Serial Adapter
= 2 0026-4a-a19172 LML11
= 3 442a-60-da6c58 NULL
= 4 4c49-e3-68b246 Redminote
REP*:FIND_END= 4 devices found.”
4.5.2 “AT*ROLE”\r\n
i. Query and Set command.
ii. Query command = “AT*ROLE=?”\r\n
iii. Report for SPP role query is “REP*:SPPRole=SLAVE”\r\n . Default
role is Slave mode supporting SPP incoming connections.
Sr No
SPP Role
LM951/LM074
Role set
command
LM951/LM074
Role query response
1
Dual role
( SPP Slave and
SPP master role )
At*role=dual
REP*:SPPRole=DUAL
2
SPP Slave Only
At*role=slave
REP*:SPPRole=SLAVE