1.2.2.3.4.1.4.3 BLE_OTAPC_DeviceReset
C
uint16_t BLE_OTAPC_DeviceReset(uint16_t connHandle);
Description
Perform device reset request operation to Server role device after OTA DFU procedure.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection to do device reset request operation. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully starts device reset request operation. |
MBA_RES_OOM | No available memory. |
MBA_RES_INVALID_PARA | Invalid parameters. Connection handle is not valid. |
MBA_RES_BAD_STATE | OTA profile server has not allowed to perform firmware update proceudre yet. |