Enumerated Types

group group_dfu_enums

Enums

enum cy_en_dfu_status_t

cy_en_dfu_status_t: Used to return the statuses of most DFU SDK APIs.

Values:

enumerator CY_DFU_SUCCESS

Correct status, No error.

enumerator CY_DFU_ERROR_VERIFY

Verification failed.

enumerator CY_DFU_ERROR_LENGTH

The length of the received packet is outside of the expected range.

enumerator CY_DFU_ERROR_DATA

The data in the received packet is invalid.

enumerator CY_DFU_ERROR_CMD

The command is not recognized.

enumerator CY_DFU_ERROR_CHECKSUM

The checksum does not match the expected value.

enumerator CY_DFU_ERROR_ADDRESS

The wrong address.

enumerator CY_DFU_ERROR_TIMEOUT

The command timed out.

enumerator CY_DFU_ERROR_UNKNOWN

An unknown DFU error, this shall not happen.