|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Decoded block. INF points into the buffer supplied to t1_block_decode. More...
#include <t1_block.h>
Public Attributes | |
| uint8_t | nad |
| uint8_t | pcb |
| t1_block_kind_t | kind |
| uint8_t | i_ns |
| bool | i_more |
| uint8_t | r_nr |
| t1_r_error_t | r_err |
| t1_s_subtype_t | s_subtype |
| const uint8_t * | inf |
| uint8_t | inf_len |
| bool | edc_ok |
| bool | use_crc |
Decoded block. INF points into the buffer supplied to t1_block_decode.
Definition at line 69 of file t1_block.h.
| bool t1_block_t::edc_ok |
Definition at line 85 of file t1_block.h.
Referenced by handle_iblock(), handle_rblock(), handle_sblock(), and t1_block_decode().
| bool t1_block_t::i_more |
More-data flag (chaining bit).
Definition at line 75 of file t1_block.h.
Referenced by handle_iblock(), and t1_block_decode().
| uint8_t t1_block_t::i_ns |
N(S) sequence number, 0 or 1.
Definition at line 74 of file t1_block.h.
Referenced by handle_iblock(), and t1_block_decode().
| const uint8_t* t1_block_t::inf |
Definition at line 82 of file t1_block.h.
Referenced by handle_iblock(), handle_sblock(), and t1_block_decode().
| uint8_t t1_block_t::inf_len |
Definition at line 83 of file t1_block.h.
Referenced by handle_iblock(), handle_sblock(), and t1_block_decode().
| t1_block_kind_t t1_block_t::kind |
Definition at line 72 of file t1_block.h.
Referenced by t1_block_decode(), and t1_state_feed().
| uint8_t t1_block_t::nad |
Definition at line 70 of file t1_block.h.
Referenced by t1_block_decode().
| uint8_t t1_block_t::pcb |
Definition at line 71 of file t1_block.h.
Referenced by t1_block_decode().
| t1_r_error_t t1_block_t::r_err |
| uint8_t t1_block_t::r_nr |
N(R) expected sequence number, 0 or 1.
Definition at line 77 of file t1_block.h.
Referenced by handle_rblock(), and t1_block_decode().
| t1_s_subtype_t t1_block_t::s_subtype |
Definition at line 80 of file t1_block.h.
Referenced by handle_sblock(), and t1_block_decode().
| bool t1_block_t::use_crc |
true if 2-byte CRC was expected; false for LRC.
Definition at line 86 of file t1_block.h.
Referenced by t1_block_decode().