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 2860365 commit 2c7ed99Copy full SHA for 2c7ed99
features/FEATURE_BLE/ble/GattCharacteristic.h
@@ -1412,7 +1412,7 @@ class GattCharacteristic {
1412
writeAuthorizationCallback(),
1413
_update_security(SecurityRequirement_t::NONE) {
1414
_valueAttribute.allowWrite(isWritable(_properties));
1415
- _valueAttribute.allowWrite(isReadable(_properties));
+ _valueAttribute.allowRead(isReadable(_properties));
1416
1417
if (_properties & BLE_GATT_CHAR_PROPERTIES_AUTHENTICATED_SIGNED_WRITES) {
1418
_valueAttribute.setWriteSecurityRequirement(
0 commit comments