Skip to content

Commit ee720f3

Browse files
committed
BLE: Comment security requirement elevation for signed writes.
1 parent 2c7ed99 commit ee720f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/FEATURE_BLE/ble/GattCharacteristic.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,8 @@ class GattCharacteristic {
14141414
_valueAttribute.allowWrite(isWritable(_properties));
14151415
_valueAttribute.allowRead(isReadable(_properties));
14161416

1417+
// signed writes requires at least an unauthenticated CSRK or an
1418+
// unauthenticated ltk if the link is encrypted.
14171419
if (_properties & BLE_GATT_CHAR_PROPERTIES_AUTHENTICATED_SIGNED_WRITES) {
14181420
_valueAttribute.setWriteSecurityRequirement(
14191421
SecurityRequirement_t::UNAUTHENTICATED

0 commit comments

Comments
 (0)