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 d4a07e0 + 0143229 commit 7a5831aCopy full SHA for 7a5831a
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioGattServer.cpp
@@ -467,7 +467,7 @@ ble_error_t GattServer::insert_descriptor(
467
}
468
469
// configure write permission
470
- if (descriptor->isReadAllowed()) {
+ if (descriptor->isWriteAllowed()) {
471
attribute_it->permissions |= ATTS_PERMIT_WRITE;
472
switch (descriptor->getWriteSecurityRequirement().value()) {
473
case att_security_requirement_t::NONE:
0 commit comments