libtropic
C library for TROPIC01 chip

◆ lt_get_info_fw_bank()

lt_ret_t lt_get_info_fw_bank ( lt_handle_t h,
const bank_id_t  bank_id,
uint8_t *  header,
const uint16_t  max_len 
)
Parameters
hDevice's handle
bank_idID of firmware bank (one from enum bank_id_t)
headerBuffer to store fw header bytes into
max_lenLength of a 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