This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

C library is not able to find the correct descriptor

Hi,

I'm trying to edit the C library code which communicates with the nrf52 dongle. I'm using custom gatt & the descriptor CCCD is 0x2902. Since its not able to find the correct descriptor, read & write operations fail. Please help.

Serial port used: COM18
Baud rate used: 1000000
Info: Successfully opened COM18. Baud rate: 1000000. Flow control: none. Parity: none.
Status: 6, message: Target Reset performed
RESET_PERFORMED: Target Reset performed
Status: 7, message: Connection active
CONNECTION_ACTIVE: Connection active
nRF BLE Driver successfully opened
BLE stack enabled
Scan started
Received advertisement report with device address: 0xCEA7F96FB0FD
Connection Request Succeeded
Received advertisement report with device address: 0x74F61C14801C
Connection established
Discovering primary services
Successfully added the custom gatt service.
Initiate or continue a GATT Primary Service Discovery procedure
Received service discovery response
Discovered custom gatt service. UUID: 0x1400, start handle: 0x000E, end handle: 0xFFFF
Discovering characteristics
Received characteristic discovery response, characteristics count: 1
Characteristic handle: 0x000F, UUID: 0x1401
Custom gatt characteristic found.
Discovering characteristic's descriptors  0x000F
Received descriptor discovery response, descriptor count: 1
Handle: 0x000F, UUID: 0x2803
Descriptor handle: 0x000F, UUID: 0x2803
1
Setting custom gatt CCCD
Error. No CCCD handle has been found
Setting custom gatt CCCD
Error. No CCCD handle has been found

Parents Reply Children
No Data
Related