MW_DFU_FwImageStart
C
uint16_t MW_DFU_FwImageStart(void);
Description
Starts or restarts the firmware image update procedure.
Note
Calling this API resets the state machine and parameters of the DFU module.
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Firmware image update procedure started or restarted successfully. |
MBA_RES_INVALID_PARA | The API cannot be executed in the current state of the DFU process. |
MBA_RES_FAIL | External flash access failed. |