Metratec devices library 3.1.1.0
Classes | Functions
MetraTecDevices Namespace Reference

Classes

class  DeskID_ISO
 The DeskID ISO is a compact HF RFID Reader/Writer for RFID applications in the office or factory. Typical applications include customer management (e.g. in sports studios), the configuration of transponders in automation systems, and all other applications in which ISO15693 RFID tags need to be read with a PC or notebook computer. More...
 
class  DeskID_UHF
 The DeskID UHF is a compact and well-priced RFID reader/writer working at 868 MHz (UHF RFID, EU) or 902 – 928 MHz (FCC, USA). Its main use is to read and write data to EPC Gen 2 transponders directly from your PC or laptop. Thus, the device is a handy tool for all UHF applications for testing tags, writing an EPC, or just debugging your UHF gate. More...
 
class  DMI15
 The DMI15 is an HF RFID reader designed specifically for the requirements of the Internet of Things. Based on the ISO 15693 standard, the reader is designed to be integrated and controlled in industrial or logistic environments without much effort. The DMI15 Reader features easy installation, as the reader only needs to be connected via Power over Ethernet (PoE). An external antenna is not necessary, as it is already built into the device. More...
 
class  Dwarf15
 The Dwarf15 SMD module is a RFID module which can be integrated into your electronics. More...
 
class  HfReaderGen1
 The reader class for the ASCII based metratec reader. More...
 
class  HfTag
 Hf transponder. More...
 
class  HighOnTagSetting
 Class for the high on tag setting. More...
 
class  InputChangedEventArgs
 Input change event arguments. More...
 
class  MetratecReader
 The reader class for all Metratec reader. More...
 
class  MetratecReaderGen1
 The reader class for the ASCII based metratec reader. More...
 
class  MetratecReaderGen2
 The reader class for the ASCII based metratec reader. More...
 
class  NewInventoryEventArgs
 new inventory event arguments More...
 
class  PulsarLR
 The right tool for the hardest UHF RFID applications. With the new Impinj E710 at the heart of the reader, this product can reach a reading distance of up to 12m with a modern UHF RFID transponder and easily scan a few hundred tags per second. More...
 
class  PulsarMX
 The PulsarMX is a UHF Mid Range Reader for applications with a medium read range between 1 and 3 m and up to 150 transponders simultaneously in the field. Its main applications are in container tracking, reading data from sensor tags (e.g. temperature sensors), and on a conveyor belt. More...
 
class  QR15
 The QR15 HF RFID Module with integrated antenna is an easy to use RFID module which can be integrated into your electronics without big effort. More...
 
class  QuasarLR
 The QuasarLR is an HF long-range RFID reader/writer for demanding industrial applications, where high reading reliability, high read ranges, and extensive special tag features are needed. More...
 
class  QuasarMX
 The QuasarMX is an HF RFID reader/writer for demanding industrial applications, where high reading reliability, speed, and extensive special tag features are needed. Highlights include a reading rate of up to 100 tag IDs/sec and reading and writing data on tags without needing to address them individually. This allows applications directly at conveyor belts, in production machinery, and in electric control cabinets. More...
 
class  RfidTag
 Object presentation of the real-world Rfid tag in data space. More...
 
class  RR15
 The QR15 HF RFID Module with integrated antenna is an easy to use RFID module which can be integrated into your electronics without big effort. More...
 
class  StatusEventArgs
 Status event arguments. More...
 
class  UhfReaderGen2
 The reader class for the ASCII based metratec reader. More...
 
class  UhfTag
 Hf transponder. More...
 

Functions

void EnableRfInterface (RfInterfaceMode mode=RfInterfaceMode.SingleSubcarrier_100percentASK)
 Enable the rf interface.
 
HFTagInformation ReadTagInformation (string? tagId=null, bool optionFlag=false)
 Read the transponder information.
 
HfTag ReadBlock (int block, string tagId=null!, bool optionFlag=false)
 Read a data block of a transponder.
 
HfTag ReadMultipleBlocks (int startBlock, int blocksToRead, string tagId=null!, bool optionFlag=false)
 Read the data of a transponder.
 
HfTag WriteBlock (int block, string data, string tagId=null!, bool optionFlag=false)
 Write a block of a transponder.
 
HfTag WriteMultipleBlocks (int startBlock, string data, string tagId=null!, int blockSize=4, bool optionFlag=false)
 Write a data to a transponder.
 
HfTag WriteTagAFI (int afi, string? tagId, bool optionFlag=false)
 Write the transponder application family identifier value.
 
HfTag LockTagAFI (string? tagId, bool optionFlag=false)
 Lock the transponder application family identifier.
 
HfTag WriteTagDSFID (int dsfid, string? tagId, bool optionFlag=false)
 Write the transponder data storage format identifier.
 
HfTag LockTagDSFID (string? tagId, bool optionFlag=false)
 Lock the transponder data storage format identifier.
 
HfTag SendRequest (string command, string tagCommand, string? data=null, string? tagId=null, bool optionFlag=false)
 Send a request to the transponder.
 
List< UhfTagWriteTagUsrData (int startAddress, string data, string epcMask="")
 Write the user data of a tag.
 
List< UhfTagKillTag (String password, String epcMask="")
 Killing tags.
 
return ParseWriteResponse (resp, 7, DateTime.Now)
 
List< UhfTagLockTag (MEMBANK_GEN2 membank, String password, String epcMask="")
 Locking a tag memory.
 
return ParseWriteResponse (resp, 6, DateTime.Now)
 

Function Documentation

◆ EnableRfInterface()

void MetraTecDevices.EnableRfInterface ( RfInterfaceMode  mode = RfInterfaceMode::SingleSubcarrier_100percentASK)

Enable the rf interface.

Parameters
modethe interface mode. Defaults to SingeSubcarrier with 100% ASK modulation
Exceptions
T:System.InvalidOperationExceptionIf the reader return an error
T:System.TimeoutExceptionThrown if the reader does not responding in time
T:System.ObjectDisposedExceptionIf the reader is not connected or the connection is lost

◆ KillTag()

List< UhfTag > MetraTecDevices.KillTag ( String  password,
String  epcMask = "" 
)

Killing tags.

Parameters
passwordthe kill password
epcMaskthe epc mask to use, optional
Returns
List with processed tags. If the tag has error, the kill was not successful

◆ LockTag()

List< UhfTag > MetraTecDevices.LockTag ( MEMBANK_GEN2  membank,
String  password,
String  epcMask = "" 
)

Locking a tag memory.

Parameters
membanktag memory to lock
passwordthe kill password
epcMaskthe epc mask to use, optional
Returns
List with processed tags. If the tag has error, the kill was not successful

◆ LockTagAFI()

HfTag MetraTecDevices.LockTagAFI ( string?  tagId,
bool  optionFlag = false 
)

Lock the transponder application family identifier.

Parameters
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns

◆ LockTagDSFID()

HfTag MetraTecDevices.LockTagDSFID ( string?  tagId,
bool  optionFlag = false 
)

Lock the transponder data storage format identifier.

Parameters
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns

◆ ReadBlock()

HfTag MetraTecDevices.ReadBlock ( int  block,
string  tagId = null!,
bool  optionFlag = false 
)

Read a data block of a transponder.

Parameters
blockblock to read
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns
HfTag with the data or the error message

◆ ReadMultipleBlocks()

HfTag MetraTecDevices.ReadMultipleBlocks ( int  startBlock,
int  blocksToRead,
string  tagId = null!,
bool  optionFlag = false 
)

Read the data of a transponder.

Parameters
startBlockstart block
blocksToReadBlocks to read
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns
HfTag with the data or the error message

◆ ReadTagInformation()

HFTagInformation MetraTecDevices.ReadTagInformation ( string?  tagId = null,
bool  optionFlag = false 
)

Read the transponder information.

Parameters
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns
HfTag with the data or the error message

◆ SendRequest()

HfTag MetraTecDevices.SendRequest ( string  command,
string  tagCommand,
string?  data = null,
string?  tagId = null,
bool  optionFlag = false 
)
protected

Send a request to the transponder.

Parameters
commandThe request command "REQ" or "WRQ"
tagCommandThe tag command
dataThe additional data
tagIdThe transponder id. Defaults to null.
optionFlagThe option flag. Defaults to False.

◆ WriteBlock()

HfTag MetraTecDevices.WriteBlock ( int  block,
string  data,
string  tagId = null!,
bool  optionFlag = false 
)

Write a block of a transponder.

Parameters
blockthe block to write
datathe data to write
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns

◆ WriteMultipleBlocks()

HfTag MetraTecDevices.WriteMultipleBlocks ( int  startBlock,
string  data,
string  tagId = null!,
int  blockSize = 4,
bool  optionFlag = false 
)

Write a data to a transponder.

Parameters
startBlockthe tag start block
datathe data to write
tagIdthe optional tag id, if not set, the currently available tag is write
blockSizethe tag block size, default 4 Byte
optionFlagMeaning is defined by the tag command description
Returns

◆ WriteTagAFI()

HfTag MetraTecDevices.WriteTagAFI ( int  afi,
string?  tagId,
bool  optionFlag = false 
)

Write the transponder application family identifier value.

Parameters
afithe application family identifier to set
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns

◆ WriteTagDSFID()

HfTag MetraTecDevices.WriteTagDSFID ( int  dsfid,
string?  tagId,
bool  optionFlag = false 
)

Write the transponder data storage format identifier.

Parameters
dsfidthe data storage format identifier to set
tagIdthe optional tag id, if not set, the currently available tag is write
optionFlagMeaning is defined by the tag command description
Returns

◆ WriteTagUsrData()

List< UhfTag > MetraTecDevices.WriteTagUsrData ( int  startAddress,
string  data,
string  epcMask = "" 
)

Write the user data of a tag.

Parameters
startAddressstart address
datadata, hex string
epcMaskecp mask, optional
Returns
List with processed tags. If the tag has error, the kill was not successful