Skip to content Skip to sidebar Skip to footer

How To Write A Client Characteristic Configuration Descriptor In Bluez

I am working with the example-gatt-server.py script that comes with bluez on my linux board. I want to add notification to one of my custom characteristics. For that I need to defi

Solution 1:

Bluez handles the Client Characteristic Configuration Descriptor (CCCD). You should not need to define it yourself in your code. Notification support should transparently be handled by Bluez if you have defined the flag 'notify' for the corresponding characteristic.

As you noticed example-gatt-server defines Characteristic User Description (CUD) and not CCCD.

Post a Comment for "How To Write A Client Characteristic Configuration Descriptor In Bluez"