Uses of Class
com.metratec.lib.connection.CommConnectionException
-
-
Uses of CommConnectionException in com.metratec.lib.connection
Methods in com.metratec.lib.connection that throw CommConnectionException Modifier and Type Method Description void
AbstractTcpConnection. connect()
void
FileConnection. connect()
This method opens a connection.abstract void
ICommConnection. connect()
This method opens a connection.void
MpsLegacyTunnelConnection. connect()
void
MpsTunnelConnection. connect()
void
PrinterConnection. connect()
void
Rs232Connection. connect()
void
UsbConnection. connect()
int
AbstractTcpConnection. dataAvailable()
int
FileConnection. dataAvailable()
abstract int
ICommConnection. dataAvailable()
int
MpsTunnelConnection. dataAvailable()
int
PrinterConnection. dataAvailable()
int
Rs232Connection. dataAvailable()
int
UsbConnection. dataAvailable()
void
AbstractTcpConnection. disconnect()
void
FileConnection. disconnect()
abstract void
ICommConnection. disconnect()
Closes the communication interfacevoid
MpsLegacyTunnelConnection. disconnect()
void
MpsTunnelConnection. disconnect()
void
PrinterConnection. disconnect()
void
Rs232Connection. disconnect()
void
UsbConnection. disconnect()
static String[]
Rs232Connection. getSerialPorts()
get the available Serial Portsstatic ArrayList<jd2xx.JD2XX.DeviceInfo>
UsbConnection. getUSBDevices()
static LinkedList<String>
UsbConnection. getUSBDevicesList()
boolean
AbstractTcpConnection. isAlive(int time)
Test if the Ethernet Device is reachable.static boolean
AbstractTcpConnection. isAlive(String ipAdress, int time)
Test if a Ethernet Device is reachable.StringBuilder
ICommConnection. receive(int... terminators)
Receives data from the connected device until one of the terminator signs is found.StringBuilder
MpsTunnelConnection. receive(int... terminators)
StringBuilder
PrinterConnection. receive(int... terminators)
StringBuilder
Rs232Connection. receive(int... terminators)
StringBuilder
SslTcpConnection. receive(int... terminators)
StringBuilder
TcpConnection. receive(int... terminators)
StringBuilder
UsbConnection. receive(int... terminators)
int
AbstractTcpConnection. recv()
int
FileConnection. recv()
abstract int
ICommConnection. recv()
Receives a single byte.void
ICommConnection. recv(byte[] b)
Receive bytes until buffer is filled or timeout occurrs.void
ICommConnection. recv(byte[] b, int off, int len)
Receives until buffer is filled or timeout occurrs.String
ICommConnection. recv(int... terminators)
Receives data from the connected device until one of the terminator signs is found.int
MpsTunnelConnection. recv()
void
MpsTunnelConnection. recv(byte[] b, int off, int len)
int
PrinterConnection. recv()
Receives one character from the device.void
PrinterConnection. recv(byte[] b, int off, int len)
int
Rs232Connection. recv()
void
Rs232Connection. recv(byte[] b, int off, int len)
void
SslTcpConnection. recv(byte[] b, int off, int len)
void
TcpConnection. recv(byte[] b, int off, int len)
int
UsbConnection. recv()
void
UsbConnection. recv(byte[] b, int off, int len)
void
AbstractTcpConnection. send(byte[] senddata)
void
FileConnection. send(byte[] senddata)
abstract void
ICommConnection. send(byte[] senddata)
Sends data to the connected devicevoid
ICommConnection. send(String senddata)
Sends data to the connected devicevoid
MpsLegacyTunnelConnection. send(byte[] senddata)
void
MpsTunnelConnection. send(byte[] senddata)
void
PrinterConnection. send(byte[] senddata)
Sends data to the connected device.void
Rs232Connection. send(byte[] senddata)
void
TcpConnection. send(String senddata)
void
UsbConnection. send(byte[] senddata)
void
AbstractTcpConnection. setRecvTimeout(int timeout)
abstract void
ICommConnection. setRecvTimeout(int timeout)
set the receive timeout for read data, if the timeout expires an CommConnectionException is raised with errorcode RECV_TIMEOUT, the connection is still validvoid
MpsTunnelConnection. setRecvTimeout(int timeout)
void
PrinterConnection. setRecvTimeout(int timeout)
void
Rs232Connection. setRecvTimeout(int timeout)
void
UsbConnection. setRecvTimeout(int timeout)
void
UsbConnection. setSendTimeout(int timeout)
Set the send timeoutConstructors in com.metratec.lib.connection that throw CommConnectionException Constructor Description AbstractTcpConnection(Socket socket)
AbstractTcpConnection(Socket socket, boolean isServerConnection)
SslTcpConnection(SSLSocket socket)
SslTcpConnection(SSLSocket socket, boolean isServerConnection)
TcpConnection(Socket socket)
TcpConnection(Socket socket, boolean isServerConnection)
-
Uses of CommConnectionException in com.metratec.lib.connection.server
Methods in com.metratec.lib.connection.server that throw CommConnectionException Modifier and Type Method Description void
AbstractSocketServer. start(int serverPort, int backlog, InetAddress bindAddr, ClientConnectionListener listener)
Start the waiting for new client to connectvoid
AbstractSocketServer. start(int serverPort, ClientConnectionListener listener)
Start the waiting for new client to connect -
Uses of CommConnectionException in com.metratec.lib.rfidreader
Methods in com.metratec.lib.rfidreader that throw CommConnectionException Modifier and Type Method Description void
ConnectableDevice. connect()
start the reader but also wait until the reader is connected and initializedvoid
ConnectableDevice. connect(long timeout)
connect the reader and wait until the reader is connectedvoid
ConnectableDevice. disconnect()
close the connectionvoid
StandardReader. disconnect()
String
StandardReader. getFirmwareRevision()
get the Firmware RevisionString
StandardReader. getHardwareRevision()
Gets the hardware revisionboolean
StandardReader. getInput(int pin)
Reads the current state of an input pinabstract List<String>
StandardReader. getInventory()
Looks for all tags in range of the reader and get all tags as a number of strings backReaderType
StandardReader. getReaderType()
Parse the Firmware Name and return theReaderType
String
StandardReader. getRevision()
Gets the firmware revisionString
StandardReader. getSerialNumber()
Gets the serial numbervoid
StandardReader. ping()
test if the reader is alivevoid
StandardReader. reset()
Reset the readervoid
StandardReader. setAntennaPort(int port)
Set the antenna port.void
StandardReader. setOutput(int pin, boolean state)
Sets the state of an output pinvoid
StandardReader. standby()
Sets the reader in a power saving modevoid
ConnectableDevice. stop()
stop the readervoid
StandardReader. switchAntennas(int numberOfAntennas)
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).void
StandardReader. wakeUp()
Ends the power saving mode -
Uses of CommConnectionException in com.metratec.lib.rfidreader.iso
Methods in com.metratec.lib.rfidreader.iso that throw CommConnectionException Modifier and Type Method Description void
ISOReader. close()
Deprecated.List<String>
ISOReader. getInventory()
looks for all tags in range of the reader and get the Tag IDs of all tags as a number of strings backList<String>
ISOReader. getInventorySingleSlot()
looks for all tags in range of the reader (used single slot) and get the Tag IDs of all tags as a number of strings backList<String>
ISOReader. getInventoryUnique()
looks for all new tags in range of the reader and get the Tag IDs of all tags as a number of strings backList<String>
ISOReader. getInventoryUniqueSingleSlot()
looks for all new tags in range of the reader (used single slot) and get the Tag IDs of all tags as a number of strings backQuasarLRNoiseMeasure
QuasarLR. getNoiseMeasure()
QuasarLRStatus
QuasarLR. getStatus()
String
ISOReader. getTagData(int blockNumber)
get the data which is stored in the block numberString
ISOReader. getTagData(int firstBlock, int numberOfFollowingBlocks, String tagID)
gets the data which is stored in the tag, get the data from firstblock and the following blocks.String
ISOReader. getTagData(int blockNumber, String tagID)
get the data from the Tag with tagID which is stored in the block numberHFTagInformation
ISOReader. getTagSystemInformation(String tagID)
Gets the tag system informationvoid
ISOReader. lockTagAFI(String tagID)
Locks the AFI value of the specified tagvoid
ISOReader. lockTagDSFID(String tagID)
Locks the DSFID (data storage format identifier) of the specified tagvoid
DeskID_ISO. setAntennaPort(int port)
void
QuasarLR. setAntennaPort(int port)
void
ISOReader. setMode(ISOReader.MODE mode)
Sets the reader modevoid
DeskID_ISO. setPower(int value)
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).void
Dwarf15. setPower(int value)
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).void
ISOReader. setPower(int value)
The reader allows different output power levels to match antenna size, tag size or tag po- sition.void
QR15. setPower(int value)
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).void
QuasarLR. setPower(int value)
The QuasarLR allows different output power levels to match antenna size, tag size or tag po- sition.void
QuasarMX. setPower(int value)
The second generation ISO 15693 devices with hardware revision >= 02.00 allow setting power values of 100 or 200 (mW).void
ISOReader. setSRI(ISOReader.SRI sri)
Set RF Interfacevoid
ISOReader. setTagAFI(String tagID, int afi)
Sets the AFI value of the specified tagvoid
ISOReader. setTagData(int blockNumber, String data)
Writes Data to the tagvoid
ISOReader. setTagData(int blockNumber, String data, boolean optionFlag)
Writes Data to the tagvoid
ISOReader. setTagData(int blockNumber, String data, String tagID)
Writes Data to the specified Tagvoid
ISOReader. setTagData(int blockNumber, String data, String tagID, boolean optionFlag)
Writes Data to the specified Tagvoid
ISOReader. setTagDSFID(String tagID, int dsfid)
Sets the DSFID (data storage format identifier) value of the specified tagvoid
ISOReader. setTagQuiet(String tagID)
Sends stay quiet command to the tag. -
Uses of CommConnectionException in com.metratec.lib.rfidreader.mf
Methods in com.metratec.lib.rfidreader.mf that throw CommConnectionException Modifier and Type Method Description void
MFReader. authenticatedSector(int sector)
authenticate a Mifare sectorvoid
MFReader. authenticatedSector(int sector, String key, String type)
authenticate a MiFare sectorvoid
MFReader. close()
Deprecated.void
MFReader. disableRF()
Disbale the RF Fieldvoid
MFReader. enableRF()
Enable the RF FieldList<String>
MFReader. getInventory()
returns all UIDs from ISO/IEC 14443-1 to 3 compatible transponders, which are in the read range of the reader.List<String>
MFReader. getInventoryOnlyNewTags()
returns all UIDs from ISO/IEC 14443-1 to 3 compatible transponders, which are new in the read range of the reader.String
MFReader. getTagData(int blockNumber)
Reads data from a tagString
MFReader. getTagData(int firstBlock, int numberOfFollowingBlocks)
Reads data from the given tagString
MFReader. getTagData(int firstBlock, int numberOfFollowingBlocks, String TagID)
Reads data from the given tag and authenticated automaticallyString
MFReader. getTagData(int blockNumber, String TagID)
Reads data from the given tag and authenticated automaticallyint
MFReader. selectCard(String cardUID)
select a specific transpondervoid
DeskID_MF. setAntennaPort(int port)
void
MFReader. setKeyToUse(String type, String key)
set the key to use for authenticationvoid
MFReader. setTagData(int blocknumber, String data, String TagID)
Write Data to the Tag -
Uses of CommConnectionException in com.metratec.lib.rfidreader.uhf
Methods in com.metratec.lib.rfidreader.uhf that throw CommConnectionException Modifier and Type Method Description void
UHFReader. addEPC(boolean state)
By setting this parameter the user activates the EPC-ADD mode.void
DwarfG2Mini. addTRS(boolean state)
not supportedvoid
UHFReader. addTRS(boolean state)
Sometimes you want to know the received signal strength when communicating with a transponder.void
UHFReader. close()
Deprecated.List<String>
UHFReader. directCommand(String data, boolean isSingleSlot, boolean withHandle, boolean withCRC)
The direct command is used to access tags with optional or manufacturer specific commands.List<String>
UHFReader. directCommand(String data, int bitLenghtData, boolean isSingleSlot, boolean withHandle, boolean withCRC)
The direct command is used to access tags with optional or manufacturer specific commands.List<String>
UHFReader. directCommand(String data1, int bitLenghtData1, String data2, int bitLenghtData2, boolean isSingleSlot, boolean withHandle, boolean withCRC)
The direct command is used to access tags with optional or manufacturer specific commands.void
UHFReader. disableAccessPassword()
Disable the access passwordvoid
UHFReader. disableExecuteCommandsOnInput(int pin)
Disable the execute commands on input pinvoid
UHFReader. disableHighOnTag()
Disable the high pin on tag modevoid
UHFReader. disableStartUpCommands()
Disable the start up commandsvoid
UHFReader. disconnect()
void
UHFReader. enableExecuteCommandsOnInput(int pin)
Enable the execute commands on input pinvoid
UHFReader. enableHighOnTag(int highTimeMS, int lowTimeMS)
This method is only usable on DwarfG2, DwarfG2_XR and PulsarMX (a DeskID has no IOs).void
UHFReader. enableStartUpCommands()
Enable the start up commandsString[]
UHFReader. getExecuteCommandsOnInput(int pin)
Get the configured commands on inputObject
UHFReader. getHardwareCommunicationParameter(UHFReader.PROFILE_PARAMETER parameter)
Deprecated.List<String>
UHFReader. getInventory()
Looks for all tags in range of the reader and get the EPCs of all tags as a number of strings backList<String>
UHFReader. getInventory(boolean singSlot, boolean onlyNewTag, boolean secure)
Looks for all tags in range of the reader and sends their EPCs as as hex-coded numbers one EPC per line back to the host.int
UHFReader. getInventoryRetry()
Gets the number of retries in tag searching algorithm.List<String>
UHFReader. getInventorySingleSlot()
Looks for all tags in range of the reader with single slot and get the EPCs of all tags as a number of strings backint
UHFReader. getPower()
UHFProfileParameter
UHFReader. getProfileParameter()
Gets the profile parameter from the readerObject
UHFReader. getProfilParameter(UHFReader.PROFILE_PARAMETER parameter)
Gets the specific profile parameterint
UHFReader. getQValue()
The Q-Value indicates the starting number of Slots for the tag searching used in every tag command.String[]
UHFReader. getStartUpCommands()
Get the configured start up commandsList<String>
UHFReader. getTagData(UHFReader.MEMBANK membank, int startAddress, int words)
Reads the data from the tags.
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.List<String>
UHFReader. getTagData(UHFReader.MEMBANK membank, int startAddress, int words, boolean ssl)
Reads the data from the tags.
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.List<String>
DwarfG2Mini. getTagTIDs()
Deprecated.List<String>
UHFReader. getTagTIDs()
Reads the TID from the tag.
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.List<String>
UHFReader. getTagTIDs(int lenght)
Reads the TID from the tag with a predefined length.
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.List<String>
UHFReader. killTag(boolean isSingleSlot)
The Kill Command can be used to disable UHF Gen2 Tags forever.void
UHFReader. loadAccessPassword(int slotNumber)
Loads an access passwordvoid
UHFReader. loadKillPassword(int slotNumber)
Loads a kill passwordList<String>
UHFReader. lockTag(UHFReader.MEMBANK membank, int mode, boolean ssl)
Used to set the access rights of the different data blocks, including the access password itself and the kill password.String
UHFReader. readReflectedPower()
Read the reflected power value from the reader front-endvoid
UHFReader. resetRFInterface(int milliseconds)
Timer controlled RF field reset.void
UHFReader. saveAccessPassword(String password, int slotNumber)
Saves an access passwordvoid
UHFReader. saveKillPassword(String password, int slotNumber)
Saves the kill passwordvoid
UHFReader. setAccessPassword(String password)
Sets the access passwordvoid
DeskID_UHF. setAntennaPort(int port)
void
UHFReader. setCommunicationChannel(int channel)
Set the etsi channel.void
UHFReader. setEPCMask(String mask)
Set a EPC maskvoid
UHFReader. setExecuteCommandsOnInput(int pin, String... commands)
This method is only usable on DwarfG2 and PulsarMX (a DeskID has no IOs).void
UHFReader. setGlobalTimeOut(int milliseconds)
Any tag command (INV, RDT etc.) starts a global timeout.void
UHFReader. setInventoryRetry(int value)
Sets the number of retries in tag searching algorithm.void
UHFReader. setKillPassword(String password)
Sets the kill passwordvoid
UHFReader. setMask(UHFReader.MEMBANK membank, String hexMaskValue)
Most tags manipulation instruction can be limited to a population of tags with certain data values, e.g. tags that start with a certain EPC, a certain TID or even contain certain data in the user memory.void
UHFReader. setMask(UHFReader.MEMBANK membank, String hexMaskValue, int start)
Most tags manipulation instruction can be limited to a population of tags with certain data values, e.g. tags that start with a certain EPC, a certain TID or even contain certain data in the user memory.void
UHFReader. setMask(UHFReader.MEMBANK membank, String hexMaskValue, int start, int bitLenght)
Most tags manipulation instruction can be limited to a population of tags with certain data values, e.g. tags that start with a certain EPC, a certain TID or even contain certain data in the user memory.void
UHFReader. setMode(UHFReader.READER_MODE mode)
Set the reader mode.void
UHFReader. setNoMask()
Disable the mask usingvoid
UHFReader. setPower(int power)
void
UHFReader. setProfileParameter(UHFReader.PROFILE_PARAMETER parameter, Object value)
Sets the given parametervoid
UHFReader. setQValue(int value)
The Q-Value indicates the starting number of Slots for the tag searching used in every tag command.void
UHFReader. setRFInterface(boolean state)
Enable or disable the RF Fieldvoid
UHFReader. setSavePowerMode(boolean state)
If enable the reader will switch off the power amplifier automatically after every tag operation starts (either directly user called or CNR-mode) reducing the power consumption nearly as much as STB (StandyBy need about 3/4 the power of only disabled amplifier) but does not need to be woke up by WAK command.void
UHFReader. setStartUpCommands(String... commands)
Sets a number of start up commands.void
UHFReader. setTagData(UHFReader.MEMBANK membank, String hexData, int startAddress)
Writes data to the tag
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.List<String>
UHFReader. setTagData(UHFReader.MEMBANK membank, String hexData, int startAddress, boolean ssl)
Writes data to the tag
It is possible to mask this command (using the setMask(...) method) to limit this command to a certain population of tags.void
UHFReader. setTagEPC(String newEPC)
Sets a new EPC for the tag in the fieldvoid
UHFReader. setTagEPC(String newEPC, String tid)
Sets a new epc for a tag, tid is needed
-