BALTECH SDK wrapper functions reference

§ brp_update_reader_from_blob()

brp_errcode brp_update_reader_from_blob ( brp_protocol  dev,
brp_buf  blob,
size_t  blob_size,
brp_update_progress_cb  progress_cb 
)

Upload binary blob to reader with optional progress notification.

Implements the BF3/BEC2 upload protocol: Bf3UploadStart followed by iterative Bf3UploadContinue calls. Handles reconnect internally.

Parameters
devProtocol handle (must be open)
blobBinary blob data to upload
blob_sizeSize of blob in bytes
progress_cbProgress callback (may be NULL)
Returns
BRP_OK on success (including already-up-to-date), BRP_ERR_INVALID_API_CALL if blob is too small for reader request