1.1.2.3.4.1.4.10 BLE_OTAPC_UpdateRequest

C

uint16_t BLE_OTAPC_UpdateRequest(uint16_t connHandle, BLE_OTAPC_Req_T * p_req);

Description

Perform firmware update request operation.

BLE_OTAPC_EVT_REQ_RSP_IND will be generated if the procedure is complete.

Parameters

ParameterDescription
[in] connHandleHandle of the connection to do firmware update request operation.
[in] p_reqThe request parameters send to server.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts firmware update request operation.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.
MBA_RES_BAD_STATEOTA profile is not ready to perform this operation.