C API for BALTECH SDK

§ brp_Sys_CfgLoadFinish()

brp_errcode brp_Sys_CfgLoadFinish ( brp_protocol  protocol,
brp_Sys_CfgLoadFinish_FinalizeAction  FinalizeAction 
)

This command has to be called after transferring a BEC file with brp_Sys_CfgLoadBlock().

Depending on how you set the parameter FinalizeAction , this command will do one of the following:

  • Complete the transfer; this requires all Sys.CfgLoadBlock calls to have succeeded.
  • Cancel the transfer and undo all configuration changes since brp_Sys_CfgLoadPrepare().

All Sys.CfgLoad commands only work with the legacy file format BEC. For the currentdefault format BEC2 , please use brp_Main_Bf3UploadStart() and brp_Main_Bf3UploadContinue() as explained in thisoverview .

Parameters
[in]protocolused to execute the command
[in]FinalizeActionDefines the reader's behaviour on error/success