nRF5 SDK v13.0.0
Data Structures | Macros | Enumerations
Type 2 Tag TLV blocks

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...
 

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.


Documentation feedback | Developer Zone | Subscribe | Updated