Type 2 Tag TLV blocks

nRF5 SDK v14.0.0

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.

Detailed Description

Descriptor for a Type 2 Tag TLV block.

Enumeration Type Documentation

Tag field values.

Possible values for the tag field in a TLV block.

Enumerator
TLV_NULL

Might be used for padding of memory areas.

TLV_LOCK_CONTROL

Defines details of the lock bits.

TLV_MEMORY_CONTROL

Identifies reserved memory areas.

TLV_NDEF_MESSAGE

Contains an NDEF message.

TLV_PROPRIETARY

Tag proprietary information.

TLV_TERMINATOR

Last TLV block in the data area.