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 31da50e commit 79e8bf4Copy full SHA for 79e8bf4
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioGattServer.cpp
@@ -294,7 +294,7 @@ ble_error_t GattServer::insert_characteristic_value_attribute(
294
attribute_it->settings = ATTS_SET_READ_CBACK;
295
}
296
if (properties & WRITABLE_PROPERTIES) {
297
- attribute_it->settings = ATTS_SET_WRITE_CBACK;
+ attribute_it->settings |= ATTS_SET_WRITE_CBACK;
298
299
if (value_attribute.getUUID().shortOrLong() == UUID::UUID_TYPE_LONG) {
300
attribute_it->settings |= ATTS_SET_UUID_128;
0 commit comments