Package com.zebra.rfid.api3
Class Antennas
java.lang.Object
com.zebra.rfid.api3.Antennas
This class represents the Antenna of the reader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
This class represents the antenna properties of the Readerclass
class
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
class
This class represents the C1G2 RF Mode and the Tari value to use for the inventory operation.static class
This class represents the antenna configuration related to singulation control parameters session, Tag Population and the tag transit time -
Method Summary
Modifier and TypeMethodDescriptionAntennaProperties
(int index) Gets the Antenna properties based on the indexgetAntennaConfig
(int antennaIndex) Gets ths Antenna ConfigurationgetAntennaRfConfig
(int antennaIndex) Gets the Antenna Rf Configurationshort[]
Gets the available antennaint
Returns the number of antenna supportedgetPhysicalProperties
(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 gaingetRFMode
(int antennaIndex) Gets the RF Mode to be used with the inventory operationsgetSingulationControl
(int antennaIndex) Gets the Singulation Controlvoid
setAntennaConfig
(int antennaIndex, Antennas.Config antennaConfig) Sets the Antenna Configurationvoid
setAntennaRfConfig
(int antennaIndex, Antennas.AntennaRfConfig antennaRfConfig) Sets the Antenna Rf Configurationvoid
setRFMode
(int antennaIndex, Antennas.RFMode antennaRFMode) Sets the RF Mode to be used with the inventory operationsvoid
setSingulationControl
(int antennaIndex, Antennas.SingulationControl antennaSingulationControl) Sets the Singulation Control
-
Method Details
-
getLength
public int getLength()Returns the number of antenna supported- Returns:
- Returns the number of antenna supported
-
getPhysicalProperties
public Antennas.PhysicalProperties getPhysicalProperties(int antennaIndex) throws InvalidUsageException, OperationFailureException 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- Parameters:
antennaIndex
- Index of the antenna- Returns:
- Returns the Physical antenna properties
- Throws:
InvalidUsageException
OperationFailureException
- This exception is thrown when the parameters are invalid
-
getAntennaConfig
public Antennas.Config getAntennaConfig(int antennaIndex) throws InvalidUsageException, OperationFailureException Gets ths Antenna Configuration- Parameters:
antennaIndex
- Index of the antenna- Returns:
- Returns ths Antenna Configuration
- Throws:
InvalidUsageException
OperationFailureException
- This exception is thrown when the parameter is invalid
-
setAntennaConfig
public void setAntennaConfig(int antennaIndex, Antennas.Config antennaConfig) throws InvalidUsageException, OperationFailureException Sets the Antenna Configuration- Parameters:
antennaIndex
- Index of the antennaantennaConfig
-- Throws:
InvalidUsageException
OperationFailureException
-
getAntennaRfConfig
public Antennas.AntennaRfConfig getAntennaRfConfig(int antennaIndex) throws InvalidUsageException, OperationFailureException Gets the Antenna Rf Configuration- Parameters:
antennaIndex
- Index of the antenna- Returns:
- Throws:
InvalidUsageException
OperationFailureException
- This exception is thrown when the parameter is invalid
-
setAntennaRfConfig
public void setAntennaRfConfig(int antennaIndex, Antennas.AntennaRfConfig antennaRfConfig) throws InvalidUsageException, OperationFailureException Sets the Antenna Rf Configuration- Parameters:
antennaIndex
- Index of the antennaantennaRfConfig
-- Throws:
InvalidUsageException
OperationFailureException
-
getSingulationControl
public Antennas.SingulationControl getSingulationControl(int antennaIndex) throws InvalidUsageException, OperationFailureException Gets the Singulation Control- Parameters:
antennaIndex
- Index of the antenna- Returns:
- SingulationControl Instance
- Throws:
InvalidUsageException
OperationFailureException
-
setSingulationControl
public void setSingulationControl(int antennaIndex, Antennas.SingulationControl antennaSingulationControl) throws InvalidUsageException, OperationFailureException Sets the Singulation Control- Parameters:
antennaIndex
- Index of the antennaantennaSingulationControl
-- Throws:
InvalidUsageException
OperationFailureException
- This exception is thrown when the parameter is invalid
-
getRFMode
public Antennas.RFMode getRFMode(int antennaIndex) throws InvalidUsageException, OperationFailureException Gets the RF Mode to be used with the inventory operations- Parameters:
antennaIndex
- Index of the antenna- Returns:
- Throws:
InvalidUsageException
OperationFailureException
-
setRFMode
public void setRFMode(int antennaIndex, Antennas.RFMode antennaRFMode) throws InvalidUsageException, OperationFailureException Sets the RF Mode to be used with the inventory operations- Parameters:
antennaIndex
- Index of the antennaantennaRFMode
-- Throws:
InvalidUsageException
OperationFailureException
-
AntennaProperties
Gets the Antenna properties based on the index- Parameters:
index
- Specifies the antenna ID interested- Returns:
- This method returns antenna properties object
- Throws:
InvalidUsageException
- Index out of range exception is thrown when index is out of antenna range
-
getAvailableAntennas
public short[] getAvailableAntennas()Gets the available antenna
-