public class ReaderManagement
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
LLRPConnection |
LLRPConnection
LLRP Connection Object required for LLRP Server/Client connectivity.
|
boolean |
m_PowerNegotiateState |
Profile |
Profile |
ReadPoint |
ReadPoint
Object of Class Readpoint
|
TimeZone |
TimeZone
Object of Class TimeZone
|
UserApp |
UserApp |
| Constructor and Description |
|---|
ReaderManagement()
Reader Management constructor
|
ReaderManagement(API3Abstract rfidApi4Abstract) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearReaderStatistics()
Clears the reader statistics maintained in the reader
|
void |
dispose()
Dispose Reader Management
|
ANTENNA_MODE |
getAntennaMode()
Gets the antenna mode to enumerations (Mono-Static or Bi-Static)
|
API3Abstract |
getApi3Abstract() |
void |
getApi3Abstract(API3Abstract api3Abstract) |
CableLossCompensation |
getCableLossCompensation(int antennaID)
Gets Cable Loss Compensation Info for the given Antenna ID
|
int |
getGPIDebounceTimeMilliseconds()
Gets the GPI Debounce Time
|
HEALTH_STATUS |
getHealthStatus(SERVICE_ID serviceID)
This function gets the health status of the reader
|
java.lang.String |
getLocalTime()
Reader's Local time
|
RadioConfigUpdate |
getRadioConfigUpdate()
Gets the Radio Config Update object
|
RadioFirmwareUpdate |
getRadioFirmwareUpdate()
Gets the reader firmware update object
|
int |
getRadioIdleTimeout()
Gets the Radio Idle Timeout configured in the reader
|
ReaderInfo |
getReaderInfo()
Reader information
|
ReaderRegion |
getReaderRegion()
|
ReaderStatistics |
getReaderStatistics(short antennaID)
Gets the Reader Statistics from the reader
|
SoftwareUpdate |
getSoftwareUpdate()
Gets the software Update object
|
SystemInfo |
getSystemInfo()
This function gets the system information related to the Reader like Reader Name, Firmware version, RAM available,
Flash available, Up time (how long the reader is running)
|
TRACE_LEVEL[] |
getTraceLevel()
Gets the trace level
|
USBOperationMode |
getUSBOperationMode()
USB operation mode of the Reader.
|
boolean |
isLoggedIn()
Gets the login status whether logged in or not.
|
boolean |
IsNullOrEmpty(java.lang.String param) |
void |
login(LoginInfo loginInfo,
READER_TYPE readerType)
This method allows to login into the reader.
|
void |
logout()
This call performs the logout and clean-up activity in the library
|
void |
restart()
This method restarts or reboot the reader.To restart the reader for any reasons, this method allows to restart the
reader.
|
void |
setAntennaMode(ANTENNA_MODE antennaMode)
Sets the antenna mode to enumerations (Mono-Static or Bi-Static)
value sets the specified antenna mode in the reader.
|
void |
setCableLossCompensation(CableLossCompensation[] cableLossCompensationInfo)
Sets the cable Loss Compensation for antennas
|
void |
setGPIDebounceTimeMilliseconds(int gpiDebounceTimeMilliseconds)
Sets the GPI Debounce Time
|
void |
setLocalTime(SYSTEMTIME localTime)
Reader's Local time
|
void |
setReaderInfo(ReaderInfo readerInfo)
Reader information
|
void |
setTraceLevel(TRACE_LEVEL traceLevel)
Sets the trace level
|
void |
setTraceLevel(TRACE_LEVEL[] arrTraceLevel) |
void |
setUSBOperationMode(USBOperationMode usbOperationMode)
USB operation mode of the Reader.
|
void |
setUserLED(LedInfo ledInfo)
Sets the User LED information
|
void |
turnOffRadiowhenIdle(int idleTimeout)
Turns Off Radio When Idle
|
public Profile Profile
public UserApp UserApp
public boolean m_PowerNegotiateState
public LLRPConnection LLRPConnection
public ReadPoint ReadPoint
public TimeZone TimeZone
public ReaderManagement()
public ReaderManagement(API3Abstract rfidApi4Abstract)
public API3Abstract getApi3Abstract()
public void getApi3Abstract(API3Abstract api3Abstract)
public void dispose()
throws InvalidUsageException,
OperationFailureException
public TRACE_LEVEL[] getTraceLevel()
public void setTraceLevel(TRACE_LEVEL traceLevel)
public void setTraceLevel(TRACE_LEVEL[] arrTraceLevel)
public ANTENNA_MODE getAntennaMode() throws InvalidUsageException, OperationFailureException
public void setAntennaMode(ANTENNA_MODE antennaMode) throws InvalidUsageException, OperationFailureException
public boolean isLoggedIn()
public RadioFirmwareUpdate getRadioFirmwareUpdate() throws InvalidUsageException
InvalidUsageExceptionpublic SoftwareUpdate getSoftwareUpdate() throws InvalidUsageException
InvalidUsageExceptionpublic RadioConfigUpdate getRadioConfigUpdate() throws InvalidUsageException
InvalidUsageExceptionpublic boolean IsNullOrEmpty(java.lang.String param)
public void login(LoginInfo loginInfo, READER_TYPE readerType) throws InvalidUsageException, OperationFailureException
loginInfo - Login information is required for Fixed Reader. It can be null for Hand held readers.readerType - Specifies the reader typeInvalidUsageExceptionOperationFailureException - Operation Failure exception is thrown when the parameter is invalidpublic void logout()
throws InvalidUsageException,
OperationFailureException
public ReaderRegion getReaderRegion()
public void restart()
throws InvalidUsageException,
OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation Failure exception is thrown when it is not logged inpublic SystemInfo getSystemInfo() throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic HEALTH_STATUS getHealthStatus(SERVICE_ID serviceID) throws InvalidUsageException, OperationFailureException
serviceID - InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic void setUserLED(LedInfo ledInfo) throws InvalidUsageException, OperationFailureException
ledInfo - LED information required for the Reader.InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic int getGPIDebounceTimeMilliseconds()
throws InvalidUsageException,
OperationFailureException
public void setGPIDebounceTimeMilliseconds(int gpiDebounceTimeMilliseconds)
throws InvalidUsageException,
OperationFailureException
public java.lang.String getLocalTime()
throws InvalidUsageException,
OperationFailureException
InvalidUsageExceptionOperationFailureExceptionpublic void setLocalTime(SYSTEMTIME localTime) throws InvalidUsageException, OperationFailureException
localTime - Local Time to Set in the readerInvalidUsageExceptionOperationFailureExceptionpublic USBOperationMode getUSBOperationMode() throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic void setUSBOperationMode(USBOperationMode usbOperationMode) throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic ReaderInfo getReaderInfo() throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic void setReaderInfo(ReaderInfo readerInfo) throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureException - Operation failure is thrown when it is not logged inpublic ReaderStatistics getReaderStatistics(short antennaID) throws InvalidUsageException, OperationFailureException
antennaID - InvalidUsageExceptionOperationFailureExceptionpublic boolean clearReaderStatistics()
throws InvalidUsageException,
OperationFailureException
InvalidUsageExceptionOperationFailureExceptionpublic void turnOffRadiowhenIdle(int idleTimeout)
throws InvalidUsageException,
OperationFailureException
idleTimeout - Radio will be turned off after specified Timeout if Idle (no radio operation is performed), 0 - Disables the Idle modeInvalidUsageExceptionOperationFailureExceptionpublic int getRadioIdleTimeout()
throws InvalidUsageException,
OperationFailureException
InvalidUsageExceptionOperationFailureExceptionpublic void setCableLossCompensation(CableLossCompensation[] cableLossCompensationInfo) throws InvalidUsageException, OperationFailureException
cableLossCompensationInfo - Array of Cable Length Details for each Antenna ID to be configured. If Antenna ID specified as 0, settings will be applied to all the antennasInvalidUsageExceptionOperationFailureExceptionpublic CableLossCompensation getCableLossCompensation(int antennaID) throws InvalidUsageException, OperationFailureException
antennaID - Antenna IDInvalidUsageExceptionOperationFailureException