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

ParameterDescription
[in] successTrue if the firmware update is successful, false otherwise.

Return values

Return valueDescription
MBA_RES_SUCCESSResponse sent successful.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_BAD_STATEInappropriate OTA state to call this function.