2.2.4.3 bl_result_t

enum bl_result_t

Enumeration of bootloader API return codes.

This enumeration defines the various return codes used by the bootloader APIs. Each code represents a specific status or error condition that can be returned by the bootloader functions.

BL_PASS

(0b10000001) (dec 129) Operation completed successfully

BL_BUSY

(0b00111100) (dec 60) Bootloader is busy processing another request

BL_FAIL

(0b11000011) (dec 195) Operation failed

BL_ERROR_COMMUNICATION_FAIL

(0b00011000) (dec 24) Communication failure occurred

BL_ERROR_FRAME_VALIDATION_FAIL

(0b11111111) (dec 255) Frame validation failed

BL_ERROR_BUFFER_OVERLOAD

(0b10111101) (dec 190) Buffer overload detected

BL_ERROR_INVALID_ARGUMENTS

(0b11100111) (dec 231) Invalid arguments provided

BL_ERROR_UNKNOWN_COMMAND

(0b01000010) (dec 66) Unknown command received

BL_ERROR_ADDRESS_OUT_OF_RANGE

(0b00100100) (dec 36) Address out of range

BL_ERROR_COMMAND_PROCESSING

(0b01111110) (dec 126) Error occurred during command processing

BL_ERROR_VERIFICATION_FAIL

(0b11011011) (dec 219) Verification failed

BL_ERROR_BUFFER_UNDERLOAD

(0b10101010) (dec 170) Buffer underload detected

BL_ERROR_ROLLBACK_FAILURE

(0b11110000) (dec 240) Version validation failure