Package com.metratec.lib.rfidreader.mf
Class DeskID_MF
- java.lang.Object
-
- com.metratec.lib.rfidreader.ConnectableDevice
-
- com.metratec.lib.rfidreader.StandardReader
-
- com.metratec.lib.rfidreader.mf.MFReader
-
- com.metratec.lib.rfidreader.mf.DeskID_MF
-
public class DeskID_MF extends MFReader
DeskID Mifare
Mifare Reader with USB interface for use on the desktop or other office environment. Reads transponders according to the Mifare Standard (Mifare Classic, Mifare Ultralight, Mifare Plus)- Author:
- mn
-
-
Field Summary
-
Fields inherited from class com.metratec.lib.rfidreader.mf.MFReader
CARD_TYPE_MIFARE_1K, CARD_TYPE_MIFARE_4K, CARD_TYPE_MIFARE_DESFIRE, CARD_TYPE_MIFARE_ULTRALIGHT
-
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_MF(String identifier, String usbDeviceSerialNumber)
Creates a new UHFReader class for communicate with the specified metraTec usb uhf readerDeskID_MF(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl)
Creates a new UHFReader class for communicate with the specified metraTec ethernet uhf reader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAntennaPort(int port)
Set the antenna port.-
Methods inherited from class com.metratec.lib.rfidreader.mf.MFReader
authenticatedSector, authenticatedSector, close, disableRF, enableRF, getInventory, getInventoryOnlyNewTags, getTagData, getTagData, getTagData, getTagData, selectCard, setKeyToUse, setTagData
-
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_MF
public DeskID_MF(String identifier, String usbDeviceSerialNumber)
Creates a new UHFReader class for communicate with the specified metraTec usb uhf reader- Parameters:
identifier
- reader identifierusbDeviceSerialNumber
- serial number of the usb uhf reader
-
DeskID_MF
public DeskID_MF(String identifier, String portName, int baudrate, int dataBit, int stopBit, int parity, int flowControl)
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 flowcontrol
-
-
Method Detail
-
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, ..)
-
-