![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
#include <brp_lib.h>Go to the source code of this file.
Typedefs | |
| typedef void(* | brp_update_progress_cb) (unsigned transferred_bytes, unsigned estimated_total, unsigned progress_percent, unsigned estimated_time_overhead, bool reconnecting) |
| Progress notification callback for reader update operations. More... | |
Functions | |
| brp_errcode | brp_get_update_blob_from_string (const char *hex_str, size_t hex_len, brp_buf *blob, size_t *blob_size, brp_mempool *mempool) |
| Parse BEC2/BF3 hex string to binary blob. More... | |
| 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. More... | |
| brp_errcode | brp_update_reader (brp_protocol dev, const char *filepath, brp_update_progress_cb progress_cb) |
| Convenience: load hex file and upload to reader. More... | |