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

ParameterDescription
[in] successSet true if device firmware update is successful, otherwise set false.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully send response.
MBA_RES_OOMMemory not available to send response.