public class Antennas
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Antennas.AntennaProperties
This class represents the antenna properties of the Reader
|
class |
Antennas.AntennaRfConfig |
class |
Antennas.Config
Only transmit power index support in Android RFID SDK
This class contains required information for configuring the antenna
This class contains the information related to receiver sensitivity, transmit
power and transmit frequency index.
|
class |
Antennas.PhysicalProperties |
class |
Antennas.RFMode
This class represents the C1G2 RF Mode and the Tari value
to use for the inventory operation.
|
class |
Antennas.SingulationControl
This class represents the antenna configuration related to singulation control
parameters session, Tag Population and the tag transit time
|
| Modifier and Type | Method and Description |
|---|---|
Antennas.AntennaProperties |
AntennaProperties(int index)
Gets the Antenna properties based on the index
|
Antennas.Config |
getAntennaConfig(int antennaIndex)
Gets ths Antenna Configuration
|
Antennas.AntennaRfConfig |
getAntennaRfConfig(int antennaIndex)
Gets the Antenna Rf Configuration
|
short[] |
getAvailableAntennas()
Gets the available antenna
|
int |
getLength()
Returns the number of antenna supported
|
Antennas.PhysicalProperties |
getPhysicalProperties(int antennaIndex)
Not supported in Android RFID SDK
Gets the Physical antenna properties
This method gets the antenna physical properties such as whether antenna is enabled or not and the antenna gain
|
Antennas.RFMode |
getRFMode(int antennaIndex)
Gets the RF Mode to be used with the inventory operations
|
Antennas.SingulationControl |
getSingulationControl(int antennaIndex)
Gets the Singulation Control
|
void |
setAntennaConfig(int antennaIndex,
Antennas.Config antennaConfig)
Sets the Antenna Configuration
|
void |
setAntennaRfConfig(int antennaIndex,
Antennas.AntennaRfConfig antennaRfConfig)
Sets the Antenna Rf Configuration
|
void |
setRFMode(int antennaIndex,
Antennas.RFMode antennaRFMode)
Sets the RF Mode to be used with the inventory operations
|
void |
setSingulationControl(int antennaIndex,
Antennas.SingulationControl antennaSingulationControl)
Sets the Singulation Control
|
public int getLength()
public Antennas.PhysicalProperties getPhysicalProperties(int antennaIndex) throws InvalidUsageException, OperationFailureException
antennaIndex - Index of the antennaInvalidUsageExceptionOperationFailureException - This exception is thrown when the parameters are invalidpublic Antennas.Config getAntennaConfig(int antennaIndex) throws InvalidUsageException, OperationFailureException
antennaIndex - Index of the antennaInvalidUsageExceptionOperationFailureException - This exception is thrown when the parameter is invalidpublic void setAntennaConfig(int antennaIndex,
Antennas.Config antennaConfig)
throws InvalidUsageException,
OperationFailureException
antennaIndex - Index of the antennaantennaConfig - InvalidUsageExceptionOperationFailureExceptionpublic Antennas.AntennaRfConfig getAntennaRfConfig(int antennaIndex) throws InvalidUsageException, OperationFailureException
antennaIndex - Index of the antennaInvalidUsageExceptionOperationFailureException - This exception is thrown when the parameter is invalidpublic void setAntennaRfConfig(int antennaIndex,
Antennas.AntennaRfConfig antennaRfConfig)
throws InvalidUsageException,
OperationFailureException
antennaIndex - Index of the antennaantennaRfConfig - InvalidUsageExceptionOperationFailureExceptionpublic Antennas.SingulationControl getSingulationControl(int antennaIndex) throws InvalidUsageException, OperationFailureException
antennaIndex - Index of the antennaInvalidUsageExceptionOperationFailureExceptionpublic void setSingulationControl(int antennaIndex,
Antennas.SingulationControl antennaSingulationControl)
throws InvalidUsageException,
OperationFailureException
antennaIndex - Index of the antennaantennaSingulationControl - InvalidUsageExceptionOperationFailureException - This exception is thrown when the parameter is invalidpublic Antennas.RFMode getRFMode(int antennaIndex) throws InvalidUsageException, OperationFailureException
antennaIndex - Index of the antennaInvalidUsageExceptionOperationFailureExceptionpublic void setRFMode(int antennaIndex,
Antennas.RFMode antennaRFMode)
throws InvalidUsageException,
OperationFailureException
antennaIndex - Index of the antennaantennaRFMode - InvalidUsageExceptionOperationFailureExceptionpublic Antennas.AntennaProperties AntennaProperties(int index) throws InvalidUsageException
index - Specifies the antenna ID interestedInvalidUsageException - Index out of range exception is thrown when index is out of antenna rangepublic short[] getAvailableAntennas()