User's Guide

© Copyright LM Technologies Ltd Page 20 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
3.6 BLE Services/characteristic scan commands:
3.6.1 “AT*FINDSERV”\r\n
i. Execution only command
ii. Command is used to scan services supported on connected BLE
device.
iii. User needs to state connection ID for the device whose services
are to be scanned. E. g. “at*findserv=1” finds services on 1st
connected device.
iv. Module provides a detailed report for the services supported by
the remote device.
v. If the BLE device has any service with 128-bit UUID then it is
indicated with all bytes.
vi. IN below report the row mentions “ 1 : 1800 : 0001 : 0005 ”
where “1” is serial number, “1800” is 16bit UUID for service,
“0001” is start handle of the service and “0005” is end handle of
the service.
vii. Report is marked for start and end.
viii. For e.g refer below report.
at*findserv=1at*findserv=1
OK
REP*:SERVICE START: =3333-33-333333
= 1 : 1800 : 0001 : 0005
= 2 : 180a : 0006 : 0016
= 3 : 00005500d10211e19b2300025b00a5a5 : 0017 : 001a
= 4 : 180f : 001b : ffff
REP*:SERVICE END: =3333-33-333333
3.6.2 “AT*FINDCHAR”\r\n
i. Execution only command
ii. Command used to scan characteristics supported by services on
the BLE device.
iii. User needs to mention connection ID for the device whose
services are to be scanned. And start and end handle of the
services for which scan is to be performed.
iv. User can scan characteristics for only one service or multiple
services or for all services in single command.
at*findserv=1at*findserv=1
OK
REP*:SERVICE START: =3333-33-333333
= 1 : 1800 : 0001 : 0005
= 2 : 180a : 0006 : 0016
= 3 : 00005500d10211e19b2300025b00a5a5 : 0017 : 001a
= 4 : 180f : 001b : ffff
REP*:SERVICE END: =3333-33-333333