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

ParameterDescription
[in] connHandleHandle of the connection for completing the firmware update.

Return values

Return valueDescription
MBA_RES_BAD_STATEThe OTA profile is not in the correct state to perform this operation.