# TMR_TagReadData Struct Reference

`#include <tmr_tag_data.h>`

List of all members.

## Public Attributes

TMR_TagData | tag
uint16_t | metadataFlags
uint16_t | phase
uint8_t | antenna
TMR_GpioPin | gpio [16]
uint8_t | gpioCount
uint32_t | readCount
int32_t | rssi
uint32_t | frequency
uint32_t | timestampLow
uint32_t | timestampHigh
TMR_uint8List | data
TMR_uint8List | epcMemData
TMR_uint8List | tidMemData
TMR_uint8List | userMemData
TMR_uint8List | reservedMemData
bool | isAsyncRead
TMR_Reader * | reader
TMR_GEN2_TagReadData | gen2

## Detailed Description

A class to represent a read of an RFID tag. Provides access to the TMR_TRD_METADATA_FLAG_FREQUENCY tag structure and the metadata of the read event, such as the time of the read, the antenna that read the tag, and the number of times the tag was seen by the air protocol.

## Member Data Documentation

uint8_t TMR_TagReadData::antenna

Antenna where the tag was read

TMR_uint8List TMR_TagReadData::data

Data read from the tag

TMR_uint8List TMR_TagReadData::epcMemData

Read EPC bank data bytes

uint32_t TMR_TagReadData::frequency

RF carrier frequency the tag was read with

TMR_GEN2_TagReadData TMR_TagReadData::gen2

Gen2 specific data from tag response

TMR_GpioPin TMR_TagReadData::gpio[16]

State of GPIO pins at the moment of the tag read

uint8_t TMR_TagReadData::gpioCount

the actual number of available gpio pins on module

bool TMR_TagReadData::isAsyncRead

[PRIVATE] Relative time of the read within the read interval, in microseconds (for internal use only, this value is used to calculate timestampLow and timestampHigh)

uint16_t TMR_TagReadData::metadataFlags

The set of metadata items below that are valid

uint16_t TMR_TagReadData::phase

Tag response phase

uint32_t TMR_TagReadData::readCount

Number of times the tag was read

TMR_Reader* TMR_TagReadData::reader

Reader instance, to keep track of tag reads

TMR_uint8List TMR_TagReadData::reservedMemData

Read RESERVED bank data bytes

int32_t TMR_TagReadData::rssi

Strength of the signal received from the tag

TMR_TagData TMR_TagReadData::tag

The tag that was read

TMR_uint8List TMR_TagReadData::tidMemData

Read TID bank data bytes

uint32_t TMR_TagReadData::timestampHigh

Absolute time of the read (32 most-significant bits), in milliseconds since 1/1/1970 UTC

uint32_t TMR_TagReadData::timestampLow

Absolute time of the read (32 least-significant bits), in milliseconds since 1/1/1970 UTC

TMR_uint8List TMR_TagReadData::userMemData

Read USER bank data bytes

The documentation for this struct was generated from the following file:

- tmr_tag_data.h