For with fix for disconnection notifications
Fork of nRF51822 by
Revision 38:dc4d0edf9bb9, committed 2014-07-08
- Comitter:
- Rohit Grover
- Date:
- Tue Jul 08 11:15:11 2014 +0100
- Parent:
- 37:c29c330d942c
- Child:
- 39:d52a28e1fa80
- Commit message:
- minor improvement to nRFGattServer::updateValue() for the case where local is set to true
Changed in this revision
nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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() &