DFU State

group group_dfu_macro_state

The state of updating.

This is a set of values that the DFU state variable can hold.

When

Cy_DFU_Continue() and Cy_DFU_Complete() return, the state parameter indicates whether the update has finished successfully or what is the unsuccessful state.

Defines

CY_DFU_STATE_NONE

Updating has not yet started, no Enter packet received.

CY_DFU_STATE_UPDATING

Updating is in process.

CY_DFU_STATE_FINISHED

Updating has finished successfully.

CY_DFU_STATE_FAILED

Updating has finished with an error.