Skip to content

Commit cde0e6b

Browse files
allow writes at an offset
1 parent 1b78b46 commit cde0e6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connectivity/FEATURE_BLE/libraries/ble-api-implementation/source/GattServerImpl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ ble_error_t GattServer::insert_characteristic_value_attribute(
329329
}
330330
if (properties & WRITABLE_PROPERTIES) {
331331
attribute_it->settings |= ATTS_SET_WRITE_CBACK;
332+
attribute_it->settings |= ATTS_SET_ALLOW_OFFSET;
332333
}
333334
if (value_attribute.getUUID().shortOrLong() == UUID::UUID_TYPE_LONG) {
334335
attribute_it->settings |= ATTS_SET_UUID_128;

0 commit comments

Comments
 (0)