User's Guide

© Copyright LM Technologies Ltd Page 21 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
v. Considering the above report for services, below are the possible
commands.
a. Scan characteristics of single service i.e. 1800 service,
handles are 0001 and 0005. Command should be
“AT*findchar=1,0001,0005”
b. Scan characteristics for first two services i.e. 1800 and 180a.
User shall issue command as “at*findchar=0001,0016”.
c. Scan characteristics of all services in single command, user
shall issue command “at*findchar=1,0001,ffff”.
vi. Report is marked for start and end.
vii. The example report below shows a characteristic scan command
report.
at*findchar=1,0001,001bat*findchar=1,0001,001b
OK
REP*:CHAR start
=1: 2a00 : 0003 : 02 : 0002 [ Rd ]
=2: 2a01 : 0005 : 02 : 0004 [ Rd ]
=3: 2a25 : 0008 : 02 : 0007 [ Rd ]
=4: 2a24 : 000a : 02 : 0009 [ Rd ]
=5: 2a23 : 000c : 02 : 000b [ Rd ]
=6: 2a27 : 000e : 02 : 000d [ Rd ]
=7: 2a26 : 0010 : 02 : 000f [ Rd ]
=8: 2a28 : 0012 : 02 : 0011 [ Rd ]
=9: 2a29 : 0014 : 02 : 0013 [ Rd ]
=10: 2a50 : 0016 : 02 : 0015 [ Rd ]
=11: 00005501 : 0019 : 14 : 0018 [ Wr_cmd CCFG ]
REP*:CHAR END
viii. For report above, the row “=1: 2a00 : 0003 : 02 : 0002 [ Rd ]”
indicates “1” as serial number, “2a00” as 16 bit characteristic
UUID, “0003” is characteristic handle, “02” is properties value and
“0002” is declaration value for that characteristic.
ix. For details on Characteristic value and Declaration values refer
appendix A.
x. “=11: 00005501 : 0019 : 14 : 0018 [ Wr_cmd CCFG ]” row
indicates the characteristic has 128 bit UUID, but here only lower
32 bits are displayed. “0019” is characteristic handle. “14” is
properties value, this characteristic has two properties as WR-cmd
and CCFG. “0018” is declaration value for that characteristic.
xi. User needs to use characteristic-Handle to read or write data on
that characteristic.