Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_get_info_fw_bank()

lt_ret_t lt_get_info_fw_bank ( lt_handle_t h,
const lt_bank_id_t  bank_id,
uint8_t *  header,
const uint16_t  header_max_size,
uint16_t *  header_read_size 
)
Note
Reported git hashes will not match for certain old firmware versions, see documentation for details.
Parameters
hHandle for communication with TROPIC01
bank_idID of firmware bank (one from enum lt_bank_id_t)
headerBuffer to store fw header bytes into
header_max_sizeSize of the header buffer
header_read_sizeNumber of bytes read into the header buffer
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value