User's Guide

Table Of Contents
Operational Examples
EZ-Serial BLE Firmware Platform User Guide, Doc. No. 002-11259 Rev. *E 58
Direction Content Effect
RX
@E,0029,DR,C=04,H=0004,R=0005,T=2803,P=02,
U=012A
Char 0x2A01, decl handle=4, value handle=5, perm=0x02
RX
@E,0029,DR,C=04,H=0006,R=0007,T=2803,P=02,
U=042A
Char 0x2A04, decl handle=6, value handle=7, perm=0x02
RX
@E,0029,DR,C=04,H=0009,R=000A,T=2803,P=22,
U=052A
Char 0x2A05, decl handle=9, value handle=10, perm=0x22
RX
@E,0045,DR,C=04,H=000D,R=000E,T=2803,P=28,
U=01A10C2000089A9EE21115A133333365
Char 0x6533…A101, decl handle=13, value handle=14,
perm=0x28
RX
@E,0045,DR,C=04,H=0010,R=0011,T=2803,P=14,
U=02A10C2000089A9EE21115A133333365
Char 0x6533…A102, decl handle=16, value handle=17,
perm=0x14
RX
@E,0045,DR,C=04,H=0013,R=0014,T=2803,P=20,
U=03A10C2000089A9EE21115A133333365
Char 0x6533…A103, decl handle=19, value handle=20,
perm=0x20
RX
@E,0045,DR,C=04,H=0017,R=0018,T=2803,P=28,
U=01A20C2000089A9EE21115A133333365
Char 0x6533…A201, decl handle=23, value handle=24,
perm=0x28
RX
@E,0045,DR,C=04,H=001A,R=001B,T=2803,P=28,
U=02A20C2000089A9EE21115A133333365
Char 0x6533…A202, decl handle=26, value handle=27,
perm=0x28
RX
@E,0010,RPC,C=04,R=060A
Remote procedure complete, 0x060A = no attributes found in
last search request
3.7.1.3 Discovering Remote GATT Descriptors
Use the gattc_discover_descriptors (/DRD, ID=6/3) API command to obtain a list of descriptors in the remote GATT
database on a connected peer device.
Example 1: Remote GATT descriptor discovery on an EZ-Serial peer device with factory default configuration
Direction Content Effect
TX
/DRD
Request to discover all remote descriptors
RX
@R,000A,/DRD,0000
Response indicates success
RX
@E,0024,DR,H=0001,R=0000,T=2800,P=00,
U=0028
UUID 0x2800 (Primary Service), start=1
RX
@E,0024,DR,H=0002,R=0000,T=2803,P=00,
U=0328
UUID 0x2803 (Characteristic), decl=2
RX
@E,0024,DR,H=0003,R=0000,T=0000,P=00,
U=002A
UUID 0x2A00 (Device Name), handle=3
Additional records omitted for brevity
RX
@E,0029,DR,C=04,H=0016,R=0000,T=2800,P=00,
U=0028
UUID 0x2800 (Primary Service), start=22
RX
@E,0029,DR,C=04,H=0017,R=0000,T=2803,P=00,
U=0328
UUID 0x2803 (Characteristic), decl=23
RX
@E,0045,DR,C=04,H=0018,R=0000,T=0000,P=00,
U=01A20C2000089A9EE21115A133333365
UUID 0x6533…A201 (CYCommand Challenge), handle=24
RX
@E,0029,DR,C=04,H=0019,R=0000,T=2902,P=00,
U=0229
UUID 0x2902 (CCCD), handle=25
RX
@E,0029,DR,C=04,H=001A,R=0000,T=2803,P=00,
U=0328
UUID 0x2803 (Characteristic), decl=26
RX
@E,0045,DR,C=04,H=001B,R=0000,T=0000,P=00,
U=02A20C2000089A9EE21115A133333365
UUID 0x6533…A202 (CYCommand Data), handle=27
RX
@E,0029,DR,C=04,H=001C,R=0000,T=2902,P=00,
U=0229
UUID 0x2902 (CCCD), handle=28
RX
@E,0010,RPC,C=04,R=060A
Long remote procedure complete, 0x060A = no attributes
found in last search request