C API for BALTECH SDK

§ brp_Main_IsFirmwareUpToDate()

brp_errcode brp_Main_IsFirmwareUpToDate ( brp_protocol  protocol,
brp_buf  VersionDesc,
size_t  VersionDesc_len 
)

This command checks if the following part of the firmware is already up to date. It must be called exactly in the order it occurs in the BF2 file: If the firmware is split in 2 parts and this command is in between them, it has to be called after transferring the first part and before loading the second part. Otherwise it is not guaranteed that it works correctly.

Parameters
[in]protocolused to execute the command
[in]VersionDescA pattern that describes the firmware version of the following firmware part. Should not be interpreted by user software!
[in]VersionDesc_len