beautypg.com

Tags, Tagreaddata, Tagdata – ThingMagic Mercury API v1.23.0 User Manual

Page 30: Tagreaddata tagdata, The result of a read operation is a collection of, Objects, which provides, And then returns an array of, Readcount metadata field to be incremented, a new, Instance will not be, Method is called with a

background image

Tags

30

Level 1 API

Tags

TagReadData

An object of the

TagReadData class contains the metadata (see the

Hardware Specific

Guides

for details on available tag read metadata for each product) about the tag read as

well as the

TagData

object representing the particular tag.

TagReadData (or arrays of) objects are the primary results of

Read Methods

, one for

each tag found.

The actual EPC ID for a Tag can be found by calling the

getTag() method which returns

a

TagData

object.

See the methods available for getting

TagData and metadata (including, RSSI,

Frequency, Phase, etc. - see Hardware specific user guide for available metadata) from

TagReadData in the language specific API Reference.

TagData

An object of the

TagData class contains information that represents a particular tag. The

methods and constructors of

TagData allow access to and creation of TagData (tag’s

EPC IDs) using byte and hexidecimal string formats.

TagData objects are used to represent the information on a tag which has been read
(contained in the

TagReadData

object) and for representing data to be written to tag(s) in

the field using

Gen2.WriteTag

. In addition, the

TagData class implements the

TagFilter

Interface

so

TagData objects may be used as such to perform operations, which use

TagFilters, on a tag with a particular EPC.

Subclasses of

TagData, such as Gen2.TagData, may contain additional information

specific to a particular protocol.

See the methods available for getting

TagData and metadata from TagReadData in the

language specific API Reference.