public abstract class BaseUHF
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected com.unitech.lib.uhf.module.BaseModuleUHF |
_module |
protected com.unitech.lib.device.IReader |
_reader |
protected RfidUhfEventManager |
_rfidUhfEventManager |
protected java.lang.String |
TAG |
| Constructor and Description |
|---|
BaseUHF(com.unitech.lib.device.IReader reader)
Create an instance of the BaseUHF class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IRfidUhfEventListener listener)
Adds an event handler to receive events that occur in the instance.
|
void |
clearListener()
Removes all event handlers from the instance.
|
abstract void |
cwOnOff(com.unitech.rfidsdk.RfidUtils.CW_PARMS param,
boolean enable)
Turns on the Radio Module's carrier wave with no data modulation for the Device.
|
void |
destroy()
BaseUHF Destroys the instance and returns the resource.
|
abstract void |
eventNotify(PA768eEnums.EventNotify event,
boolean enable)
Set the Event Notification of the RFID UTE module of the Device.
|
abstract AlgorithmType |
getAlgorithmType()
Returns the algorithm that the RFID UHF module of the appliance uses to perform the inventory.
|
abstract int |
getAmbientTemperature()
Returns the Ambient Temperature of the RFID UTE module of the Device.
|
abstract int |
getAmbientTempProtection()
Returns the Ambient Temperature threshold of the RFID UTE module of the Device.
|
abstract com.unitech.rfidsdk.RfidUtils.ANTENNA_SETTING |
getAntennaSetting()
Returns the Antenna Setting of the RFID UTE module of the Device.
|
abstract com.unitech.rfidsdk.RfidUtils.ANTENNA_STATE |
getAntennaState(int id)
Returns the Antenna State of the RFID UTE module of the Device.
|
abstract PA768eEnums.SwitchMode |
getAntennaSwitchMode()
Returns the Antenna Switching Mode of the RFID UTE module of the Device.
|
abstract boolean |
getBiStaticAntenna()
Returns the Bi-Static Antenna Setting of the RFID UTE module of the Device.
|
abstract BLFType |
getBLF()
Returns the status of the BLF that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract PA768eEnums.CfgStorageMode |
getCfgStorageMode()
Returns the Configuration Storage Mode of RAM/Flash for the Device.
|
abstract RFIDConfig |
getConfig()
Returns the config of RFID module
|
abstract boolean |
getContinuousMode()
Returns whether the RFID UHF module on the device will cause the Inventory to run continuously.
|
abstract int |
getDwellTime()
Returns the dwellTime representing Antenna Setting of the RFID UTE module of the Device.
|
abstract Encoding |
getEncoding()
Returns the status of the encoding that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract boolean |
getFastID()
Returns the status of the FastId that the RFID UHF module of the appliance uses to
read tid when inventory.
|
abstract boolean |
getFastMode()
Returns the status of the fast mode that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract com.unitech.rfidsdk.RfidUtils.FIXEDFREQ_PARMS |
getFixedFreqParams()
Returns the multiple Fixed Frequencies value in the frequency hopping table of the RFID UTE module of the Device.
|
abstract PA768eEnums.SwitchMode |
getFreqSwitchMode()
Returns the Frequency Switching Mode of the RFID UTE module of the Device.
|
abstract GlobalBandType |
getGlobalBand()
Returns the national orientation of the RFID UHF module of the instrument.
|
abstract PA768eEnums.GpioDirection |
getGpioPinsConfig(int id)
Returns the Direction representing the specified GPIO pins of the RFID UTE module of the Device.
|
abstract PA768eEnums.GpioState |
getGpioPinsState(int id)
Returns the State representing the specified GPIO pins of the RFID UTE module of the Device.
|
abstract int |
getIdleTime()
The RFID UHF module of the instrument returns the time that the radio waves are not output
in the Inventory operation and is resting.
|
abstract int |
getInventoryTime()
Returns the time at which radio waves are actually output from the Inventory operation of
the RFID UHF module in the instrument.
|
abstract boolean |
getLbt()
Returns the Listen-Before-Talk Setting of the RFID UTE module of the Device.
|
abstract int |
getLbtCfgSetting()
Returns the LBT RSSI threshold of the RFID UTE module of the Device.
|
abstract int |
getMaxQ()
If the algorithm of the RFID UHF module of the device uses Dynamic Q, it returns the maximum Q value.
|
abstract int |
getMinQ()
If the algorithm of the RFID UHF module of the device uses Dynamic Q, it returns the minimum Q value.
|
abstract java.lang.String |
getModelName()
Returns the Model Name of the RFID UTE module of the Device.
|
abstract int |
getModuleProfile()
Returns the status of the module's profile that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract int |
getPATemperature()
Returns the PA Temperature of the RFID UTE module of the Device.
|
abstract int |
getPATempProtection()
Returns the PA Temperature threshold of the RFID UTE module of the Device.
|
abstract int |
getPower()
Returns the antenna output of the RFID UHF module of the instrument.
|
abstract PowerMode |
getPowerMode()
Returns the status of the power mode that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract PowerRange |
getPowerRange()
Returns the antenna output range of the RFID UHF module of the instrument.
|
abstract PA768eEnums.PowerSaveMode |
getPowerSaveMode()
Returns the Power Save Mode of the RFID UTE module of the Device.
|
abstract PA768eEnums.RegionType |
getRegion()
Returns the Region of the RFID UTE module of the Device.
|
abstract PA768eEnums.RfMode |
getRFMode()
Returns the RF Mode of the RFID UTE module of the Device.
|
abstract java.lang.String |
getSdkVersion()
Returns the SDK Version of the RFID UTE module of the Device.
|
abstract PA768eEnums.QueryGroupSelected |
getSelected()
Returns the Query Group's Selected of the RFID UTE module of the Device.
|
abstract SelectMask6cParam |
getSelectMask6c(int index)
Returns the Selection Mask item of the RFID UHF module of the Device.
|
abstract Mask6cAction |
getSelectMask6cAction(int index)
Returns the comparison behavior of the Selection Mask item of the RFID UHF module of the Device.
|
abstract BankType |
getSelectMask6cBank(int index)
The Selection Mask item of the Device's RFID UHF module returns the memory bank to compare.
|
abstract boolean |
getSelectMask6cEnabled(int index)
Returns whether to use the Selection Mask item of the RFID UHF module of the Device.
|
abstract int |
getSelectMask6cMaxSize()
Returns the max size of select mask list status of the RFID UHF module.
|
abstract int |
getSelectMask6cOffset(int index)
The Selection Mask item of the RFID UHF module of the Device returns the starting address of
the memory to start the comparison.
|
abstract Mask6cPattern |
getSelectMask6cPattern(int index)
Returns the comparison value and length of the Selection Mask item of the RFID UHF module of the Device.
|
abstract Mask6cTarget |
getSelectMask6cTarget(int index)
Returns the Flag of the tag to store the comparison result of Selection Mask item of RFID
UHF module of Device.
|
abstract SelectMaskUTEParam |
getSelectMaskUTE(int index)
Returns the Selection Mask item of the RFID UTE module of the Device.
|
abstract PA768eEnums.TagSelectTruncate |
getSelectMaskUTETruncate(int index)
Returns the EPC response format of the RFID UTE module of the Device.
|
abstract java.lang.String |
getSerialNo()
Returns the Serial Number of the RFID UTE module of the Device.
|
abstract Session |
getSession()
The RFID UHF module of the device returns the Session to check the state of the Session
of the tag to be read by the Inventory operation.
|
abstract PA768eEnums.SkuId |
getSkuId()
Returns the SKU ID of the RFID UTE module of the Device.
|
abstract int |
getStartQ()
If the algorithm of the RFID UHF module of the device is using Dynamic Q, it returns the
starting Q value.
|
abstract boolean |
getTagFocus()
Returns the TagFocus Setting of the RFID UTE module of the Device.
|
abstract Target |
getTarget()
The RFID UHF module of the device returns the status of the Target of the tag to be
read by the Inventory operation.
|
abstract TARIType |
getTARI()
Returns the status of the TARI that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract PA768eEnums.ProtectionMode |
getTemperatureProtectMode()
Returns the Temperature Protection Mode of the RFID UTE module of the Device.
|
abstract boolean |
getToggleTarget()
Returns the status of the toggle target that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract int[] |
getTxOnOffTime()
Returns the Tx On/Off Time of the RFID UTE module of the Device.
|
ModuleUHFType |
getType()
Returns the RFID UHF module type of the connected Device.
|
abstract long |
getUartBaudRate()
Returns the Baud Rate of the RFID UTE module of the Device.
|
abstract java.lang.String |
getVersion()
Returns the version of the RFID UHF module.
|
abstract boolean |
initModule()
After the Device is connected, it calls to instantiate the BaseUHF instance.
|
abstract ResultCode |
inventory6c()
Device instructs to inventory the RFID UHF tag of ISO18000-6c Gen2 standard.
|
abstract ResultCode |
kill6c(java.lang.String password)
Device instructs the RFID UHF tag of ISO18000-6c Gen2 specification to be no longer available.
|
abstract ResultCode |
lock6c(Lock6cParam param,
java.lang.String password)
Instructs the Device to lock or unlock the RFID UHF tags of the ISO18000-6c Gen2 standard.
|
abstract ResultCode |
permaLock6c(PermaLock6cParam param,
java.lang.String password)
Instructs the Device to permanent lock or unlock the RFID UHF tags of the ISO18000-6c Gen2 standard.
|
void |
PumpEvent(int event,
java.lang.Object data) |
abstract ResultCode |
readMemory6c(BankType bank,
int offset,
int length,
java.lang.String password)
Device instructs to read specific memory of RFID UHF tag of ISO18000-6c Gen2 standard.
|
void |
removeListener(IRfidUhfEventListener listener)
Removes an event handler when it no longer needs to receive events raised by the instance.
|
abstract void |
sendFwFileData(byte[] bytes)
Writes the firmware data into flash memory.
|
abstract void |
setAlgorithmType(AlgorithmType type)
Sets the algorithm that the RFID UHF module of the appliance uses to perform the inventory.
|
abstract void |
setAmbientTempProtection(int value)
Set the Ambient Temperature threshold of the RFID UTE module of the Device.
|
abstract void |
setAntennaSetting(int dwellTime,
int powerLevel)
Set the Antenna Setting of the RFID UTE module of the Device.
|
abstract void |
setAntennaState(int id,
boolean enable)
Set the Antenna State of the RFID UTE module of the Device.
|
abstract void |
setAntennaSwitchMode(PA768eEnums.SwitchMode mode)
Set the Antenna Switching Mode of the RFID UTE module of the Device.
|
abstract void |
setBiStaticAntenna(boolean enable)
Set the Bi-Static Antenna Setting of the RFID UTE module of the Device.
|
abstract void |
setBLF(BLFType type)
Sets the status of the BLF that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setCfgStorageMode(PA768eEnums.CfgStorageMode mode)
Set the Configuration Storage Mode of RAM/Flash for the Device.
|
abstract void |
setConfig(RFIDConfig rfidConfig)
Setup the config of the RFID module
|
abstract void |
setContinuousMode(boolean enabled)
Sets whether or not the RFID UHF module of the device will run the Inventory continuously.
|
abstract void |
setDwellTime(int time)
Set the dwellTime representing Antenna Setting of the RFID UTE module of the Device.
|
abstract void |
setEncoding(Encoding encoding)
Sets the status of the encoding that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setFastID(boolean enable)
Setup the status of the FastId that the RFID UHF module of the appliance uses to
read tid when inventory.
|
abstract void |
setFastMode(boolean enabled)
Sets the status of the fast mode that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setFixedFreqParams(com.unitech.rfidsdk.RfidUtils.FIXEDFREQ_PARMS params)
Set the multiple Fixed Frequencies value in the frequency hopping table of the RFID UTE module of the Device.
|
abstract void |
setFreqSwitchMode(PA768eEnums.SwitchMode mode)
Set the Antenna Frequency Mode of the RFID UTE module of the Device.
|
abstract void |
setGlobalBand(GlobalBandType band)
Set the national orientation of the RFID UHF module of the instrument.
|
abstract void |
setGpioPinsConfig(int id,
PA768eEnums.GpioDirection mode)
Set the Direction representing the specified GPIO pins of the RFID UTE module of the Device.
|
abstract void |
setGpioPinsState(int id,
PA768eEnums.GpioState mode)
Set the State representing the specified GPIO pins of the RFID UTE module of the Device.
|
abstract void |
setIdleTime(int time)
The RFID UHF module of the instrument sets the time for which the radio waves are not output
in the Inventory operation and the rest of the time.
|
abstract void |
setInventoryTime(int time)
Sets the time at which radio waves are actually output in Inventory operation of the RFID
UHF module of the instrument.
|
abstract void |
setLbt(boolean enable)
Set the Listen-Before-Talk Setting of the RFID UTE module of the Device.
|
abstract void |
setLbtCfgSetting(int value)
Set the LBT RSSI threshold of RAM/Flash for the Device.
|
abstract void |
setMaxQ(int value)
If the algorithm of the RFID UHF module of the device uses Dynamic Q, set the maximum Q value.
|
abstract void |
setMinQ(int value)
If the algorithm of the RFID UHF module of the device uses Dynamic Q, set the minimum Q value.
|
abstract void |
setModuleProfile(int id)
Sets the status of the module's profile that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setPATempProtection(int value)
Set the PA Temperature threshold of the RFID UTE module of the Device.
|
abstract void |
setPower(int power)
Set the antenna output of the RFID UHF module of the instrument.
|
abstract void |
setPowerMode(PowerMode powerMode)
Sets the status of the power mode the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setPowerSaveMode(PA768eEnums.PowerSaveMode mode)
Set the Power Save Mode of the RFID UTE module of the Device.
|
abstract void |
setRegion(PA768eEnums.RegionType type)
Set the Region of the RFID UTE module of the Device.
|
abstract void |
setRFMode(PA768eEnums.RfMode mode)
Set the RF Mode of the RFID UTE module of the Device.
|
abstract void |
setSelected(PA768eEnums.QueryGroupSelected selected)
Set the Query Group's Selected of the RFID UTE module of the Device.
|
abstract void |
setSelectMask6c(int index,
SelectMask6cParam param)
Set the Selection Mask item of the RFID UHF module of the Device.
|
abstract void |
setSelectMask6cAction(int index,
Mask6cAction action)
Set the comparison behavior of the Selection Mask item of the RFID UHF module of the device.
|
abstract void |
setSelectMask6cBank(int index,
BankType bank)
The Selection Mask item of the RFID UHF module of the device sets the memory bank to be compared.
|
abstract void |
setSelectMask6cEnabled(int index,
boolean enabled)
Set whether or not to use the Selection Mask item of the RFID UHF module of the Device.
|
abstract void |
setSelectMask6cOffset(int index,
int offset)
The Selection Mask item of the RFID UHF module of the device sets the start address of the
memory to start the comparison.
|
abstract void |
setSelectMask6cPattern(int index,
Mask6cPattern pattern)
Set the comparison value and length of the Selection Mask item of the RFID UHF module of the device.
|
abstract void |
setSelectMask6cTarget(int index,
Mask6cTarget target)
Set the Flag of the tag to save the comparison result of Selection Mask item of the RFID
UHF module of the device.
|
abstract void |
setSelectMaskUTE(int index,
SelectMaskUTEParam param)
Set the Selection Mask item of the RFID UTE module of the Device.
|
abstract void |
setSelectMaskUTETruncate(int index,
PA768eEnums.TagSelectTruncate truncate)
Set the EPC response format of the Selection Mask item of the RFID UTE module of the device.
|
abstract void |
setSession(Session session)
Device's RFID UHF module sets the Session to check the status of the Session of
the tag to be read by Inventory operation.
|
abstract void |
setStartQ(int value)
If the algorithm of the RFID UHF module of the device is using Dynamic Q, set the
starting Q value.
|
abstract void |
setTagAuthenticate(com.unitech.rfidsdk.RfidUtils.AUTHENTICATE_PARMS param)
Set the Tag Authenticate for the Device.
|
abstract ResultCode |
setTagBlockPermaLock(com.unitech.rfidsdk.RfidUtils.BLOCKPERMALOCK_PARMS param)
Set the Tag Block PermaLock for the Device.
|
abstract void |
setTagFocus(boolean enable)
Set the TagFocus Setting of the RFID UTE module of the Device.
|
abstract void |
setTarget(Target target)
Sets the state of target of tag to read by Inventory operation.
|
abstract void |
setTARI(TARIType type)
Sets the status of the TARI that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setTemperatureProtectMode(PA768eEnums.ProtectionMode mode)
Set the Temperature Protection Mode of the RFID UTE module of the Device.
|
abstract void |
setToggleTarget(boolean enabled)
Sets the status of the toggle target that the RFID UHF module of the appliance uses to perform
the inventory.
|
abstract void |
setTxOnOffTime(int[] times)
Set the Tx On/Off Time of the RFID UTE module of the Device.
|
abstract void |
setUartBaudRate(long baudRate)
Set the Baud Rate of the RFID UTE module of the Device.
|
abstract void |
startFwFileTransfer(java.lang.String fileName,
long fileSize)
Prepares for a firmware update.
|
abstract void |
startFwUpdate(PA768eEnums.FWUpdateMode mode)
Performs a firmware update by switching to update mode
|
abstract ResultCode |
stop()
Instructs the Device to stop the operation being performed.
|
abstract GlobalBandType[] |
supportedGlobalBand()
Returns the global band types that the RFID UHF module support.
|
abstract PA768eEnums.RegionType[] |
supportedRegionType() |
abstract void |
txRandomData(com.unitech.rfidsdk.RfidUtils.TX_RANDDATA param)
Turns on the Radio Module's carrier wave with the specified duration for the Device.
|
abstract ResultCode |
userInventory6c(PA768eEnums.BankType bank,
int offset,
int length,
java.lang.String password)
Returns whether to executes a tag inventory with user specified data operation of the RFID UTE module of the Device.
|
abstract ResultCode |
writeBlockMemory6c(BankType bank,
int offset,
int length,
java.lang.String data,
java.lang.String password)
Device instructs to store data in a specific memory of RFID UTE tag.
|
abstract ResultCode |
writeMemory6c(BankType bank,
int offset,
java.lang.String data,
java.lang.String password)
Device instructs to store data in a specific memory of RFID UHF tag of ISO18000-6c Gen2 standard.
|
protected java.lang.String TAG
protected com.unitech.lib.uhf.module.BaseModuleUHF _module
protected com.unitech.lib.device.IReader _reader
protected RfidUhfEventManager _rfidUhfEventManager
public BaseUHF(com.unitech.lib.device.IReader reader)
reader - public void destroy()
public ModuleUHFType getType()
public void addListener(IRfidUhfEventListener listener)
listener - An instance that implements the IRfidUhfEventListener interface to receive
events from RFID UHF modules.public void removeListener(IRfidUhfEventListener listener)
listener - An instance that implements the IRfidUhfEventListener interface to receive
events from RFID UHF modules.public void clearListener()
public void PumpEvent(int event,
java.lang.Object data)
public abstract boolean initModule()
public abstract ResultCode inventory6c()
public abstract ResultCode readMemory6c(BankType bank, int offset, int length, java.lang.String password)
bank - The BankType enumeration that specifies the Bank for reading memory.offset - An integer specifying the starting address to start reading from the specified
bank. Unit is WORD unit.length - An integer that specifies the length of data to read from the specified start
address. Unit is WORD unit.password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract ResultCode writeMemory6c(BankType bank, int offset, java.lang.String data, java.lang.String password)
bank - The BankType enumeration that specifies the Bank for writing memory.offset - An integer specifying the starting address to start writing from the specified
bank. Unit is WORD unit.data - An Hex type string that specifies the data to be stored in memory from the
specified start address. Data must be specified in WORD units (4 characters).password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract ResultCode lock6c(Lock6cParam param, java.lang.String password)
param - An instance of Lock6cParam that specifies the lock area of the tag memory.password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract ResultCode permaLock6c(PermaLock6cParam param, java.lang.String password)
param - An instance of PermaLock6cParam that specifies a permanent lock area for tag memory.password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract ResultCode kill6c(java.lang.String password)
password - Hex type string that specifies the Kill Password set in the tagpublic abstract ResultCode stop()
public abstract java.lang.String getVersion()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PowerRange getPowerRange() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getPower()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setPower(int power)
throws ReaderException
power - An integer specifying the antenna output of the RFID UHF module.
The setting unit is dBm.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getContinuousMode()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setContinuousMode(boolean enabled)
throws ReaderException
enabled - A boolean specifying whether the RFID UHF module will continue to perform Inventory operations.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract GlobalBandType getGlobalBand() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setGlobalBand(GlobalBandType band) throws ReaderException
band - GlobalBandType enumeration that represents the national orientation of the RFID UHF module.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getInventoryTime()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setInventoryTime(int time)
throws ReaderException
time - An integer that specifies the Inventory time ( Tx On ) of the RFID UHF module.
Inventory Time ( Tx On ) is in milliseconds (ms).ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getIdleTime()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setIdleTime(int time)
throws ReaderException
time - An integer that specifies the Inventory idle time ( Tx Off ) for the RFID UHF module.
Idle Time ( Tx Off ) is in milliseconds (ms).ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract AlgorithmType getAlgorithmType() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setAlgorithmType(AlgorithmType type) throws ReaderException
type - An AlgorithmType enumeration specifying the algorithm.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getStartQ()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setStartQ(int value)
throws ReaderException
value - Dynamic Q An integer that specifies the starting Q value of the algorithm.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getMinQ()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setMinQ(int value)
throws ReaderException
value - Dynamic type that specifies the minimum Q value of the Q algorithm.
The Min Q value must be less than the Max Q value.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getMaxQ()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setMaxQ(int value)
throws ReaderException
value - Dynamic type that specifies the maximum Q value of the Q algorithm.
The Max Q value must be greater than the Min Q value.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract Target getTarget() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTarget(Target target) throws ReaderException
target - The Target enumeration type that specifies the state of the Target
of the tag to be read by the RFID UHF module.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract Session getSession() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSession(Session session) throws ReaderException
session - The Session enumeration that specifies the session of the tag to
read from the RFID UHF module.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getSelectMask6cEnabled(int index)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cEnabled(int index,
boolean enabled)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().enabled - A boolean specifying whether to apply the item.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract Mask6cTarget getSelectMask6cTarget(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cTarget(int index,
Mask6cTarget target)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().target - The Mask6cTarget enumeration that specifies the Flag of the tag to store the
result of the specified Selection Mask item comparison.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract Mask6cAction getSelectMask6cAction(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cAction(int index,
Mask6cAction action)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().action - The Mask6cAction enumeration specifying how to compare the specified Selection Mask items.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract BankType getSelectMask6cBank(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cBank(int index,
BankType bank)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().bank - The BankType enumeration that specifies the memory bank to be compared with the
specified Selection Mask item. Reserved bank is not used.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getSelectMask6cOffset(int index)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cOffset(int index,
int offset)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().offset - An integer specifying the starting address at which the specified Selection
Mask item will start the comparison. The unit specifying the start address of
the Selection Mask is bit.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract Mask6cPattern getSelectMask6cPattern(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6cPattern(int index,
Mask6cPattern pattern)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().pattern - An instance of Mask6cPattern specifying the comparison value and length of
the specified Selection Mask item.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMask6c(int index,
SelectMask6cParam param)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().param - An instance of SelectMask6cParam that specifies the specified Selection Mask item.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract SelectMask6cParam getSelectMask6c(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getSelectMask6cMaxSize()
public abstract Encoding getEncoding() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setEncoding(Encoding encoding) throws ReaderException
encoding - An Encoding enumeration specifying the encoding.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract TARIType getTARI() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTARI(TARIType type) throws ReaderException
type - An TARIType enumeration specifying the TARI.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract BLFType getBLF() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setBLF(BLFType type) throws ReaderException
type - An BLFType enumeration specifying the BLF.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getToggleTarget()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setToggleTarget(boolean enabled)
throws ReaderException
enabled - The toggle target status.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getFastMode()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setFastMode(boolean enabled)
throws ReaderException
enabled - The fast mode status.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getModuleProfile()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setModuleProfile(int id)
throws ReaderException
id - The module profile index.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PowerMode getPowerMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setPowerMode(PowerMode powerMode) throws ReaderException
powerMode - A PowerMode enumeration specifying the power mode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract RFIDConfig getConfig() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setConfig(RFIDConfig rfidConfig) throws ReaderException
rfidConfig - The RFID config settingReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract GlobalBandType[] supportedGlobalBand()
public abstract boolean getFastID()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setFastID(boolean enable)
throws ReaderException
enable - The boolean of FastIdReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.RegionType[] supportedRegionType()
public abstract ResultCode userInventory6c(PA768eEnums.BankType bank, int offset, int length, java.lang.String password)
bank - The BankType enumeration that specifies the Bank for reading memory.offset - An integer specifying the starting address to start reading from the specified
bank. Unit is WORD unit.length - An integer that specifies the length of data to read from the specified start
address. Unit is WORD unit.password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract ResultCode writeBlockMemory6c(BankType bank, int offset, int length, java.lang.String data, java.lang.String password)
bank - The BankType enumeration that specifies the Bank for reading memory.offset - An integer specifying the starting address to start reading from the specified
bank. Unit is WORD unit.length - An integer that specifies the length of data to read from the specified start
address. Unit is WORD unit.data - An Hex type string that specifies the data to be stored in memory from the
specified start address. Data must be specified in WORD units (4 characters).password - If the tag is locked, it is a hex string specifying the Access Password set
in the tag. Up to 8 characters (2 words) can be input.public abstract PA768eEnums.TagSelectTruncate getSelectMaskUTETruncate(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMaskUTETruncate(int index,
PA768eEnums.TagSelectTruncate truncate)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().truncate - The EPC response format of compare the specified Selection Mask items.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract SelectMaskUTEParam getSelectMaskUTE(int index) throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelectMaskUTE(int index,
SelectMaskUTEParam param)
throws ReaderException
index - Integer specifying the radix of the item from 0 to getSelectMask6cMaxSize().param - An instance of SelectMaskUTEParam that specifies the specified Selection Mask item.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract java.lang.String getModelName()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract java.lang.String getSerialNo()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract java.lang.String getSdkVersion()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.SkuId getSkuId() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getAmbientTemperature()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getPATemperature()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.RegionType getRegion() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setRegion(PA768eEnums.RegionType type) throws ReaderException
type - An instance of Region.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract com.unitech.rfidsdk.RfidUtils.ANTENNA_STATE getAntennaState(int id)
throws ReaderException
id - An Integer of Antenna id.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setAntennaState(int id,
boolean enable)
throws ReaderException
id - An Integer of Antenna id.enable - A boolean indicating whether the Antenna State is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract com.unitech.rfidsdk.RfidUtils.ANTENNA_SETTING getAntennaSetting()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setAntennaSetting(int dwellTime,
int powerLevel)
throws ReaderException
dwellTime - An Integer specifying the maximum amount of time in milliseconds.powerLevel - An Integer specifying the power level for the logical antenna port's physical transmit antenna,
measured in cdBm (hundredths of dBm).ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.QueryGroupSelected getSelected() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setSelected(PA768eEnums.QueryGroupSelected selected) throws ReaderException
selected - An instance of PA768eEnums.QueryGroupSelected.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getDwellTime()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setDwellTime(int time)
throws ReaderException
time - An Integer of time in milliseconds.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.PowerSaveMode getPowerSaveMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setPowerSaveMode(PA768eEnums.PowerSaveMode mode) throws ReaderException
mode - An Integer of PA768eEnums.PowerSaveMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.RfMode getRFMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setRFMode(PA768eEnums.RfMode mode) throws ReaderException
mode - An Integer of PA768eEnums.RfMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract long getUartBaudRate()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setUartBaudRate(long baudRate)
throws ReaderException
baudRate - An Long of Baud Rate.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getLbt()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setLbt(boolean enable)
throws ReaderException
enable - A boolean indicating whether the Listen-Before-Talk Setting is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.GpioDirection getGpioPinsConfig(int id) throws ReaderException
id - An Integer of the specified GPIO pins.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setGpioPinsConfig(int id,
PA768eEnums.GpioDirection mode)
throws ReaderException
id - An Integer of the specified GPIO pins.mode - An instance of PA768eEnums.GpioDirection.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.GpioState getGpioPinsState(int id) throws ReaderException
id - An Integer of the specified GPIO pins.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setGpioPinsState(int id,
PA768eEnums.GpioState mode)
throws ReaderException
id - An Integer of the specified GPIO pins.mode - An instance of PA768eEnums.GpioState.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getTagFocus()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTagFocus(boolean enable)
throws ReaderException
enable - A boolean indicating whether the TagFocus Setting is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract boolean getBiStaticAntenna()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setBiStaticAntenna(boolean enable)
throws ReaderException
enable - A boolean indicating whether the Bi-Static Antenna Setting is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getAmbientTempProtection()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setAmbientTempProtection(int value)
throws ReaderException
value - An Integer of Ambient Temperature threshold.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getPATempProtection()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setPATempProtection(int value)
throws ReaderException
value - An Integer of PA Temperature threshold.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.ProtectionMode getTemperatureProtectMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTemperatureProtectMode(PA768eEnums.ProtectionMode mode) throws ReaderException
mode - A instance of PA768eEnums.ProtectionMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract com.unitech.rfidsdk.RfidUtils.FIXEDFREQ_PARMS getFixedFreqParams()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setFixedFreqParams(com.unitech.rfidsdk.RfidUtils.FIXEDFREQ_PARMS params)
throws ReaderException
params - A format of RfidUtils.FIXEDFREQ_PARMS.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void eventNotify(PA768eEnums.EventNotify event, boolean enable) throws ReaderException
event - A instance of PA768eEnums.EventNotify.enable - A boolean indicating whether the Event Notification is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int[] getTxOnOffTime()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTxOnOffTime(int[] times)
throws ReaderException
times - An Integer Array of Tx On/Off Time [onTime, offTime].ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.SwitchMode getAntennaSwitchMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setAntennaSwitchMode(PA768eEnums.SwitchMode mode) throws ReaderException
mode - A instance of PA768eEnums.SwitchMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.SwitchMode getFreqSwitchMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setFreqSwitchMode(PA768eEnums.SwitchMode mode) throws ReaderException
mode - A instance of PA768eEnums.SwitchMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract PA768eEnums.CfgStorageMode getCfgStorageMode() throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setCfgStorageMode(PA768eEnums.CfgStorageMode mode) throws ReaderException
mode - A instance of PA768eEnums.CfgStorageMode.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract int getLbtCfgSetting()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setLbtCfgSetting(int value)
throws ReaderException
value - An Integer of LBT RSSI threshold.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void setTagAuthenticate(com.unitech.rfidsdk.RfidUtils.AUTHENTICATE_PARMS param)
throws ReaderException
param - A format of RfidUtils.AUTHENTICATE_PARMS.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract ResultCode setTagBlockPermaLock(com.unitech.rfidsdk.RfidUtils.BLOCKPERMALOCK_PARMS param) throws ReaderException
param - A format of RfidUtils.BLOCKPERMALOCK_PARMS.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void cwOnOff(com.unitech.rfidsdk.RfidUtils.CW_PARMS param,
boolean enable)
throws ReaderException
param - An instance of RfidUtils.CW_PARMS.enable - A boolean indicating whether the Radio Module's carrier wave, with no data modulation is active.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void txRandomData(com.unitech.rfidsdk.RfidUtils.TX_RANDDATA param)
throws ReaderException
param - An instance of RfidUtils.TX_RANDDATA.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void startFwFileTransfer(java.lang.String fileName,
long fileSize)
throws ReaderException
fileName - A String of file name.fileSize - A Long of file size.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void sendFwFileData(byte[] bytes)
throws ReaderException
bytes - A Byte Array of firmware dataReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public abstract void startFwUpdate(PA768eEnums.FWUpdateMode mode) throws ReaderException
mode - A instance of PA768eEnums.FWUpdateModeReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.