BLE_OTAPC_DeviceReset

C

uint16_t BLE_OTAPC_DeviceReset(uint16_t connHandle);

Description

Perform device reset request to Server role device after OTA DFU procedure.

Parameters

ParameterDescription
[in] connHandleHandle of the connection to do device reset request operation.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts device reset request 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.