public class AntennaConfig
extends java.lang.Object
Settings.antennas| Constructor and Description |
|---|
AntennaConfig(java.lang.Number newPortNumber)
Constructor for a new antenna configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getIsMaxRxSensitivity()
Typically an antenna is set to maximum sensitivity.
|
java.lang.Boolean |
getIsMaxTxPower()
Typically an antenna is set to maximum transmit power.
|
java.lang.String |
getPortName()
For convenience the antenna configuration hold a user defined port
name.
|
short |
getPortNumber()
Each antenna is identified by the port number
|
double |
getRxSensitivityinDbm()
Receive Sensitivity can be adjusted on the antenna to prevent the reader
from receiving weak responses from tags.
|
double |
getTxPowerinDbm()
Transmit power can be adjusted on the antenna to reduce the read
range of the antenna.
|
boolean |
isEnabled()
An antenna can be enabled or disabled.
|
void |
setEnabled(boolean enabled)
An antenna can be enabled or disabled.
|
void |
setIsMaxRxSensitivity(java.lang.Boolean maxRxSensitivity)
Typically an antenna is set to maximum sensitivity.
|
void |
setIsMaxTxPower(java.lang.Boolean maxTxPower)
Typically an antenna is set to maximum transmit power.
|
void |
setPortName(java.lang.String portName)
For convenience the antenna configuration hold a user defined port
name.
|
void |
setPortNumber(short portNumber)
Each antenna is identified by the port number to which this antenna
configuration applies.
|
void |
setRxSensitivityinDbm(double rxSensitivityinDbm)
Receive Sensitivity can be adjusted on the antenna to prevent the reader
from receiving weak responses from tags.
|
void |
setTxPowerinDbm(double txPowerinDbm)
Transmit power can be adjusted on the antenna to reduce the read
range of the antenna.
|
public AntennaConfig(java.lang.Number newPortNumber)
newPortNumber - Antenna port to configure. A value of 0 means
configuration is applied to all antennas.public double getRxSensitivityinDbm()
public void setRxSensitivityinDbm(double rxSensitivityinDbm)
rxSensitivityinDbm - -- sensitivity for this antenna in dBmpublic double getTxPowerinDbm()
public void setTxPowerinDbm(double txPowerinDbm)
txPowerinDbm - -- power for this antenna in dBmpublic java.lang.Boolean getIsMaxRxSensitivity()
setRxSensitivityinDbm(double)public void setIsMaxRxSensitivity(java.lang.Boolean maxRxSensitivity)
maxRxSensitivity - -- true to enabled maximum sensitivity on this
antenna. False to allow the antenna reduced sensitivity via
setRxSensitivity method.setRxSensitivityinDbm(double)public java.lang.Boolean getIsMaxTxPower()
setTxPowerinDbm(double)public void setIsMaxTxPower(java.lang.Boolean maxTxPower)
maxTxPower - -- true to set the antenna to maximum power. false
to allow the power to be varied by the setTxPowerinDbm method.setTxPowerinDbm(double)public short getPortNumber()
public void setPortNumber(short portNumber)
portNumber - the desired port number for this antenna configurationpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - -- pass true to enable the antenna, false to disable itpublic java.lang.String getPortName()
public void setPortName(java.lang.String portName)
portName - the name to apply to this antenna port