Package com.metratec.lib.rfidreader.uhf
Class DeskID_UHF
- java.lang.Object
-
- com.metratec.lib.rfidreader.MetratecReader<T>
-
- com.metratec.lib.rfidreader.MetratecReaderGen1<UhfTag>
-
- com.metratec.lib.rfidreader.uhf.UHFReader
-
- com.metratec.lib.rfidreader.uhf.DeskID_UHF
-
public class DeskID_UHF extends UHFReader
DeskID UHF
The DeskID UHF is a small and economical RFID reader and writer for the use with 868 MHz (UHF RFID, EU frequency). It allows reading and writing EPC Class 1 Gen 2 tags directly with your PC or notebook computer. This makes it an indispensable tool in UHF applications in which tags have to be tested, written to or initialized easily. The low profile design housing looks great on any desktop and is connected to the PC via USB. As it is also USB powered, setup is especially easy. Reading range depends on tag type and is typically in the range of 10 to 30 cm. Reading several tags at once (anti collision mode) is also possible.- Author:
- mn
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.metratec.lib.rfidreader.uhf.UHFReader
UHFReader.MEMBANK, UHFReader.PROFILE_PARAMETER, UHFReader.READER_MODE
-
-
Field Summary
-
Fields inherited from class com.metratec.lib.rfidreader.uhf.UHFReader
RESPONSE_ERROR_FLE, RESPONSE_ERROR_HBE
-
Fields inherited from class com.metratec.lib.rfidreader.MetratecReader
STATE_CONFIGURING, STATE_CONNECTING, STATE_RUNNING, STATE_STOPPED, STATE_WAITING_FOR_RECONNECT
-
-
Constructor Summary
Constructors Constructor Description DeskID_UHF(java.lang.String identifier, ICommConnection connection)
Creates a new DeskID_UHF with the specified connectionDeskID_UHF(java.lang.String identifier, ICommConnection connection, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF with the specified connection and reader modeDeskID_UHF(java.lang.String identifier, java.lang.String usbDeviceSerialNumber)
Creates a new DeskID_UHF class for communicate with the specified metraTec usb DeskID_UHFDeskID_UHF(java.lang.String identifier, java.lang.String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl)
Creates a new DeskID_UHF class for communicate with the specified metraTec serial DeskID_UHFDeskID_UHF(java.lang.String identifier, java.lang.String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF class for communicate with the specified metraTec serial DeskID_UHFDeskID_UHF(java.lang.String identifier, java.lang.String usbDeviceSerialNumber, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF class for communicate with the specified metraTec usb DeskID_UHF
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAntennaPort(int port)
Set the antenna port.void
setMultiplexAntennas(int numberOfAntennas)
In case you want to automatically switch between multiple antennas (e.g.-
Methods inherited from class com.metratec.lib.rfidreader.uhf.UHFReader
addEPC, addTRS, checkCRC16FromDirectCommand, close, directCommand, directCommand, directCommand, disableAccessPassword, disableExecuteCommandsOnInput, disableHighOnTag, disableStartUpCommands, enableAdditionalTRS, enableExecuteCommandsOnInput, enableHighOnTag, enableStartUpCommands, getAntennaPort, getExecuteCommandsOnInput, getHardwareCommunicationParameter, getInventory, getInventory, getInventoryRetry, getInventorySingleSlot, getPower, getProfileParameter, getProfilParameter, getQValue, getStartUpCommands, getTagData, getTagData, getTagTIDs, getTagTIDs, killTag, loadAccessPassword, loadKillPassword, lockTag, readReflectedPower, resetMask, resetRFInterface, saveAccessPassword, saveKillPassword, scanInventory, scanInventory, scanTagData, setAccessPassword, setCommunicationChannel, setEPCMask, setExecuteCommandsOnInput, setGlobalTimeOut, setInventoryRetry, setKillPassword, setMask, setMask, setMask, setMode, setNoMask, setPower, setProfileParameter, setQValue, setRFInterface, setSavePowerMode, setStartUpCommands, setTagData, setTagData, setTagEPC, setTagEPC, stopInventory
-
Methods inherited from class com.metratec.lib.rfidreader.MetratecReaderGen1
getCRCState, getEndOfFrameState, getFirmwareRevision, getHardwareRevision, getInput, getReaderType, getRevision, getSerialNumber, ping, reset, scanInventory, setOutput, standby, startInventory, stop, wakeUp
-
Methods inherited from class com.metratec.lib.rfidreader.MetratecReader
connect, connect, disconnect, getIdentifier, getInputDebounceTime, getReceiveTimeout, isConnected, setIdentifier, setInputDebounceTime, setMaxReconnectWaitTime, setMinReconnectWaitTime, setReaderEventListener, setReceiveTimeout, setTagEventListener, start, start, startAndWait, startAndWait, startInventory
-
-
-
-
Constructor Detail
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, ICommConnection connection)
Creates a new DeskID_UHF with the specified connection- Parameters:
identifier
- reader identifierconnection
- the communication interface (instance ofICommConnection
)
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, ICommConnection connection, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF with the specified connection and reader mode- Parameters:
identifier
- reader identifierconnection
- the communication interface (instance ofICommConnection
)mode
- the used RFID communication standart. (READER_MODE
)
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, java.lang.String usbDeviceSerialNumber)
Creates a new DeskID_UHF class for communicate with the specified metraTec usb DeskID_UHF- Parameters:
identifier
- reader identifierusbDeviceSerialNumber
- serial number of the usb reader
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, java.lang.String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl)
Creates a new DeskID_UHF class for communicate with the specified metraTec serial DeskID_UHF- Parameters:
identifier
- reader identifierportName
- port on which the rs232 reader is connectedbaudrate
- baudrate of the rs232 readerdataBit
- rs232 databitsstopBit
- rs232 stopbitparity
- rs232 parityflowControl
- rs232 flowcontrol
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, java.lang.String usbDeviceSerialNumber, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF class for communicate with the specified metraTec usb DeskID_UHF- Parameters:
identifier
- reader identifierusbDeviceSerialNumber
- serial number of the usb readermode
- the used RFID communication standart. (READER_MODE
)
-
DeskID_UHF
public DeskID_UHF(java.lang.String identifier, java.lang.String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, UHFReader.READER_MODE mode)
Creates a new DeskID_UHF class for communicate with the specified metraTec serial DeskID_UHF- Parameters:
identifier
- reader identifierportName
- port on which the rs232 reader is connectedbaudrate
- baudrate of the rs232 readerdataBit
- rs232 databitsstopBit
- rs232 stopbitparity
- rs232 parityflowControl
- rs232 flowcontrolmode
- the used RFID communication standart. (READER_MODE
)
-
-
Method Detail
-
setMultiplexAntennas
public void setMultiplexAntennas(int numberOfAntennas) throws CommConnectionException, RFIDReaderException
Description copied from class:UHFReader
In case you want to automatically switch between multiple antennas (e.g. trying to find all tags in a search area that can only be searched using multiple antennas) you can use this automatic switching mode.
Switching always starts with the lowest antenna port (0). Switching to the next antenna port oc- curs automatically with the start of every tag manipulation command. No pin state is changed until the first tag manipulation command.- Overrides:
setMultiplexAntennas
in classUHFReader
- Parameters:
numberOfAntennas
- number of antennas [1,16], 0 for disable; Please note that for this parameter the number given is the counted number of participating antennas, not the antenna port numbers, thus stating a number "X" would stand for "X antennas participating".- Throws:
CommConnectionException
- if an communication exception occursRFIDReaderException
- if an protocol exception occurs (e.g. CRC error, value out of range, ..)
-
setAntennaPort
public void setAntennaPort(int port) throws CommConnectionException, RFIDReaderException
Description copied from class:MetratecReader
Set the antenna port.- Overrides:
setAntennaPort
in classUHFReader
- 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, ..)
-
-