nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ NFC_T4T_CC_DESC_DEF

#define NFC_T4T_CC_DESC_DEF ( _name,
_max_blocks )

#include <include/nfc/t4t/cc_file.h>

Value:
static struct nfc_t4t_tlv_block _name##_tlv_block_array[_max_blocks]; \
static struct nfc_t4t_cc_file _name##_type_4_tag = { \
.max_tlv_blocks = _max_blocks, \
.tlv_block_array = _name##_tlv_block_array, \
.tlv_count = 0 \
}
Descriptor for the Capability Container (CC) file of Type 4 Tag.
Definition cc_file.h:26
File Control TLV block descriptor.
Definition tlv_block.h:87

Macro for creating and initializing a Type 4 Tag Capability Container descriptor.

This macro creates and initializes a static instance of a CC file parser structure and an array of File Control TLV block parser for Type 4 Tag. descriptors.

Use the macro NFC_T4T_CC_DESC to access the Type 4 Tag descriptor instance.

Parameters
[in]_nameName of the created descriptor instance.
[in]_max_blocksMaximum number of File Control TLV block parser for Type 4 Tag. descriptors that can be stored in the array.