Closed pan- closed 8 years ago
The function nRF5xGattServer::write return an error even if the write operation succeed.
nRF5xGattServer::write
The result value is not updated as seen here: https://github.com/ARMmbed/ble-nrf51822/blob/master/source/nRF5xGattServer.cpp#L272-L278. The function will always return BLE_ERROR_INVALID_STATE.
BLE_ERROR_INVALID_STATE
ARM Internal Ref: IOTSFW-2286
Fixed by PR #120 .
The function
nRF5xGattServer::write
return an error even if the write operation succeed.The result value is not updated as seen here: https://github.com/ARMmbed/ble-nrf51822/blob/master/source/nRF5xGattServer.cpp#L272-L278. The function will always return
BLE_ERROR_INVALID_STATE
.