add BLE2902
This commit is contained in:
parent
90410c60b8
commit
98cdddfb16
|
|
@ -202,6 +202,9 @@ bool BleMidiInterface::begin(const char* deviceName)
|
|||
BLECharacteristic::PROPERTY_NOTIFY |
|
||||
BLECharacteristic::PROPERTY_WRITE_NR
|
||||
);
|
||||
// Add CCCD 0x2902 to allow notify
|
||||
_characteristic->addDescriptor(new BLE2902());
|
||||
|
||||
_characteristic->setCallbacks(new MyCharacteristicCallbacks(this));
|
||||
// Start the service
|
||||
service->start();
|
||||
|
|
|
|||
Loading…
Reference in New Issue