public class LocationConfig
extends java.lang.Object
Constructor and Description |
---|
LocationConfig() |
Modifier and Type | Method and Description |
---|---|
short |
getComputeWindowSeconds()
Compute Window the the smoothing window for averaging the location estimates.
|
java.util.List<java.lang.Short> |
getDisabledAntennaList()
Antennas can be disabled when configuring location.
|
java.lang.Boolean |
getIsMaxTxPower()
Typically an antenna is set to maximum transmit power.
|
java.util.List<java.lang.Integer> |
getLocationAlgorithmControlList()
Custom location algorithm control parameters can be set when configuring location.
|
short |
getTagAgeIntervalSeconds()
The Age Interval specifies how long a tag needs to go unseen before
its removed from the location tracking.
|
double |
getTxPowerinDbm()
Transmit power can be adjusted on antennas to reduce the read
range of the antenna.
|
short |
getUpdateIntervalSeconds()
The UpdateInterval specifies how often tag reports are generated when
tag report updates are enabled
|
boolean |
isDiagnosticReportEnabled()
When enabled, diagnostic reports are generated at each update interval
and sent to the application
|
boolean |
isEntryReportEnabled()
When enabled, an entry report is sent immediately upon the tag
entering the field of view of the reader.
|
boolean |
isExitReportEnabled()
When enabled, an exit report is generated when the tag has not been
seen by the reader in the tag age Interval.
|
boolean |
isUpdateReportEnabled()
When update reports are enabled, location reports are sent by the reader
periodically for all tags in the location database
|
void |
setComputeWindowSeconds(short computeWindowSeconds)
Compute Window the the smoothing window for averaging the location estimates.
|
void |
setDiagnosticReportEnabled(boolean diagnosticReportEnabled)
When enabled, diagnostic reports are generated at each update interval
and sent to the application
|
void |
setDisabledAntennaList(java.util.List<java.lang.Short> disabledAntennaList)
Antennas can be disabled when configuring location.
|
void |
setDisabledAntennaList(short[] disabledAntennaArray)
Antennas can be disabled when configuring location.
|
void |
setEntryReportEnabled(boolean entryReportEnabled)
When enabled, an entry report is sent immediately upon the tag
entering the field of view of the reader.
|
void |
setExitReportEnabled(boolean exitReportEnabled)
When enabled, an exit report is generated when the tag has not been
seen by the reader in the tag age Interval.
|
void |
setIsMaxTxPower(java.lang.Boolean maxTxPower)
Typically an antenna is set to maximum transmit power.
|
void |
setLocationAlgorithmControlList(int[] locationAlgorithmControlArray)
Custom location algorithm control parameters can be set when configuring location.
|
void |
setLocationAlgorithmControlList(java.util.List<java.lang.Integer> locationAlgorithmControlList)
Custom location algorithm control parameters can be set when configuring location.
|
void |
setTagAgeIntervalSeconds(short tagAgeIntervalSeconds)
The Age Interval specifies how long a tag needs to go unseen before
its removed from the location tracking.
|
void |
setTxPowerinDbm(double txPowerinDbm)
Transmit power can be adjusted on antennas to reduce the read
range of the antenna.
|
void |
setUpdateIntervalSeconds(short updateIntervalSeconds)
The ReportInterval specifies how often tag reports are generated when
tag report updates are enabled
|
void |
setUpdateReportEnabled(boolean updateReportEnabled) |
public short getComputeWindowSeconds()
public void setComputeWindowSeconds(short computeWindowSeconds)
computeWindowSeconds
- the desired value for the compute windowpublic short getTagAgeIntervalSeconds()
public void setTagAgeIntervalSeconds(short tagAgeIntervalSeconds)
tagAgeIntervalSeconds
- the desired value for the tag age intervalpublic short getUpdateIntervalSeconds()
setUpdateReportEnabled(boolean)
public void setUpdateIntervalSeconds(short updateIntervalSeconds)
updateIntervalSeconds
- the time between report generation in secondssetUpdateReportEnabled(boolean)
public boolean isUpdateReportEnabled()
LocationReport
public void setUpdateReportEnabled(boolean updateReportEnabled)
updateReportEnabled
- desired update report stateLocationReport
public boolean isEntryReportEnabled()
LocationReport
public void setEntryReportEnabled(boolean entryReportEnabled)
entryReportEnabled
- true to enable entry reportsLocationReport
public boolean isExitReportEnabled()
setTagAgeIntervalSeconds(short)
,
LocationReport
public void setExitReportEnabled(boolean exitReportEnabled)
exitReportEnabled
- true to enable exit reportsLocationReport
public boolean isDiagnosticReportEnabled()
LocationReport
public void setDiagnosticReportEnabled(boolean diagnosticReportEnabled)
diagnosticReportEnabled
- true to enable diagnostic reportsLocationReport
public java.lang.Boolean getIsMaxTxPower()
public void setIsMaxTxPower(java.lang.Boolean maxTxPower)
maxTxPower
- -- true to set antenna power to maximum. false
to allow the power to be varied by the setTxPowerinDbm method.public double getTxPowerinDbm()
public void setTxPowerinDbm(double txPowerinDbm)
txPowerinDbm
- -- antenna power in dBmpublic java.util.List<java.lang.Short> getDisabledAntennaList()
public void setDisabledAntennaList(java.util.List<java.lang.Short> disabledAntennaList)
disabledAntennaList
- -- the list of antennas to be disabledpublic void setDisabledAntennaList(short[] disabledAntennaArray)
disabledAntennaArray
- -- an array of antennas to be disabledpublic java.util.List<java.lang.Integer> getLocationAlgorithmControlList()
public void setLocationAlgorithmControlList(java.util.List<java.lang.Integer> locationAlgorithmControlList)
locationAlgorithmControlList
- -- the list of location algorithm control key-value pairs to be setpublic void setLocationAlgorithmControlList(int[] locationAlgorithmControlArray)
locationAlgorithmControlArray
- -- an array of location algorithm control key-value pairs to be set