1.2.2.3.4.2.4.5 BLE_OTAPS_CompleteResponse
C
uint16_t BLE_OTAPS_CompleteResponse(bool success);
Description
Respond peer device after receiving the BLE_OTAPS_EVT_COMPLETE_IND event if errStatus is false. Application must check if the device firmware update is successful or fail.
Parameters
Parameter | Description |
---|---|
[in] success | Set true if device firmware 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. |