Package com.metratec.lib.rfidreader.iso
Class QuasarMX
- java.lang.Object
-
- com.metratec.lib.rfidreader.ConnectableDevice
-
- com.metratec.lib.rfidreader.StandardReader
-
- com.metratec.lib.rfidreader.iso.ISOReader
-
- com.metratec.lib.rfidreader.iso.QuasarMX
-
public class QuasarMX extends ISOReader
QuasarMX Industrial HF Reader/Writer
An industrial short range RFID reader for 13.56 MHz with PLC compatible inputs/outputs and a fast read/write rate- Author:
- mn
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.metratec.lib.rfidreader.iso.ISOReader
ISOReader.MODE, ISOReader.SRI
-
-
Field Summary
-
Fields inherited from class com.metratec.lib.rfidreader.StandardReader
RESPONSE_ERROR_CER, RESPONSE_ERROR_LENGHT, RESPONSE_ERROR_NSS, RESPONSE_ERROR_TCE, RESPONSE_ERROR_TOE, RESPONSE_ERROR_TOR, RESPONSE_OK
-
Fields inherited from class com.metratec.lib.rfidreader.ConnectableDevice
STATE_CONFIGURING, STATE_CONNECTING, STATE_RUNNING, STATE_STOPPED, STATE_WAITING_FOR_RECONNECT
-
-
Constructor Summary
Constructors Constructor Description QuasarMX(String identifier, ICommConnection connection, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader with the specified connection and reader modeQuasarMX(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf readerQuasarMX(String identifier, String ipAddress, int port, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf readerQuasarMX(String identifier, String usbDeviceSerialNumber, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec usb uhf reader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setPower(int value)
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).-
Methods inherited from class com.metratec.lib.rfidreader.iso.ISOReader
close, getInventory, getInventorySingleSlot, getInventoryUnique, getInventoryUniqueSingleSlot, getMODE, getSRI, getTagData, getTagData, getTagData, getTagSystemInformation, getUseAFI, lockTagAFI, lockTagDSFID, setMode, setSRI, setTagAFI, setTagData, setTagData, setTagData, setTagData, setTagDSFID, setTagQuiet, setUseAFI
-
Methods inherited from class com.metratec.lib.rfidreader.StandardReader
disconnect, getCRCState, getEndOfFrameState, getFirmwareRevision, getHardwareRevision, getInput, getInputDebounceTime, getReaderType, getRevision, getSerialNumber, ping, reset, setAntennaPort, setEventListener, setInputDebounceTime, setOutput, standby, switchAntennas, wakeUp
-
Methods inherited from class com.metratec.lib.rfidreader.ConnectableDevice
connect, connect, getIdentifier, getReceiveTimeout, isConnected, setIdentifier, setMaxReconnectWaitTime, setMinReconnectWaitTime, setReceiveTimeout, start, start, stop
-
-
-
-
Constructor Detail
-
QuasarMX
public QuasarMX(String identifier, ICommConnection connection, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader with the specified connection and reader mode- Parameters:
identifier
- reader identifierconnection
- connectionmode
- modesri
- sri
-
QuasarMX
public QuasarMX(String identifier, String usbDeviceSerialNumber, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec usb uhf reader- Parameters:
identifier
- reader identifierusbDeviceSerialNumber
- serial number of the usb uhf readermode
- modesri
- sri
-
QuasarMX
public QuasarMX(String identifier, String ipAddress, int port, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf reader- Parameters:
identifier
- reader identifieripAddress
- ip address of the ethernet uhf readerport
- port of the ethernet uhf readermode
- modesri
- sri
-
QuasarMX
public QuasarMX(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, ISOReader.MODE mode, ISOReader.SRI sri)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf reader- Parameters:
identifier
- reader identifierportName
- port on which the rs232 uhf reader is connectedbaudrate
- baudrate of the rs232 uhf readerdataBit
- rs232 databitsstopBit
- rs232 stopbitparity
- rs232 parityflowControl
- rs232 flowcontrolmode
- modesri
- sri
-
-
Method Detail
-
setPower
public void setPower(int value) throws CommConnectionException, RFIDReaderException
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).- Overrides:
setPower
in classISOReader
- Parameters:
value
- power in mW - 100(mW) or 200(mW)- Throws:
CommConnectionException
- if an communication exception occursRFIDReaderException
- if an reader exception occurs
-
-