| 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 | ||
| ) |
| h | Handle for communication with TROPIC01 |
| bank_id | ID of firmware bank (one from enum lt_bank_id_t) |
| header | Buffer to store fw header bytes into |
| header_max_size | Size of the header buffer |
| header_read_size | Number of bytes read into the header buffer |
| LT_OK | Function executed successfully |
| other | Function did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value |