Package com.metratec.lib.rfidreader.uhf
Class DwarfG2Mini
- java.lang.Object
-
- com.metratec.lib.rfidreader.ConnectableDevice
-
- com.metratec.lib.rfidreader.StandardReader
-
- com.metratec.lib.rfidreader.uhf.UHFReader
-
- com.metratec.lib.rfidreader.uhf.DwarfG2Mini
-
public class DwarfG2Mini extends UHFReader
DwarfG2 UHF SMD Module
A compact but powerful short-range UFH module for direct SMD soldering and external antenna connector- 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
-
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 DwarfG2Mini(String identifier, ICommConnection connection, UHFReader.READER_MODE mode)
Creates a new UHFReader with the specified connection and reader modeDwarfG2Mini(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, UHFReader.READER_MODE mode)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf readerDwarfG2Mini(String identifier, String ipAddress, int port, UHFReader.READER_MODE mode)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf readerDwarfG2Mini(String identifier, String usbDeviceSerialNumber, UHFReader.READER_MODE mode)
Creates a new UHFReader class for communicate with the specified metraTec usb uhf reader
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addTRS(boolean state)
not supportedList<String>
getTagTIDs()
Deprecated.-
Methods inherited from class com.metratec.lib.rfidreader.uhf.UHFReader
addEPC, checkCRC16FromDirectCommand, close, directCommand, directCommand, directCommand, disableAccessPassword, disableExecuteCommandsOnInput, disableHighOnTag, disableStartUpCommands, disconnect, enableExecuteCommandsOnInput, enableHighOnTag, enableStartUpCommands, getExecuteCommandsOnInput, getHardwareCommunicationParameter, getInventory, getInventory, getInventoryRetry, getInventorySingleSlot, getPower, getProfileParameter, getProfilParameter, getQValue, getStartUpCommands, getTagData, getTagData, getTagTIDs, killTag, loadAccessPassword, loadKillPassword, lockTag, readReflectedPower, resetRFInterface, saveAccessPassword, saveKillPassword, setAccessPassword, setCommunicationChannel, setEPCMask, setExecuteCommandsOnInput, setGlobalTimeOut, setInventoryRetry, setKillPassword, setMask, setMask, setMask, setMode, setNoMask, setPower, setProfileParameter, setQValue, setRFInterface, setSavePowerMode, setStartUpCommands, setTagData, setTagData, setTagEPC, setTagEPC
-
Methods inherited from class com.metratec.lib.rfidreader.StandardReader
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
-
DwarfG2Mini
public DwarfG2Mini(String identifier, ICommConnection connection, UHFReader.READER_MODE mode)
Creates a new UHFReader with the specified connection and reader mode- Parameters:
identifier
- reader identifierconnection
- connectionmode
- the used RFID communication standart. (READER_MODE
)
-
DwarfG2Mini
public DwarfG2Mini(String identifier, String usbDeviceSerialNumber, UHFReader.READER_MODE mode)
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
- the used RFID communication standart. (READER_MODE
)
-
DwarfG2Mini
public DwarfG2Mini(String identifier, String ipAddress, int port, UHFReader.READER_MODE mode)
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
- the used RFID communication standart. (READER_MODE
)
-
DwarfG2Mini
public DwarfG2Mini(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl, UHFReader.READER_MODE mode)
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
- the used RFID communication standart. (READER_MODE
)
-
-
Method Detail
-
addTRS
public void addTRS(boolean state) throws CommConnectionException, RFIDReaderException
not supported- Overrides:
addTRS
in classUHFReader
- Parameters:
state
- true for activate, false deactivate- Throws:
CommConnectionException
- if an communication exception occursRFIDReaderException
- if an protocol exception occurs (e.g. CRC error, value out of range, ..)
-
getTagTIDs
@Deprecated public List<String> getTagTIDs() throws CommConnectionException, RFIDReaderException
Deprecated.The DwarfG2 Mini does not support reading tag IDs without a certain length. Please use the getTagTIDs (int length) method.- Overrides:
getTagTIDs
in classUHFReader
- Returns:
- List with the TIDs
- Throws:
CommConnectionException
- if an communication exception occursRFIDReaderException
- if an protocol exception occurs (e.g. CRC error, value out of range, ..)
-
-