Struct NDEFRecordHeader

Struct Documentation

struct NDEFRecordHeader

NDEF Record Header.

Public Functions

uint8_t asByte()

Creates a byte representation of the NDEFRecordHeader object passed.

Return

byte representation of NDEFRecordHeader

bool constexpr operator==(const NDEFRecordHeader &rhs) const

Public Members

NDEFRecordType::TypeID tnf

Type Name Format - identifies type of content the record contains.

bool il

ID Length Flag - Indicates whether ID Length Field is present.

bool sr

Short Record Flag - Indicates if PAYLOAD LENGTH field is 1 byte (0-255) or less.

bool cf

Chunk Flag - Indicates if this the first record chunk or in the middle.

bool me

Message End Flag - Indicates if this is the last record in the message.

bool mb

Message Begin - Indicates if this is the start of an NDEF message.

Public Static Functions

NDEFRecordHeader from_byte(const uint8_t value)

Create a new NDEFRecordHeader object from an byte of data.

Return

NDEFRecordHeader object

Parameters