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.
1 parent fa65546 commit 070a412Copy full SHA for 070a412
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioGattServer.cpp
@@ -488,6 +488,10 @@ ble_error_t GattServer::insert_descriptor(
488
#endif // BLE_FEATURE_SECURE_CONNECTIONS
489
#endif // BLE_FEATURE_SECURITY
490
}
491
+
492
+ if (properties & READ_PROPERTY) {
493
+ attribute_it->settings |= ATTS_SET_READ_CBACK;
494
+ }
495
496
497
// configure write permission
@@ -517,6 +521,10 @@ ble_error_t GattServer::insert_descriptor(
517
521
518
522
519
523
524
525
+ if (properties & WRITABLE_PROPERTIES) {
526
+ attribute_it->settings |= ATTS_SET_WRITE_CBACK;
527
520
528
529
530
attribute_it++;
0 commit comments