We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca2f980 + aa42aeb commit 7ef1dbcCopy full SHA for 7ef1dbc
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioGattServer.cpp
@@ -510,7 +510,7 @@ ble_error_t GattServer::insert_descriptor(
510
#endif // BLE_FEATURE_SECURITY
511
}
512
513
- if (properties & READ_PROPERTY && !(attribute_it->settings & ATTS_SET_CCC)) {
+ if (!(attribute_it->settings & ATTS_SET_CCC)) {
514
attribute_it->settings |= ATTS_SET_READ_CBACK;
515
516
@@ -543,7 +543,7 @@ ble_error_t GattServer::insert_descriptor(
543
544
545
546
- if (properties & WRITABLE_PROPERTIES && !(attribute_it->settings & ATTS_SET_CCC)) {
547
attribute_it->settings |= ATTS_SET_WRITE_CBACK;
548
549
0 commit comments