public class Settings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AntennaConfigGroup |
getAntennas() |
AutoStartConfig |
getAutoStart() |
AutoStopConfig |
getAutoStop() |
FilterSettings |
getFilters() |
GpiConfigGroup |
getGpis() |
GpoConfigGroup |
getGpos() |
java.lang.Boolean |
getHoldReportsOnDisconnect()
When the reader is running an inventory it may be collecting tag reports.
|
KeepaliveConfig |
getKeepalives() |
LowDutyCycleSettings |
getLowDutyCycle() |
ReaderMode |
getReaderMode()
ReaderMode is the preselected set of gen2 physical layer settings
to optimize tag communications for a certain scenario and environment
|
ReportConfig |
getReport() |
SearchMode |
getSearchMode()
Gen2 provides rudimentary building blocks to inventory populations of tags
The Impinj reader creates high level inventory search modes from these
gen2 operations.
|
int |
getSession()
Sets the gen2 session for the reader.
|
SpatialConfig |
getSpatialConfig()
Gets the reader settings object that contains configurations specific to readers with location and direction role capabilities.
|
int |
getTagPopulationEstimate()
When performing inventory operations, the Impinj reader uses the gen2
protocol's random access method to arbitrate between populations of tags.
|
java.util.ArrayList<java.lang.Double> |
getTxFrequenciesInMhz() |
XArrayConfig |
getXArray()
Deprecated.
|
static Settings |
load(java.lang.String path)
builds a settings object from a file (from save)
|
void |
save(java.lang.String path)
Save the current settings object to a file in json
|
void |
setAntennas(AntennaConfigGroup antennas) |
void |
setAutoStart(AutoStartConfig autoStart) |
void |
setAutoStop(AutoStopConfig autoStop) |
void |
setFilters(FilterSettings filters) |
void |
setGpis(GpiConfigGroup gpis) |
void |
setGpos(GpoConfigGroup gpos) |
void |
setHoldReportsOnDisconnect(java.lang.Boolean holdReportsOnDisconnect)
When the reader is running an inventory it may be collecting tag reports.
|
void |
setKeepalives(KeepaliveConfig keepalives) |
void |
setLowDutyCycle(LowDutyCycleSettings lowDutyCycle) |
void |
setReaderMode(ReaderMode readerMode)
ReaderMode is the preselected set of gen2 physical layer settings
to optimize tag communications for a certain scenario and environment
|
void |
setReport(ReportConfig report)
Contains the configuration for Tag Reports
|
void |
setSearchMode(SearchMode searchMode)
Gen2 provides rudimentary building blocks to inventory populations of tags
The Impinj reader creates high level inventory search modes from these
gen2 operations.
|
void |
setSession(int session)
Sets the gen2 session for the reader.
|
void |
setSpatialConfig(SpatialConfig spatialConfig)
Sets the reader's settings object to be used to house configurations for readers with direction or location role capabilities.
|
void |
setTagPopulationEstimate(int tagPopulationEstimate)
When performing inventory operations, the Impinj reader uses the gen2
protocol's random access method to arbitrate between populations of tags.
|
void |
setTxFrequenciesInMhz(java.util.ArrayList<java.lang.Double> txFrequenciesInMhz) |
void |
setXArray(XArrayConfig xArray)
Deprecated.
|
public static Settings load(java.lang.String path) throws java.io.IOException
path
- to filejava.io.IOException
- if operation fails.public AutoStartConfig getAutoStart()
public void setAutoStart(AutoStartConfig autoStart)
public AutoStopConfig getAutoStop()
public void setAutoStop(AutoStopConfig autoStop)
public ReaderMode getReaderMode()
public void setReaderMode(ReaderMode readerMode)
readerMode
- the desired reader modepublic SearchMode getSearchMode()
public void setSearchMode(SearchMode searchMode)
searchMode
- the desired reader search modepublic int getSession()
public void setSession(int session)
session
- the desired sessionpublic int getTagPopulationEstimate()
public void setTagPopulationEstimate(int tagPopulationEstimate)
tagPopulationEstimate
- the desired value for the tag population estimatepublic LowDutyCycleSettings getLowDutyCycle()
public void setLowDutyCycle(LowDutyCycleSettings lowDutyCycle)
public FilterSettings getFilters()
public void setFilters(FilterSettings filters)
public ReportConfig getReport()
public void setReport(ReportConfig report)
report
- the report configurationpublic AntennaConfigGroup getAntennas()
public void setAntennas(AntennaConfigGroup antennas)
public GpiConfigGroup getGpis()
public void setGpis(GpiConfigGroup gpis)
public GpoConfigGroup getGpos()
public void setGpos(GpoConfigGroup gpos)
public KeepaliveConfig getKeepalives()
public void setKeepalives(KeepaliveConfig keepalives)
public java.lang.Boolean getHoldReportsOnDisconnect()
ImpinjReader.resumeEventsAndReports()
public void setHoldReportsOnDisconnect(java.lang.Boolean holdReportsOnDisconnect)
holdReportsOnDisconnect
- set to true to hold reports on disconnect and reconnect.ImpinjReader.resumeEventsAndReports()
public java.util.ArrayList<java.lang.Double> getTxFrequenciesInMhz()
public void setTxFrequenciesInMhz(java.util.ArrayList<java.lang.Double> txFrequenciesInMhz)
@Deprecated public XArrayConfig getXArray()
getSpatialConfig()
@Deprecated public void setXArray(XArrayConfig xArray)
xArray
- An xArray settings object that will hold the xArray configuration.setSpatialConfig(SpatialConfig)
public SpatialConfig getSpatialConfig()
public void setSpatialConfig(SpatialConfig spatialConfig)
spatialConfig
- A reader settings object that will hold the configuration for the reader with direction or location role capabilities.public void save(java.lang.String path) throws java.io.IOException
path
- file pathjava.io.IOException
- if the write fails