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
Returns
LT_OK if success, otherwise returns other error code.