BLE_OTAPC_UpdateRequest

C

uint16_t BLE_OTAPC_UpdateRequest(uint16_t connHandle, BLE_OTAPC_Req_T * p_req);

Description

Initiates a firmware update request operation.

Parameters

ParameterDescription
[in] connHandleThe connection handle for which to perform the firmware update request operation.
[in] p_reqPointer to the request parameters to send to the server. See BLE_OTAPC_Req_T.

Return values

Return valueDescription
MBA_RES_SUCCESSThe start of the firmware update request operation was successful.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAThe provided connection handle is not valid.
MBA_RES_BAD_STATEThe OTA profile is not in the correct state to perform this operation.