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 define the Client Characteristic Configuration Descriptor and add it to my custom characteristic. Here is how I am doing this - class ClientCharacteristicConfigurationDescriptor(Descriptor): CCCD_UUID = '2902' def __init__(self, bus, index, characteristic): self.value = array.array('B') self.value = self.value.tolist()