2.1.3.2 BL_BootCommandProcess()
bl_result_t BL_BootCommandProcess (uint8_t * commandBuffer, uint16_t commandLength)
Executes the required action based on the block type received in the bootloader data buffer.
in | commandBuffer |
- Pointer to the start of the bootloader operational data |
in | commandLength |
- Length of the new data received by the FTP |
BL_PASS - Process cycle finished successfully BL_FAIL - Process cycle failed unexpectedly BL_ERROR_UNKNOWN_COMMAND - Process cycle encountered an unknown command BL_ERROR_VERIFICATION_FAIL - Process cycle failed to verify the application image BL_ERROR_COMMAND_PROCESSING - Process cycle failed due to a data or processing related issue BL_ERROR_ADDRESS_OUT_OF_RANGE - Process cycle failed due to an incorrect address |