Descriptor for a Type 2 Tag TLV block. More...
Data Structures | |
struct | tlv_block_t |
TLV block descriptor. More... | |
Macros | |
#define | TLV_T_LENGTH 1 |
Length of a tag field. | |
#define | TLV_L_SHORT_LENGTH 1 |
Length of a short length field. | |
#define | TLV_L_LONG_LENGTH 3 |
Length of an extended length field. | |
#define | TLV_L_FORMAT_FLAG 0xFF |
Value indicating the use of an extended length field. | |
#define | TLV_NULL_TERMINATOR_LEN 0 |
Predefined length of the NULL and TERMINATOR TLV blocks. | |
#define | TLV_LOCK_MEMORY_CTRL_LEN 3 |
Predefined length of the LOCK CONTROL and MEMORY CONTROL blocks. | |
Enumerations | |
enum | tlv_block_types_t { TLV_NULL = 0x00, TLV_LOCK_CONTROL = 0x01, TLV_MEMORY_CONTROL = 0x02, TLV_NDEF_MESSAGE = 0x03, TLV_PROPRIETARY = 0xFD, TLV_TERMINATOR = 0xFE } |
Tag field values. More... | |
Descriptor for a Type 2 Tag TLV block.
enum tlv_block_types_t |
Tag field values.
Possible values for the tag field in a TLV block.