NurApiTag Class

Class of tag

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public class Tag : ICloneable
Inheritance
Object    NurApiTag
Implements
ICloneable

Constructors

NurApiTagContructor
NurApiTag(NurApi) Constructor
NurApiTag(NurApiTag) Copy Constructor
NurApiTag(NurApi, NurApiTagData) Constructor
NurApiTag(NurApi, NurApiTagData) Constructor
NurApiTag(NurApi, NurApiTagDataEx) Constructor for inventory+read.
NurApiTag(NurApi, NurApiTagDataEx) Constructor for inventory+read.

Properties

epc EPC data
irData Associated inventory + read data.
IsAdded True if tag is added in TagStorage since last read of this property. Reading this property sets this value to false.
IsUpdated True if tag is updated in TagStorage since last read of this property. Reading this property sets this value to false.
PhysicalAntenna The physical antenna's name from where the last best RSSI was detected.
userData OBSOLETE! Use UserData instead. User defined variable data
Obsolete.

Methods

BlockErase(Byte, UInt32, Byte) Block erase.
BlockErase(UInt32, Byte, UInt32, Byte) Secured block erase.
BlockPermalock Do BlockPermalock with this tag.
BlockWrite(Byte, UInt32, Byte, Byte) Write tag using parameterized block write. The write is non secured and does not use a password. The tag is singulated by its EPC.
BlockWrite(UInt32, Byte, UInt32, Byte, Byte) Write tag using parameterized block write. The write is secured and uses a password. The tag is singulated by its EPC.
Clone Clone this object
Compare Compare tags
CopyTagValues Copy values from other Tag
Equals Compare tag object
(Overrides ObjectEquals(Object))
Finalize
(Inherited from Object)
Gen2v2Authenticate Perform the Gen2 version 2 authentication command in open state (recommended).
Gen2v2ReadBuffer

Gen2 version 2 ReadBuffer command with the tag being selected by its EPC contents.

This is similar to the regular read command but the read data source is the version 2 tag's internal buffer.

Gen2v2Untraceable Perform the Untraceable command.
GetAccessPassword Get Access password of tag
GetDataString Converts the associated inventory+read data into HEX string if available.
GetEpcString Get EPC as formatted hex string
GetHashCode Get hash code from EPC string
(Overrides ObjectGetHashCode)
GetKillPassword Get kill password from tag
GetType
(Inherited from Object)
Inventory Performs inventory select for this tag using 2 rounds Q=1 in session 0. Can be used to update e.g. the RSSI value of the tag.
Inventory(Int32, Int32, Int32) Start inventory for current tag. Reader is performing inventory select for tag's EPC. If not found, exception thrown.
IsNull Detect if this tag has not been initialized correctly
KillTag Kill tag
MemberwiseClone
(Inherited from Object)
OpenStateLock Set tag lock in open state i.e. without password access.
OpenStateLockRaw Set tag lock in open state i.e. without password access using raw mask and action data.
ReadPermalock Read block permalock statuses from this tag.
ReadTag Read tag's memory.
SetAccessPassword Set access password of tag.
SetKillPassword Set new kill password to tag. The tag is selected by its EPC contents.
SetLock Set memory lock for tag
ToString Converts EPC value to formatted hex string
(Overrides ObjectToString)
TraceTag Trace this tag by its EPC contents.
WriteEPC Write new EPC to tag.
WriteTag(UInt32, Boolean, Byte, UInt32, Byte) Write data to tag's memory
WriteTag(UInt32, Boolean, Byte, UInt32, Byte, Int32, Int32) Write data to tag's memory

Operators

Equality(NurApiTag, NurApiTag) Compare two tag objects.
Inequality(NurApiTag, NurApiTag) Compare two tag objects.

Fields

antennaIdZero based Antenna ID
channelIndex of the frequency channel in current hop table
FirstSeenUtc When tag is first seen in TagStorage
frequencyFrequency where tag found in khz
hApiOwner NurApi handle
LastSeenUtc When tag is last updated in TagStorage
pcTag's PC (Protocol Control) word
rssiRSSI (Received Signal Strength Indicator) value
scaledRssiScaled RSSI 0-100 %
timestampTimestamp from inventory start in milliseconds when tag was found
UpdateCount How many tag has been updated in TagStorage
UserData User defined variable data
xpc_w1XPC word 1 if stripped from EPC response.
xpc_w2XPC word 2 if stripped from EPC response.

See Also