The state of updating.
This is a set of values that the DFU state variable can hold.
WhenCy_DFU_Continue() and Cy_DFU_Complete() return, the state parameter indicates whether the update has finished successfully or what is the unsuccessful state.
Updating has not yet started, no Enter packet received.
Updating is in process.
Updating has finished successfully.
Updating has finished with an error.