BLE_OTAPS_UpdatingResponse

C

uint16_t BLE_OTAPS_UpdatingResponse(bool success);

Description

Responds to the peer device after receiving a BLE_OTAPS_EVT_UPDATING_REQ event.

Note

The application must handle the update of the fragmented firmware image.

Parameters

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

Return values

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