BLE_OTAPC_UpdateStart

C

uint16_t BLE_OTAPC_UpdateStart(uint16_t connHandle, uint8_t imgType);

Parameters

ParameterDescription
[in] connHandleHandle of the connection to do firmware update start operation.
[in] imgTypeThe image used for firmware update process. See Definition of image type.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts firmware update start operation.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.
MBA_RES_BAD_STATEOTA profile server has not allowed to perform firmware update proceudre yet.