Package com.metratec.lib.rfidreader.iso
Class DeskID_ISO
- java.lang.Object
-
- com.metratec.lib.rfidreader.ConnectableDevice
-
- com.metratec.lib.rfidreader.StandardReader
-
- com.metratec.lib.rfidreader.iso.ISOReader
-
- com.metratec.lib.rfidreader.iso.DeskID_ISO
-
public class DeskID_ISO extends ISOReader
DeskID ISO
HF Reader with USB interface for use on the desktop or other office environment. Reads transponder according to ISO 15693 Protocol as well as custom commands (e.g. KSW VarioSense).- 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 DeskID_ISO(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 readerDeskID_ISO(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
setAntennaPort(int port)
Set the antenna port.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, 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
-
DeskID_ISO
public DeskID_ISO(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
-
DeskID_ISO
public DeskID_ISO(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
-
setAntennaPort
public void setAntennaPort(int port) throws CommConnectionException, RFIDReaderException
Description copied from class:StandardReader
Set the antenna port.- Overrides:
setAntennaPort
in classStandardReader
- Parameters:
port
- antenna port for the connected multiplexer [0..15]- Throws:
CommConnectionException
- if an communication exception occursRFIDReaderException
- if an protocol exception occurs (e.g. CRC error, value out of range, ..)
-
-