# RFIDManager ## getInstance Obtains an instance object of `RFIDManager`. ```java public static RFIDManager getInstance() ``` ### Return Value ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `` - RFIDManager - Instance object of the RFIDManager class ``` ### Sample Code ```java RFIDManager rfidManager = RFIDManager.getInstance(); ``` --- ## initialize Initializes the `RFIDManager`. ```java public void initialize() ``` ### Sample Code ```java RFIDManager.getInstance().initialize(); ``` --- ## setCallback Sets the callback `RFIDManagerCallback`. ```java public void setCallback(RFIDManagerCallback callback) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `callback` - RFIDManagerCallback - Instance object of the [RFIDManagerCallback](RFIDManagerCallback.md) class ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setCallback(this); ``` --- ## setMaxTagValue Sets the maximum number of RF tags readable in a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void setMaxTagValue(@IntRange(from = 0, to = 0xFF)int value) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `value` - int - Maximum number of RF tags readable in a single inventory ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setMaxTagValue(10); ``` --- ## getMaxTagValue Retrieves the maximum number of RF tags readable in a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public int getMaxTagValue() ``` ### Return Value ```{list-table} :align: left :class: list-table * - Type - Description * - int - Maximum number of RF tags readable in a single inventory ``` ### Sample Code ```java int maxTag = AsReaderSDK.getInstance().getRFIDManager().getMaxTagValue(); ``` --- ## setMaxTimeValue Sets the maximum read time for a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void setMaxTimeValue(@IntRange(from = 0, to = 0xFF)int value) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Maximum read time for a single inventory ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setMaxTimeValue(10); ``` --- ## getMaxTimeValue Retrieves the maximum read time for a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public int getMaxTimeValue() ``` ### Return Value ```{list-table} :align: left :class: list-table * - Type - Description * - int - Maximum read time for a single inventory ``` ### Sample Code ```java int maxTime = AsReaderSDK.getInstance().getRFIDManager().getMaxTimeValue(); ``` --- ## setRepeatCycleValue Sets the number of repeated reads in a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void setRepeatCycleValue(@IntRange(from = 0, to = 0xFFFF)int value) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Number of repeated reads in a single inventory ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setRepeatCycleValue(0); ``` --- ## getRepeatCycleValue Retrieves the number of repeated reads in a single inventory. ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public int getRepeatCycleValue() ``` ### Return Value ```{list-table} :align: left :class: list-table * - Type - Description * - int - Number of repeated reads in a single inventory ``` ### Sample Code ```java int repeatCycle = AsReaderSDK.getInstance().getRFIDManager().getRepeatCycleValue(); ``` --- ## setRSSIEnable Sets whether to include RSSI information. ```java public void setRSSIEnable(boolean enable) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `enable` - boolean - true: include false: do not include ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setRSSIEnable(true); ``` --- ## getRSSIEnable Retrieves whether RSSI information is included. ```java public boolean getRSSIEnable() ``` ### Return Value ```{list-table} :align: left :class: list-table * - Type - Description * - boolean - true: included false: not included ``` ### Sample Code ```java boolean status = AsReaderSDK.getInstance().getRFIDManager().getRSSIEnable(); ``` --- ## startInventory Starts inventory. After executing this method, inventory data is received in the callback [onTagReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontagreceived), and the result of auto-finish is received in [onAutoInventoryFinished](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onautoinventoryfinished). ```{admonition} :class: warning For ASR-M30S, all parameters are ignored. Calling this method only starts the inventory. ``` ```java public void startInventory(@IntRange(from = 0, to = 0xFF) int maxTags, @IntRange(from = 0, to = 0xFF) int maxTime, @IntRange(from = 0, to = 0xFFFF) int repeatCycle) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `maxTags` - int - Maximum number of RF tags to read * - `maxTime` - int - Maximum read time * - `repeatCycle` - int - Number of repeated reads ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().startInventory(0, 0, 0); ``` --- ## startInventoryRSSI Starts inventory including RSSI values. After executing this method, inventory data is received in the callback [onTagWithRssiReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontagwithrssireceived). ```java public void startInventoryRSSI(@IntRange(from = 0, to = 0xFF) int maxTags, @IntRange(from = 0, to = 0xFF) int maxTime, @IntRange(from = 0, to = 0xFFFF) int repeatCycle) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `maxTags` - int - Maximum number of RF tags to read * - `maxTime` - int - Maximum read time * - `repeatCycle` - int - Number of repeated reads ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().startInventoryRSSI(0, 0, 0); ``` --- ## startInventoryTagID Starts inventory including TID values. After executing this method, inventory data is received in the callback [onTagWithTidReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontagwithtidreceived). ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void startInventoryTagID(@IntRange(from = 0, to = 0xFF) int maxTags, @IntRange(from = 0, to = 0xFF) int maxTime, @IntRange(from = 0, to = 0xFFFF) int repeatCycle) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `maxTags` - int - Maximum number of RF tags to read * - `maxTime` - int - Maximum read time * - `repeatCycle` - int - Number of repeated reads ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().startInventoryTagID(0, 0, 0); ``` --- ## startRFMDecode Starts inventory for temperature and humidity RF tags. After executing this method, temperature and humidity data is received in the callback [onPcEpcSensorDataReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onpcepcsensordatareceived). (Specific to ASR-A3xD) ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void startRFMDecode(@IntRange(from = 0, to = 0xFF) int codeType, @IntRange(from = 0, to = 0xFF) int maxTags, @IntRange(from = 0, to = 0xFF) int maxTime, @IntRange(from = 0, to = 0xFFFF) int repeatCycle) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `codeType` - int - Sensor type of the tag (0x02: Humidity, 0x03: Temperature) * - `maxTags` - int - Maximum number of RF tags to read * - `maxTime` - int - Maximum read time * - `repeatCycle` - int - Number of repeated reads ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().startRFMDecode(0x02, 0, 0, 0); ``` --- ## stopDecode Stops inventory. ```java public void stopDecode() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().stopDecode(); ``` --- ## setRegion Sets the AsReader region. After executing this method, the region setting result is received in the callback [didReceiveRegion](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didreceiveregion). (Specific to ASR-A3xD) ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void setRegion(int region) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `region` - int - KOREA (0x11), USA Wide (0x21), USA Narrow (0x22), EUROPE (0x31), JAPAN (0x41), CHINA (0x51),(0x52), BRAZIL (0x61),(0x62), AU HK (0x71) ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setRegion(0x11); ``` --- ## getRegion Retrieves the AsReader region. After executing this method, the region is received in the callback [onRegionReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onregionreceived). ```java public void getRegion() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getRegion(); ``` --- ## setSmartHopping Sets the hopping mode. After executing this method, the result of the hopping mode setting is received in the callback [didSetSmartMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetsmartmode). (Specific to ASR-A3xD) ```{admonition} :class: warning This function is supported only by certain models, such as ASR-A3xD. ``` ```java public void setSmartHopping(boolean isOn) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `isOn` - boolean - true: Smart hopping mode false: Normal mode ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setSmartHopping(true); ``` --- ## getFrequencyHoppingMode Retrieves the frequency hopping mode. After calling this method, the hopping mode is received in the callback method [onReceiveSmartMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivesmartmode). (ASR-A3xD only) ```java public void getFrequencyHoppingMode() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getFrequencyHoppingMode(); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## setOptimumFrequencyHoppingTable Sets the frequency hopping table. After calling this method, the result is received in the callback method [didSetOptiFreqHPTable](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetoptifreqhptable). (ASR-A3xD only) ```java public void setOptimumFrequencyHoppingTable() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setOptimumFrequencyHoppingTable(); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## getFrequencyHoppingTable Retrieves the frequency hopping table. After calling this method, the table is received in the callback method [onGetFrequencyHoppingTableSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ongetfrequencyhoppingtablesuccess). (ASR-A3xD only) ```java public void getFrequencyHoppingTable() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getFrequencyHoppingTable(); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## setChannel Sets the channel. After calling this method, the result is received in the callback method [onSetChannelSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsetchannelsuccess). (ASR-A3xD only) ### Parameters ```{list-table} :align: left :class: list-table * - Parameter - Type - Description * - num - int - Channel number * - offset - int - Channel offset ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setChannel(0, 0); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## getChannel Retrieves the channel. After calling this method, the channel is received in the callback method [onChannelReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onchannelreceived). (ASR-A3xD only) ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getChannel(); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## setSession Sets the session. After calling this method, the result is received in the callback method [onSetSessionSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsetsessionsuccess). ```java public void setSession(@IntRange(from = 0, to = 4) int session) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Parameter - Type - Description * - session - int - S0:0, S1:1, S2:2, S3:3 ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setSession(S0, 0); ``` --- ## getSession Retrieves the session. After calling this method, the session is received in the callback method [onSessionReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsessionreceived). ```java public void getSession() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getSession(); ``` --- ## setAntiCollisionMode Sets the anti-collision algorithm. After calling this method, the result is received in the callback method [onSetAntiCollisionModeSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsetanticollisionmodesuccess). (ASR-A3xD only) ```java public void setAntiCollisionMode(@IntRange(from = 0, to = 0xFF) int mode, @IntRange(from = 0, to = 0xFF) int start, @IntRange(from = 0, to = 0xFF) int max, @IntRange(from = 0, to = 0xFF) int min, @IntRange(from = 0, to = 0xFF) int counter) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Parameter - Type - Description * - mode - int - Anti-collision mode: Fixed Q (0x00), Dynamic Q (0x01) * - start - int - Q start position * - max - int - Maximum Q value * - min - int - Minimum Q value * - counter - int - Counter ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setAntiCollisionMode(0x00, 0, 0, 0, 1); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## getAntiCollisionMode Retrieves the anti-collision algorithm. After calling this method, the mode is received in the callback method [onReceiveAntimode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceiveantimode). (ASR-A3xD only) ```java public void getAntiCollisionMode() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getAntiCollisionMode(); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## setFhLbtParam Sets the FH and LBT parameters. After calling this method, the result is received in the callback method [onSetFhLbtParamSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsetfhlbtparamsuccess). (ASR-A3xD only) ```java public void setFhLbtParam(@IntRange(from = 0, to = 0xFFFF) int readTime, @IntRange(from = 0, to = 0xFFFF) int idleTime, @IntRange(from = 0, to = 0xFFFF) int senseTime, @IntRange(from = 0, to = 0xFFFF) int rfLevel, @IntRange(from = 0, to = 0xFF) int fhMode, @IntRange(from = 0, to = 0xFF) int lbtMode, @IntRange(from = 0, to = 0xFF) int cwMode) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Parameter - Type - Description * - readTime - int - Read time * - idleTime - int - Idle time * - senseTime - int - Carrier sense time * - rfLevel - int - Target frequency level * - fhMode - int - On (>=0x01) / Off (0x00) * - lbtMode - int - On (>=0x01) / Off (0x00) * - cwMode - int - On (0x01) / Off (0x00) ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setFhLbtParam(0, 0, 0, 0, 0x01, 0x01, 0x01); ``` ```{admonition} :class: warning This feature is supported only on certain models, such as ASR-A3xD. ``` --- ## getFhLbtParam Retrieves the FH and LBT parameters. After executing this method, the FH and LBT parameters are received via the callback method [onFhLbtReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onfhlbtreceived). (Exclusive to ASR-A3xD) ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-A3xD. ``` ```java public void getFhLbtParam() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getFhLbtParam(); ``` --- ## setOutputPowerLevel Sets the power level. After executing this method, the result of setting the power level is received via the callback method [onSetOutputPowerLevelSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsetoutputpowerlevelsuccess). ```java public void setOutputPowerLevel(@IntRange(from =0, to = 250) int level) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `level` - int - Power level ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setOutputPowerLevel(25); ``` --- ## getOutputPowerLevel Retrieves the current power level and the maximum and minimum configurable power levels. After executing this method, these values are received via the callback method [onTxPowerLevelReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontxpowerlevelreceived). ```java public void getOutputPowerLevel() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getOutputPowerLevel(); ``` --- ## setModulation Sets the modulation mode. After executing this method, the result is received via the callback method [didSetModulation](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetmodulation). ```java public void setModulation(String mode) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - mode - String - Debug mode ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setModulation("160KHz, FM0, DR=64/3"); ``` --- ## getModulation Retrieves the current modulation mode. After executing this method, the mode is received via the callback method [onModulationReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onmodulationreceived). ```java public void getModulation() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getModulation(); ``` --- ## setTriggerStopCondition Sets the trigger stop conditions. After executing this method, the result is received via the callback method [onSetTriggerStopConditionSuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onsettriggerstopconditionsuccess). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-A3xD. ``` ```java public void setTriggerStopCondition(@IntRange(from = 0, to = 0xFF) int maxTags, @IntRange(from = 0, to = 0xFF) int maxTime, @IntRange(from = 0, to = 0xFFFF) int repeatCycle) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - maxTags - int - Maximum number of RF tags to read * - maxTime - int - Maximum read time * - repeatCycle - int - Number of repeated reads ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setTriggerStopCondition(0, 0, 0); ``` --- ## readTagMemory Reads data from a specified memory bank of a target RF tag. After executing this method, the read data is received via the callback methods [onTagMemoryReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontagmemoryreceived) and [onTagMemoryLongReceived](AsReaderSDK.getInstance().getRFIDManager()Callback.md#ontagmemorylongreceived). ```java public void readTagMemory(long password, String targetEPC, RFIDConst.MemoryBank memoryBank, RFIDConst.ReadMemoryType readType) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - password - long - Access password * - targetEPC - String - Target EPC data * - memoryBank - RFIDConst.MemoryBank - Target memory bank Enum type [MemoryBank](RFIDConst.md#memorybank) * - readType - RFIDConst.ReadMemoryType - Type of memory read Enum type [ReadMemoryType](RFIDConst.md#readmemorytype) ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().readTagMemory(12345678, "0123456789", RFIDConst.MemoryBank.RESERVED, RFIDConst.ReadMemoryType.NORMAL); ``` --- ## writeTagMemory Writes data to a specified memory bank of a target RF tag. After executing this method, the result is received via the callback method [onWriteToTagMemorySuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onwritetotagmemorysuccess). ```java public void writeTagMemory(long password, String targetEPC, RFIDConst.MemoryBank memoryBank, RFIDConst.WriteMemoryType writeType, byte[] writeData) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - password - long - Access password * - targetEPC - String - Target EPC data * - memoryBank - RFIDConst.MemoryBank - Target memory bank Enum type [MemoryBank](RFIDConst.md#memorybank) * - writeType - RFIDConst.WriteMemoryType - Type of write Enum type [WriteMemoryType](RFIDConst.md#writememorytype) * - writeData - byte[] - Data to write ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().writeTagMemory(12345678, "0123456789", RFIDConst.MemoryBank.RESERVED, RFIDConst.WriteMemoryType.NORMAL, writeData); ``` --- ## killTag Kills an RF tag. After executing this method, the result is received via the callback method [onKillTagMemorySuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onkilltagmemorysuccess). ```java public void killTag(long password, String targetEPC) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - password - long - Password * - targetEPC - String - Target EPC data ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().killTag(12345678, "0123456789"); ``` --- ## lockTagMemory Locks a specified memory bank of a target RF tag. After executing this method, the result is received via the callback method [onLockTagMemorySuccess](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onlocktagmemorysuccess). ```java public void lockTagMemory(long password, String targetEPC, @IntRange(from = 0, to = 0x0FFFFF) int lockData) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - password - long - Password * - targetEPC - String - Target EPC data * - lockData - int - 24-bit data required; pad with leading zeros if less than 24 bits ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().lockTagMemory(12345678, "0123456789", 0); ``` --- ## updateRegistry Updates the registry settings (saved to the AsReader flash memory). After executing this method, the result is received via the callback method [didUpdateRegistry](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didupdateregistry). (Exclusive to ASR-A3xD) ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-A3xD. ``` ```java public void updateRegistry() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().updateRegistry(); ``` --- ## setContinuousMode Sets whether AsReader performs continuous scanning. After executing this method, the result is received via the callback method [didSetContinuousMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetcontinuousmode). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setContinuousMode(boolean isOn) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - isOn - boolean - true: continuous scan false: single scan ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setContinuousMode(true); ``` --- ## getContinuousMode Retrieves whether AsReader is in continuous scan mode. After executing this method, the result is received via the callback method [onReceiveContinuousMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivecontinuousmode). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getContinuousMode() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getContinuousMode(); ``` --- ## setAutoOffTime Sets the AsReader auto-off time. After executing this method, the result is received via the callback method [didSetAutoOffTime](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetautoofftime). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setAutoOffTime(int time) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - time - int - Auto-off time (0–1800s), 0: disables auto-off ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setAutoOffTime(10); ``` --- ## getAutoOffTime Retrieves the AsReader auto-off time. After executing this method, the value is received via the callback method [onReceiveAutoOffTime](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceiveautoofftime). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getAutoOffTime() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getAutoOffTime(); ``` --- ## setSessionFlag Sets the SessionFlag. After executing this method, the result is received via the callback method [didSetSessionFlag](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetsessionflag). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setSessionFlag(int sessionFlag) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - sessionFlag - int - SessionFlag ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setSessionFlag(0); ``` --- ## getSessionFlag Retrieves the SessionFlag. After executing this method, the value is received via the callback method [onReceiveSessionFlag](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivesessionflag). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getSessionFlag() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getSessionFlag(); ``` --- ## setQValue Sets the Q value. After executing this method, the result is received via the callback method [didSetQValue](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetqvalue). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setQValue(int value) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Q value ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setQValue(1); ``` --- ## getQValue Retrieves the Q value. After executing this method, the value is received via the callback method [onReceiveQValue](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceiveqvalue). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getQValue() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getQValue(); ``` --- ## setHidMode Sets HID mode. After executing this method, the result is received via the callback method [didSetHidMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsethidmode). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setHidMode(boolean hidMode) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - hidMode - boolean - true: HID mode false: not HID mode ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setHidMode(true); ``` --- ## getHidMode Retrieves whether HID mode is active. After executing this method, the result is received via the callback method [onReceiveHidMode](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivehidmode). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getHidMode() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getHidMode(); ``` --- ## setDutyRatio Sets the duty ratio (0–15). 0: full load, 1: 5%, 2: 10%, …, 15: 90%. Example: 5% means stopping for 5% of the time. After executing this method, the result is received via the callback method [didSetDutyRatio](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetdutyratio). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setDutyRatio(int dutyRatio) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - dutyRatio - int - Duty ratio ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setDutyRatio(1); ``` --- ## getDutyRatio Retrieves the duty ratio. After executing this method, the value is received via the callback method [onReceiveDutyRatio](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivedutyratio). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getDutyRatio() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getDutyRatio(); ``` --- ## setDutyRatioBaseTime Sets the base time for the duty ratio (0–65000ms). After executing this method, the result is received via the callback method [didSetDutyRatioBaseTime](AsReaderSDK.getInstance().getRFIDManager()Callback.md#didsetdutyratiobasetime). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void setDutyRatioBaseTime(int dutyRatioBaseTime) ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - dutyRatioBaseTime - int - Duty ratio base time ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().setDutyRatioBaseTime(1); ``` --- ## getDutyRatioBaseTime Retrieves the base time for the duty ratio. After executing this method, the value is received via the callback method [onReceiveDutyRatioBaseTime](AsReaderSDK.getInstance().getRFIDManager()Callback.md#onreceivedutyratiobasetime). ```{admonition} :class: warning This feature is only supported on certain models, such as ASR-M30S. ``` ```java public void getDutyRatioBaseTime() ``` ### Sample Code ```java AsReaderSDK.getInstance().getRFIDManager().getDutyRatioBaseTime(); ```