ARMmbed / ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
Other
46 stars 51 forks source link

GattServer::write return an error even when there is no error #119

Closed pan- closed 8 years ago

pan- commented 8 years ago

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.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-2286

pan- commented 8 years ago

Fixed by PR #120 .