public class ModuleAsReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BARCODE_AIM |
static int |
BARCODE_NONE |
static int |
BARCODE_POWER |
static int |
BAROCDE_TRIGGER |
Constructor and Description |
---|
ModuleAsReader(Device deviceInterface,
ProtocolRfidEventListener listener) |
public static final int BARCODE_NONE
public static final int BARCODE_POWER
public static final int BARCODE_AIM
public static final int BAROCDE_TRIGGER
public ModuleAsReader(Device deviceInterface, ProtocolRfidEventListener listener)
public boolean isDoActionSync()
public void barcodeKeyActionSetting(boolean enabled)
public void startModule()
public void stopModule()
public BuzzerState getBuzzer() throws AsReaderException
AsReaderException
public void setBuzzer(BuzzerState state) throws AsReaderException
AsReaderException
public ResultCode startBuzzerWithBuzzerTime(int buzzerTime)
public GlobalBandType getGlobalBand() throws AsReaderException
AsReaderException
public VibratorState getVibratorState() throws AsReaderException
AsReaderException
public void setVibratorState(VibratorState state) throws AsReaderException
AsReaderException
public ResultCode startVibratorWithVibratorTime(int vibratorTime)
public boolean getContinuousMode() throws AsReaderException
AsReaderException
public void setContinuousMode(boolean enabled) throws AsReaderException
AsReaderException
public int getLimitTagCount() throws AsReaderException
AsReaderException
public void setLimitTagCount(int count) throws AsReaderException
AsReaderException
public java.lang.String getFirmwareVersion() throws AsReaderException
AsReaderException
public java.lang.String getRfModuleVersion() throws AsReaderException
AsReaderException
public java.lang.String getBleVersion() throws AsReaderException
AsReaderException
public int getPowerGain() throws AsReaderException
AsReaderException
public void setPowerGain(int power) throws AsReaderException
AsReaderException
public PowerRange getPowerGainRange() throws AsReaderException
AsReaderException
public int getOperationTime() throws AsReaderException
AsReaderException
public void setOperationTime(int time) throws AsReaderException
AsReaderException
public int getInventoryTime() throws AsReaderException
AsReaderException
public void setInventoryTime(int time) throws AsReaderException
AsReaderException
public int getIdleTime() throws AsReaderException
AsReaderException
public void setIdleTime(int time) throws AsReaderException
AsReaderException
public int getSameTagReportTime() throws AsReaderException
AsReaderException
public void setSameTagReportTime(int time) throws AsReaderException
AsReaderException
public int getAutoOffTime() throws AsReaderException
AsReaderException
public void setAutoOffTime(int time) throws AsReaderException
AsReaderException
public int getSleepTime() throws AsReaderException
AsReaderException
public void setSleepTime(int time) throws AsReaderException
AsReaderException
public java.lang.String getAccessPassword() throws AsReaderException
AsReaderException
public void setAccessPassword(java.lang.String password) throws AsReaderException
AsReaderException
public QuerySession getQuerySession() throws AsReaderException
AsReaderException
public void setQuerySession(QuerySession session) throws AsReaderException
AsReaderException
public QueryTarget getQueryTarget() throws AsReaderException
AsReaderException
public void setQueryTarget(QueryTarget target) throws AsReaderException
AsReaderException
public MaskTargetType getMaskTarget(int index) throws AsReaderException
AsReaderException
public void setMaskTarget(int index, MaskTargetType target) throws AsReaderException
AsReaderException
public MaskActionType getMaskAction(int index) throws AsReaderException
AsReaderException
public void setMaskAction(int index, MaskActionType action) throws AsReaderException
AsReaderException
public MemoryBank getMaskBank(int index) throws AsReaderException
AsReaderException
public void setMaskBank(int index, MemoryBank bank) throws AsReaderException
AsReaderException
public int getMaskOffset(int index) throws AsReaderException
AsReaderException
public void setMaskOffset(int index, int offset) throws AsReaderException
AsReaderException
public StringIntegerValue getMask(int index) throws AsReaderException
AsReaderException
public void setMask(int index, java.lang.String mask) throws AsReaderException
AsReaderException
public void setMask(int index, java.lang.String mask, int length) throws AsReaderException
AsReaderException
public boolean getMaskUsed(int index) throws AsReaderException
AsReaderException
public void setMaskUsed(int index, boolean used) throws AsReaderException
AsReaderException
public QuerySL getQuerySL() throws AsReaderException
AsReaderException
public void setQuerySL(QuerySL sl) throws AsReaderException
AsReaderException
public boolean getKeyAction() throws AsReaderException
AsReaderException
public void setKeyAction(boolean enabled) throws AsReaderException
AsReaderException
public int getBatteryStatus() throws AsReaderException
AsReaderException
public java.util.Date getTime() throws AsReaderException
AsReaderException
public void setTime(java.util.Date time) throws AsReaderException
AsReaderException
public java.lang.String getSerialNumber() throws AsReaderException
AsReaderException
public void setSerialNumber(java.lang.String serialNo) throws AsReaderException
AsReaderException
public boolean getStoredMode() throws AsReaderException
AsReaderException
public void setStoredMode(boolean enabled) throws AsReaderException
AsReaderException
public int getStoredTagCount() throws AsReaderException
AsReaderException
public boolean getReportMode() throws AsReaderException
AsReaderException
public void setReportMode(boolean enabled) throws AsReaderException
AsReaderException
public AlgorithmType getAlgorithm() throws AsReaderException
AsReaderException
public void setAlgorithm(AlgorithmType type) throws AsReaderException
AsReaderException
public int getMinQ() throws AsReaderException
AsReaderException
public void setMinQ(int value) throws AsReaderException
AsReaderException
public int getMaxQ() throws AsReaderException
AsReaderException
public void setMaxQ(int value) throws AsReaderException
AsReaderException
public int getQValue() throws AsReaderException
AsReaderException
public void setQValue(int value) throws AsReaderException
AsReaderException
public int getLinkProfile() throws AsReaderException
AsReaderException
public void setLinkProfile(int value) throws AsReaderException
AsReaderException
public int getDefaultLinkProfile() throws AsReaderException
AsReaderException
public void setDefaultLinkProfile(int value) throws AsReaderException
AsReaderException
public java.lang.String getRegister() throws AsReaderException
AsReaderException
public void setRegister(java.lang.String value) throws AsReaderException
AsReaderException
public void clearEpcMask() throws AsReaderException
AsReaderException
public void saveEpcMask() throws AsReaderException
AsReaderException
public int getEpcMaskCount() throws AsReaderException
AsReaderException
public void setEpcMaskMatchMode(boolean enabled) throws AsReaderException
AsReaderException
public boolean getEpcMaskMatchMode() throws AsReaderException
AsReaderException
public void addEpcMask(SelectMaskEpcParam param) throws AsReaderException
AsReaderException
public SelectMaskEpcParam getEpcMask(int index) throws AsReaderException
AsReaderException
public boolean getReportRSSI() throws AsReaderException
AsReaderException
public void setReportRSSI(boolean enabled) throws AsReaderException
AsReaderException
public long getLBT() throws AsReaderException
AsReaderException
public void setLBT(long table) throws AsReaderException
AsReaderException
public long getLBTMask() throws AsReaderException
AsReaderException
public int getLBTFrequency(int index) throws AsReaderException
AsReaderException
public int getBarcodePowerState() throws AsReaderException
AsReaderException
public void setBarcodePowerState(int state) throws AsReaderException
AsReaderException
public int getBarcodeState() throws AsReaderException
AsReaderException
public int getOperationMode() throws AsReaderException
AsReaderException
public void setOperationMode(int mode) throws AsReaderException
AsReaderException
public int getActionTIDReadLength() throws AsReaderException
AsReaderException
public void setActionTIDReadLength(int length) throws AsReaderException
AsReaderException
public boolean getBarcodeMode() throws AsReaderException
AsReaderException
public void setBarcodeMode(boolean enabled) throws AsReaderException
AsReaderException
public TagDataType getTagDataType() throws AsReaderException
AsReaderException
public void setTagDataType(TagDataType type) throws AsReaderException
AsReaderException
public ResultCode inventory()
public ResultCode readMemory(MemoryBank bank, int offset, int length)
public ResultCode writeMemory(MemoryBank bank, int offset, java.lang.String value)
public ResultCode lock(int action, int mask)
public ResultCode permaLock(int action, int mask)
public ResultCode blockWrite(MemoryBank bank, int offset, java.lang.String value)
public ResultCode blockErase(MemoryBank bank, int offset, int length)
public ResultCode kill(java.lang.String killPassword)
public ResultCode stopOperation()
public ResultCode stopSync()
public ResultCode loadStoredTag()
public ResultCode saveStoredTag(java.lang.String tag)
public ResultCode removeAllStoredTags()
public ResultCode softReset()
public ResultCode hardReset()
public ResultCode defaultParameter()
public ResultCode saveParameter()
public void setDebugMode(boolean enabled) throws AsReaderException
AsReaderException
public ResultCode loadDebugMessage()
public ResultCode enterBypassMode()
public ResultCode enterBarcodeBypassMode(int value)
public ResultCode leaveBypassMode()
public ResultCode startDecode()
public boolean setBarcodeParam(byte[] data)
public boolean setBarcodeParam()
public byte[] getBarcodeParam(byte[] data)
public boolean aimOff()
public boolean aimOn()
public java.nio.charset.Charset getCharset()
public void setCharset(java.nio.charset.Charset charset)
public MaskType getMaskType() throws AsReaderException
AsReaderException
public void setMaskType(MaskType type) throws AsReaderException
AsReaderException
public int getRfidModuleType() throws AsReaderException
AsReaderException
public int getBarcode1DModuleType() throws AsReaderException
AsReaderException
public int getBarcode2DModuleType() throws AsReaderException
AsReaderException
public java.lang.String getRevision()