mirror of https://github.com/ARMmbed/mbed-os.git
not include attribute write cback for CCC
parent
4c43bd806f
commit
15d0a9422d
|
@ -543,7 +543,7 @@ ble_error_t GattServer::insert_descriptor(
|
|||
#endif // BLE_FEATURE_SECURITY
|
||||
}
|
||||
|
||||
if (properties & WRITABLE_PROPERTIES) {
|
||||
if (properties & WRITABLE_PROPERTIES && !(attribute_it->settings & ATTS_SET_CCC)) {
|
||||
attribute_it->settings |= ATTS_SET_WRITE_CBACK;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue