BLE_OTAPS_CompleteResponse
C
uint16_t BLE_OTAPS_CompleteResponse(bool success);
Description
Responds to the peer device after receiving a BLE_OTAPS_EVT_COMPLETE_IND event if errStatus is false.
Note
The application must verify the success or failure of the device firmware update.
Parameters
Parameter | Description |
---|---|
[in] success | True if the firmware update is successful, false otherwise. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Response sent successful. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_BAD_STATE | Inappropriate OTA state to call this function. |