BLE_OTAPS_UpdatingResponse
C
uint16_t BLE_OTAPS_UpdatingResponse(bool success);
Description
Respond peer device after receiving the BLE_OTAPS_EVT_UPDATING_REQ event. Application must update fragmented firmware image by itself.
Parameters
Parameter | Description |
---|---|
[in] success | Set true if update is successful, otherwise set false. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully send response. |
MBA_RES_OOM | Memory not available to send response. |
MBA_RES_BAD_STATE | Application should not call this API in current progress. |