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 c692433 commit a5c7f84Copy full SHA for a5c7f84
libraries/CurieBle/src/BLECharacteristic.cpp
@@ -176,7 +176,7 @@ BLECharacteristic::add(uint16_t serviceHandle)
176
if (_properties & (BLEWriteWithoutResponse | BLEWrite)) {
177
char_data.perms.wr = GAP_SEC_MODE_1 | GAP_SEC_LEVEL_1;
178
} else {
179
- char_data.perms.rd = GAP_SEC_NO_PERMISSION;
+ char_data.perms.wr = GAP_SEC_NO_PERMISSION;
180
}
181
182
char_data.init_len = _value_length;
0 commit comments