For with fix for disconnection notifications
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 38:dc4d0edf9bb9
- Parent:
- 36:bd0186ce644a
- Child:
- 39:d52a28e1fa80
diff -r c29c330d942c -r dc4d0edf9bb9 nRF51GattServer.cpp --- a/nRF51GattServer.cpp Mon Jul 07 13:43:31 2014 +0100 +++ b/nRF51GattServer.cpp Tue Jul 08 11:15:11 2014 +0100 @@ -155,6 +155,7 @@ ASSERT_INT( ERROR_NONE, sd_ble_gatts_value_set(nrfCharacteristicHandles[charHandle].value_handle, 0, &len, buffer), BLE_ERROR_PARAM_OUT_OF_RANGE ); + return BLE_ERROR_NONE; } if ((p_characteristics[charHandle]->getProperties() &