2.2.3.6 OperationalBlockExecute()

static bl_result_t OperationalBlockExecute (void )[static]

Processes and executes the FTP command data received by the host.

This function processes the FTP receive buffer and calls the required operational layer or performs the steps needed to execute the FTP command. The Get Client Info Command data payload used in this function is defined by the MDFU Protocol.

Parameters:
None
Returns:

BL_PASS - FTP process cycle finished successfully

BL_ERROR_UNKNOWN_COMMAND - FTP process failed due to an unknown command code or unknown file data block type

BL_ERROR_VERIFICATION_FAIL - FTP process failed due to a data verification failed. Could be returned when an image failure occurs or when a meta-data validation fails

BL_ERROR_ADDRESS_OUT_OF_RANGE - FTP process failed due to an address error

BL_ERROR_COMMAND_PROCESSING - FTP process failed due to a general memory process error