Clone of the nRF51822 repository from github The correct home is https://github.com/lancaster-university/nRF51822
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/custom/custom_helper.cpp
- Revision:
- 85:17fe69405098
- Parent:
- 84:658e5ec772a1
- Child:
- 97:e95e35845e1c
diff -r 658e5ec772a1 -r 17fe69405098 btle/custom/custom_helper.cpp --- a/btle/custom/custom_helper.cpp Fri Dec 12 14:15:16 2014 +0000 +++ b/btle/custom/custom_helper.cpp Fri Dec 12 17:12:35 2014 +0000 @@ -226,7 +226,7 @@ BLE_GAP_CONN_SEC_MODE_SET_OPEN(&attr_md.read_perm); } - if (char_props.write) { + if (char_props.write || char_props.write_wo_resp) { BLE_GAP_CONN_SEC_MODE_SET_OPEN(&attr_md.write_perm); }