BLE_OTAPC_UpdateComplete
C
uint16_t BLE_OTAPC_UpdateComplete(uint16_t connHandle);
Description
Initiates the firmware update completion process.BLE_OTAPC_EVT_COMPLETE_RSP_IND event will be generated upon completion.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection for completing the firmware update. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Firmware update request completion process start successfully. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | The provided connection handle is not valid. |
MBA_RES_BAD_STATE | The OTA profile is not in the correct state to perform this operation. |