Skip to content

Commit

Permalink
Merge pull request #9748 from desmond-blue/fix_Cordio_ATTS_callback
Browse files Browse the repository at this point in the history
BLE:Cordio: ATTS setting for write cback should use bitwise or
  • Loading branch information
0xc0170 committed Feb 19, 2019
2 parents 723236f + 79e8bf4 commit 23c494b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -294,7 +294,7 @@ ble_error_t GattServer::insert_characteristic_value_attribute(
attribute_it->settings = ATTS_SET_READ_CBACK;
}
if (properties & WRITABLE_PROPERTIES) {
attribute_it->settings = ATTS_SET_WRITE_CBACK;
attribute_it->settings |= ATTS_SET_WRITE_CBACK;
}
if (value_attribute.getUUID().shortOrLong() == UUID::UUID_TYPE_LONG) {
attribute_it->settings |= ATTS_SET_UUID_128;
Expand Down

0 comments on commit 23c494b

Please sign in to comment.