public class Configurator extends Object
Constructor and Description |
---|
Configurator(cipherlab.rfid.device1800.config.Connector connector)
Initializes a new instance of the Configurator with a given Connector
that is already connected.
|
Modifier and Type | Method and Description |
---|---|
void |
ClearDeviceMemoryData()
Clears the 1800 device internal memory.
|
void |
EnableBluetoothPowerSaving(boolean enabled)
Enables or disables Bluetooth power saving.
|
void |
EnableBluetoothSecureSimplePairing(boolean enabled)
Enables or disables Bluetooth Secure Simple Pairing.
|
void |
EnableCommandBeep(boolean enabled)
Enables or disables the 1800 device command beeper.
|
void |
EnableDeviceTrigger(boolean enabled)
Enables or disables the 1800 deviceˇ¦s scan trigger key.
|
void |
EnableOnlineModeDelay(boolean enabled) |
DeviceVoltageInfo |
GetBatteryLifePercent()
Gets the 1800 device battery life in percentage.
|
BluetoothInterface |
GetBluetoothInterfaceType()
Gets the current Bluetooth Interface.
|
DeviceBTSpp |
GetConncetionInterfaceSppSlave()
Gets Bluetooth SPP Slave connection settings of the 1800 device.
|
DeviceHID |
GetConnectionInterfaceHid()
Gets the Bluetooth HID connection settings of the 1800 device.
|
DeviceCounterFormat |
GetCounterFormat()
Gets counter format settings.
|
DeviceCounterOptions |
GetCounterResetOptions()
Gets the 1800 device counter reset settings.
|
DeviceInfo |
GetDeviceInfo()
Gets the firmware information about the 1800 device.
|
DeviceNotification |
GetDeviceNotificationState()
Gets the notification settings of the 1800 device, including system and
good read beeper, low battery alert, LED and vibrator.
|
OperatingMode |
GetDeviceOperatingMode()
Gets the 1800 device operating mode.
|
DevicePowerSaving |
GetDevicePowerSavingState()
Gets the power saving timeouts of the 1800 device.
|
Time |
GetDeviceTime()
Gets the 1800 device clock date and time.
|
EPCFilter |
GetEPCFilter()
Gets the EPC filter settings of the 1800 device.
|
KeyActionString[] |
GetKeyActionString()
Gets the 1800 device hardware keys actions and the corresponding strings
that will be sent when the key action is triggered.
|
KeyActionString |
GetKeyActionString(int index) |
TransmissionDelay |
GetMemoryModeDelay()
Gets the delay time of memory mode data transmission.
|
MultiTagListType |
GetMultiTagListType()
Gets the data type in which the multi-tag list of the 1800 device should
store in order to avoid duplicate tag scans.
|
int |
GetMultiTagModeCounterLimit()
Gets the counter limit of the current multi-tag settings.
|
DeviceMultiTag |
GetMultiTagModeSettings()
Gets the multi-tag scan mode settings of the 1800 device.
|
TransmissionDelay |
GetOnlineModeDelay()
Gets the delay time of online mode data transmission.
|
OutputDataFormat |
GetOutputDataFormat()
Gets the output data format of the 1800 device.
|
DeviceDataSequence |
GetOutputDataSequence()
Sets the times to reset the counter on the 1800 device.
|
int |
GetQValue()
Gets the Q value.
|
EPCEncodingScheme |
GetRecognizedEPCEncoding()
Gets the EPC encoding schemes that are recognized by the 1800 device.
|
DeviceRFIDDataFormat |
GetRFIDDataFormat()
Gets RFID data format settings.
|
RFIDMode |
GetRFIDMode()
Gets the RFID scan mode of the 1800 device.
|
int |
GetRFIDPowerLevel()
Gets the 1800 deviceˇ¦s RFID module signal strength level from 0 to 3.
|
boolean |
GetRFIDSwitchStatus()
Gets the 1800 deviceˇ¦s reader switch position ˇV RFID or EXT. mode.
|
ScanMode |
GetScanMode()
Gets the current scan mode.
|
RFIDMemoryBank |
GetSelectedMemoryBank() |
int |
GetSingleTagModeSessionTimeout()
Gets the current scan session timeout in single tag scan mode.
|
DeviceTimestampFormat |
GetTimestampFormat()
Gets the format of timestamp settings.
|
USBDriver |
GetUSBDriver()
Gets the current USB driver in use.
|
String |
GetVersion()
Get the 1800 jar library version.
|
boolean |
IsBluetoothPowerSavingEnabled()
Gets Bluetooth power saving status.
|
boolean |
IsBluetoothSecureSimplePairingEnabled()
Gets the value indicating whether Bluetooth Secure Simple Pairing is
enabled.
|
boolean |
IsOnlineModeDelayEnabled() |
void |
LoadFactoryDefaultSettings()
Resets the 1800 device to its factory default settings.
|
void |
LoadUserSettings()
Resets the 1800 device with user setting.
|
void |
ResetDataCounter()
Sets the times to reset the counter on the 1800 device.
|
void |
SaveUserSettings()
Saves the current 1800 device setting as the user setting.
|
void |
SelectMemoryBank(RFIDMemoryBank bank) |
void |
SetBluetoothInterfaceType(BluetoothInterface BTInterface)
Changes the current Bluetooth Interface.
|
void |
SetConnectionInterfaceHid(DeviceHID HidSetting)
Configures the Bluetooth HID connection settings of the 1800 device.
|
void |
SetConnectionInterfaceSppSlave(DeviceBTSpp spp)
Configures the Bluetooth SPP Slave connection settings of the 1800
device.
|
void |
SetCounterFormat(DeviceCounterFormat format)
Sets counter format.
|
void |
SetCounterResetOptions(DeviceCounterOptions option)
Sets the times to reset the counter on the 1800 device.
|
void |
SetDeviceNotificationState(DeviceNotification devNotif)
Changes the notification settings of the 1800 device, including system
and good read beep, low battery alert, LED indication and vibration.
|
void |
SetDeviceOperatingMode(OperatingMode mode)
Changes the 1800 device operating mode.
|
void |
SetDevicePowerSavingState(DevicePowerSaving ps)
Sets the power saving timeouts of the 1800 device.
|
void |
SetDeviceTime(Time dateTime)
Changes the 1800 device clock.
|
void |
SetEPCFilter(EPCFilter filter)
Sets how the 1800 device filters RFID tags.
|
void |
SetFirmwareUpdateInterface(FirmwareUpdateInterface interfaceType)
Sets firmware update interface of the 1800 device.
|
void |
SetKeyActionString(int index,
KeyActionString keyActStr) |
void |
SetKeyActionString(KeyActionString[] keyActStr)
Sets the 1800 device hardware keys actions and the corresponding strings
that will be sent when the key action is triggered.
|
void |
SetLogPath(String path)
The path parameter is not empty, log messages are written to a single log
file.
|
void |
SetMemoryModeDelay(TransmissionDelay dataTransmissionDelay)
Sets the delay time of Memory mode data transmission.
|
void |
SetMultiTagListType(MultiTagListType type)
Sets the data type in which the multi-tag list of the 1800 device should
store in order to avoid duplicate tag scans.
|
void |
SetMultiTagModeCounterLimit(int counterLimit)
Changes the counter limit of current multi-tag settings.
|
void |
SetMultiTagModeSettings(DeviceMultiTag obj)
Changes the multi-tag settings of the 1800 device.
|
void |
SetOnlineModeDelay(TransmissionDelay bufferDelay)
Changes the delay time of online mode data transmission.
|
void |
SetOutputDataFormat(OutputDataFormat dataFormat)
Sets the data output data format of the 1800 device.
|
void |
SetOutputDataSequence(DeviceDataSequence section)
Sets the times to reset the counter on the 1800 device.
|
void |
SetQValue(int Q)
Sets the Q value.
|
void |
SetRecognizedEPCEncoding(EPCEncodingScheme encoding)
Sets the EPC encoding schemes that are recognized by the 1800 device.
|
void |
SetRFIDDataFormat(DeviceRFIDDataFormat format)
Sets RFID data format.
|
void |
SetRFIDMode(RFIDMode mode)
Sets the RFID scan mode of the 1800 device.
|
void |
SetRFIDPowerLevel(int level)
Sets the 1800 device RFID module signal strength level.
|
void |
SetScanMode(ScanMode mode)
Changes the current scan mode.
|
void |
SetSingleTagModeSessionTimeout(int sessionTimeout)
Sets current scan session timeout in single tag scan mode.
|
void |
SetTimestampFormat(DeviceTimestampFormat format)
Sets timestamp format.
|
void |
SetUSBDriver(USBDriver driver)
Sets the current USB driver in use.
|
void |
ShutdownDevice()
Shuts down the 1800 device.
|
public Configurator(cipherlab.rfid.device1800.config.Connector connector) throws ConfiguratorException
ConfiguratorException
public String GetVersion()
String version = config.GetVersion();
public void SetLogPath(String path)
BluetoothSocketConnector mConnector = new BluetoothSocketConnector(this); Configurator config = new Configurator(mConnector); config.SetLogPath("test.log");
public DeviceInfo GetDeviceInfo() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceInfo info = config.GetDeviceInfo(); mInfomation[0].setText(info.Model); mInfomation[1].setText(info.SerialNumber); mInfomation[2].setText(info.UserVersion); mInfomation[3].setText(info.MacAddress);
DeviceInfo
ConfiguratorException
public Time GetDeviceTime() throws ConfiguratorException
import cipherlab.rfid.device1800.config; Time currect = config.GetDeviceTime();
Time
ConfiguratorException
SetDeviceTime(Time)
public void SetDeviceTime(Time dateTime) throws ConfiguratorException
import cipherlab.rfid.device1800.config; Time now = new Time(); config.SetDeviceTime(now.setToNow());
dateTime
- Change the device current time.ConfiguratorException
GetDeviceTime()
public void SetDevicePowerSavingState(DevicePowerSaving ps) throws Exception
import cipherlab.rfid.device1800.config; DevicePowerSaving timeout = new DevicePowerSaving(); timeout.Standby = 20; timeout.Shutdown = 10; config.SetDevicePowerSavingState(timeout);
ps
- See DevicePowerSaving
classException
GetDevicePowerSavingState()
public DevicePowerSaving GetDevicePowerSavingState() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DevicePowerSaving timeout = config.GetDevicePowerSavingState();
DevicePowerSaving
ConfiguratorException
SetDevicePowerSavingState(cipherlab.rfid.device1800.config.DevicePowerSaving)
public void EnableCommandBeep(boolean enabled) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DevicePowerSaving timeout = config.GetDevicePowerSavingState();
enabled
- "True" to enable the command beeper; "False" to disable the
command beeper.ConfiguratorException
public DeviceVoltageInfo GetBatteryLifePercent() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceVoltageInfo Battery = config.GetBatteryLifePercent(); string str = String.Format(ˇ§Battery = %dˇ¨, Battery.Percentage);
DeviceVoltageInfo
ConfiguratorException
public DeviceNotification GetDeviceNotificationState() throws ConfiguratorException
import cipherlab.rfid.device1800.config; int Battery = config.GetBatteryLifePercent(); string str = String.Format(ˇ§Battery = {0}%ˇ¨, Battery);
DeviceNotification
ConfiguratorException
SetDeviceNotificationState(cipherlab.rfid.device1800.config.DeviceNotification)
public void SetDeviceNotificationState(DeviceNotification devNotif) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceNotification nor = new DeviceNotification(); nor.LowBatteryAlertEnabled = true; nor.LEDEnabled = true; nor.LEDDuration = 4; nor.VibratorEnabled = true; nor.VibratorDuration = 10; nor.GoodReadBeeperEnabled = true nor.BeeperVolume = BeepVolume.High; nor.BeeperFrequency = BeepFrequency.Freq_1kHz; nor.BeeperDuration = BeepDuration.Long; config.SetDeviceNotificationState(nor);
devNotif
- See
DeviceNotification
classConfiguratorException
GetDeviceNotificationState()
public OperatingMode GetDeviceOperatingMode() throws ConfiguratorException
import cipherlab.rfid.device1800.config; OperatingMode System_MemoryMode = config.GetDeviceOperatingMode();
OperatingMode
ConfiguratorException
SetDeviceOperatingMode(cipherlab.rfid.device1800.config.OperatingMode)
public void SetDeviceOperatingMode(OperatingMode mode) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetDeviceOperatingMode(OperatingMode.Online);
mode
- Change the device current operation modeConfiguratorException
GetDeviceOperatingMode()
public boolean IsOnlineModeDelayEnabled() throws ConfiguratorException
ConfiguratorException
public void EnableOnlineModeDelay(boolean enabled) throws ConfiguratorException
ConfiguratorException
public TransmissionDelay GetOnlineModeDelay() throws ConfiguratorException
import cipherlab.rfid.device1800.config; TransmissionDelay System_TransmissionDelay = config.GetOnlineModeDelay();
TransmissionDelay
ConfiguratorException
SetOnlineModeDelay(cipherlab.rfid.device1800.config.TransmissionDelay)
public void SetOnlineModeDelay(TransmissionDelay bufferDelay) throws ConfiguratorException
import cipherlab.rfid.device1800.config; TransmissionDelay System_TransmissionDelay = TransmissionDelay.Delay_1sec; config.SetOnlineModeDelay(System_TransmissionDelay);
bufferDelay
- See TransmissionDelay
enumeration.ConfiguratorException
GetOnlineModeDelay()
public TransmissionDelay GetMemoryModeDelay() throws ConfiguratorException
import cipherlab.rfid.device1800.config; TransmissionDelay System_DataTransmissionDelay = config.GetMemoryModeDelay();
TransmissionDelay
ConfiguratorException
SetMemoryModeDelay(cipherlab.rfid.device1800.config.TransmissionDelay)
public void SetMemoryModeDelay(TransmissionDelay dataTransmissionDelay) throws ConfiguratorException
import cipherlab.rfid.device1800.config; TransmissionDelay DataTransmissionDelay = TransmissionDelay.Delay_1sec; config.SetMemoryModeDelay(System_DataTransmissionDelay);
dataTransmissionDelay
- See TransmissionDelay
enumeration.ConfiguratorException
GetMemoryModeDelay()
public void LoadFactoryDefaultSettings() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.LoadFactoryDefaultSettings();
ConfiguratorException
public void LoadUserSettings() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.LoadUserSetting();
ConfiguratorException
public void SaveUserSettings() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SaveUserSettings();
ConfiguratorException
public void SetFirmwareUpdateInterface(FirmwareUpdateInterface interfaceType) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetFirmwareUpdateInterface(FirmwareUpdateInterface.USB);
interfaceType
- See
FirmwareUpdateInterface
enumeration.ConfiguratorException
public void ShutdownDevice() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.ShutdownDevice();
ConfiguratorException
public boolean IsBluetoothPowerSavingEnabled() throws ConfiguratorException
import cipherlab.rfid.device1800.config; boolean Interface_BluetoothPowerSaving = config.IsBluetoothPowerSavingEnabled();
ConfiguratorException
EnableBluetoothPowerSaving(boolean)
public void EnableBluetoothPowerSaving(boolean enabled) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.EnableBluetoothPowerSaving(true);
enabled
- "true" to enable Bluetooth power saving. When enabled, the
1800 device will listen to the wireless network at a reduced
rate. "false" to disable Bluetooth power saving.ConfiguratorException
IsBluetoothPowerSavingEnabled()
public boolean IsBluetoothSecureSimplePairingEnabled() throws ConfiguratorException
import cipherlab.rfid.device1800.config; boolean enabled = config.IsBluetoothSecureSimplePairingEnabled();
ConfiguratorException
EnableBluetoothSecureSimplePairing(boolean)
public void EnableBluetoothSecureSimplePairing(boolean enabled) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.EnableBluetoothSecureSimplePairing(true);
enabled
- "True" to enable Bluetooth Secure Simple Pairing. When
enabled, the 1800 device will auto determine the best pairing
method. "False" to disable Bluetooth Secure Simple Pairing.ConfiguratorException
IsBluetoothSecureSimplePairingEnabled()
public BluetoothInterface GetBluetoothInterfaceType() throws ConfiguratorException
import cipherlab.rfid.device1800.config; BluetoothInterface Interface_type = config.GetBluetoothInterfaceType();
BluetoothInterface
ConfiguratorException
SetBluetoothInterfaceType(cipherlab.rfid.device1800.config.BluetoothInterface)
public void SetBluetoothInterfaceType(BluetoothInterface BTInterface) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetBluetoothInterfaceType(BluetoothInterface.SPP_Slave);
BTInterface
- See
BluetoothInterface
enumeration.ConfiguratorException
GetBluetoothInterfaceType()
public DeviceBTSpp GetConncetionInterfaceSppSlave() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceBTSpp spp = config.GetConncetionInterfaceSppSlave();
DeviceBTSpp
ConfiguratorException
SetConnectionInterfaceSppSlave(cipherlab.rfid.device1800.config.DeviceBTSpp)
public void SetConnectionInterfaceSppSlave(DeviceBTSpp spp) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceBTSpp spp = new DeviceBTSpp(); spp.BluetoothDiscover = true; spp.BluetoothAuthentication = true; spp.BluetoothPin = "1234"; config.SetConnectionInterfaceSppSlave(spp);
spp
- See DeviceBTSpp
classConfiguratorException
GetConncetionInterfaceSppSlave()
public DeviceHID GetConnectionInterfaceHid() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceHID hid = config.GetConnectionInterfaceHid();
DeviceHID
ConfiguratorException
SetConnectionInterfaceHid(cipherlab.rfid.device1800.config.DeviceHID)
public void SetConnectionInterfaceHid(DeviceHID HidSetting) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceHID devicehid = new DeviceHID(); devicehid.Visible = false; devicehid.Secured = false; devicehid.Pin = "1234"; devicehid.hid.KbdType = HIDKeyboardType.PCAT_US; devicehid.hid.InterCharDelay = 100; devicehid.hid.LockState = CapsLockState.On; devicehid.hid.LockType = CapsLockType.Normal; devicehid.hid.IgnoreCaseOnAlphabetsTransmission = true; devicehid.hid.DigitsTransmissionKeypadType = KeypadType.AlphaNumericKeypad; devicehid.hid.DigitsPos = DigitPosition.Normal; devicehid.hid.KbdLayout = KeyboardLayout.Normal; devicehid.hid.HidCharTransmitMode = HIDCharTransmitMode.ByCharacter; config.SetConnectionInterfaceHid(devicehid);
HidSetting
- See DeviceHID
classConfiguratorException
GetConnectionInterfaceHid()
public void ClearDeviceMemoryData() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.ClearDeviceMemeoryData();
ConfiguratorException
public USBDriver GetUSBDriver() throws ConfiguratorException
import cipherlab.rfid.device1800.config; USBDriver driver = config.GetUSBDriver();
USBDriver
ConfiguratorException
SetUSBDriver(cipherlab.rfid.device1800.config.USBDriver)
public void SetUSBDriver(USBDriver driver) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetUSBDriver(USBDriver.CDC);
driver
- See USBDriver
enumeration.ConfiguratorException
GetUSBDriver()
public void EnableDeviceTrigger(boolean enabled) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.EnableDeviceTrigger(false);
enabled
- Scan trigger key is enabled or disabled.ConfiguratorException
public boolean GetRFIDSwitchStatus() throws ConfiguratorException
import cipherlab.rfid.device1800.config; boolean result = config.GetRFIDSwitchStatus();
ConfiguratorException
public ScanMode GetScanMode() throws ConfiguratorException
import cipherlab.rfid.device1800.config; ScanMode RFID_ScanMode = config.GetScanMode();
ScanMode
ConfiguratorException
SetScanMode(cipherlab.rfid.device1800.config.ScanMode)
public void SetScanMode(ScanMode mode) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetScanMode(ScanMode.SingleTag);
mode
- See ScanMode
enumeration.ConfiguratorException
GetScanMode()
public int GetSingleTagModeSessionTimeout() throws ConfiguratorException
import cipherlab.rfid.device1800.config; int RFID_SingleTag_Timeout = config.GetSingleTagModeSessionTimeout();
ConfiguratorException
SetSingleTagModeSessionTimeout(int)
public void SetSingleTagModeSessionTimeout(int sessionTimeout) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetSingleTagModeTimeout(254);
sessionTimeout
- Scan session timeout in seconds, range=0~254 (sec). Default
value is 0.ConfiguratorException
GetSingleTagModeSessionTimeout()
public DeviceMultiTag GetMultiTagModeSettings() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceMultiTag settings = config.GetMultiTagModeSettings();
DeviceMultiTag
ConfiguratorException
SetMultiTagModeSettings(cipherlab.rfid.device1800.config.DeviceMultiTag)
public void SetMultiTagModeSettings(DeviceMultiTag obj) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceMultiTag setting = new DeviceMultiTag(); setting.DelayTime = ScanDelay.Delay_100ms; setting.CounterLimit = 0; setting.WarnLimitReached = false; config.SetMultiTagModeSettings(setting);
obj
- See DeviceMultiTag
classConfiguratorException
GetMultiTagModeSettings()
public int GetMultiTagModeCounterLimit() throws ConfiguratorException
import cipherlab.rfid.device1800.config; int count = config.GetMultiTagModeCounterLimit();
ConfiguratorException
SetMultiTagModeCounterLimit(int)
public void SetMultiTagModeCounterLimit(int counterLimit) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetMultiTagModeCounterLimit(128);
limit
- Counter limit range is 0~128.ConfiguratorException
GetMultiTagModeCounterLimit()
public MultiTagListType GetMultiTagListType() throws ConfiguratorException
import cipherlab.rfid.device1800.config; MultiTagListType type = config.GetMultiTagListType();
MultiTagListType
ConfiguratorException
SetMultiTagListType(cipherlab.rfid.device1800.config.MultiTagListType)
public void SetMultiTagListType(MultiTagListType type) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetMultiTagListType(MultiTagListType.EPC);
type
- See MultiTagListType
enumeration.ConfiguratorException
GetMultiTagListType()
public EPCEncodingScheme GetRecognizedEPCEncoding() throws ConfiguratorException
import cipherlab.rfid.device1800.config; EPCEncodingScheme encode = config.GetRecognizedEPCEncoding();
EPCEncodingScheme
ConfiguratorException
SetRecognizedEPCEncoding(cipherlab.rfid.device1800.config.EPCEncodingScheme)
public void SetRecognizedEPCEncoding(EPCEncodingScheme encoding) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetRecognizedEPCEncoding(EPCEncodingScheme.GDTI96);
encoding
- See EPCEncodingScheme
enumeration.ConfiguratorException
GetRecognizedEPCEncoding()
public EPCFilter GetEPCFilter() throws ConfiguratorException
import cipherlab.rfid.device1800.config; EPCFilter filter = config.GetEPCFilter();
EPCFilter
ConfiguratorException
SetEPCFilter(cipherlab.rfid.device1800.config.EPCFilter)
public void SetEPCFilter(EPCFilter filter) throws ConfiguratorException
import cipherlab.rfid.device1800.config; Example 1: EPCFilter filter = new EPCFilter(); filter.Enabled = true; filter.Encoding = EPCEncodingScheme.SGTIN96; filter.FilterType = EPCFilterType.IncludePattern; filter.FilterMethod = FilterMethod.FilterValue; filter.FilterValue = 6; config.SetEPCFilter(filter); Example 2: EPCFilter filter = new EPCFilter(); filter.Enabled = true; filter.Encoding = EPCEncodingScheme.SGTIN96; filter.FilterType = EPCFilterType.IncludePattern; filter.FilterMethod = FilterMethod.Partition1; filter.Part1Value = 123456; config.SetEPCFilter(filter); example 03: EPCFilter filter = new EPCFilter(); filter.Enabled = true; filter.Encoding = EPCEncodingScheme.SGTIN96; filter.FilterType = EPCFilterType.IncludePattern; filter.FilterMethod = FilterMethod.Partition2; filter.Part2FromValue = 123; filter.Part2ToValue = 456; filter.Part2MaxLength = 6; config.SetEPCFilter(filter);
filter
- See EPCFilter
class.ConfiguratorException
GetEPCFilter()
public int GetRFIDPowerLevel() throws ConfiguratorException
import cipherlab.rfid.device1800.config; int level = config.GetRFIDPowerLevel();
ConfiguratorException
SetRFIDPowerLevel(int)
public void SetRFIDPowerLevel(int level) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetRFIDPowerLevel(3);
level
- Minimum value: 0 Maximum value: 3ConfiguratorException
GetRFIDPowerLevel()
public void SetRFIDMode(RFIDMode mode) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetRFIDMode(RFIDMode.WriteTag);
mode
- See RFIDMode
enumeration.ConfiguratorException
GetRFIDMode()
public RFIDMode GetRFIDMode() throws ConfiguratorException
import cipherlab.rfid.device1800.config; RFIDMode mode = config.GetRFIDMode();
RFIDMode
ConfiguratorException
SetRFIDMode(cipherlab.rfid.device1800.config.RFIDMode)
public RFIDMemoryBank GetSelectedMemoryBank() throws ConfiguratorException
ConfiguratorException
public void SelectMemoryBank(RFIDMemoryBank bank) throws ConfiguratorException
ConfiguratorException
public int GetQValue() throws ConfiguratorException
import cipherlab.rfid.device1800.config; int value = config.GetQValue();
ConfiguratorException
SetQValue(int)
public void SetQValue(int Q) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetQValue(0);
Q
- The Q value (1861 must be in the range of 0 to 5 and 1862 must
be in the range of 0 to 19).ConfiguratorException
GetQValue()
public OutputDataFormat GetOutputDataFormat() throws ConfiguratorException
import cipherlab.rfid.device1800.config; OutputDataFormat OUTPUT_Format = config.GetOutputDataFormat();
OutputDataFormat
ConfiguratorException
SetOutputDataFormat(cipherlab.rfid.device1800.config.OutputDataFormat)
public void SetOutputDataFormat(OutputDataFormat dataFormat) throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.SetOutputDataFormat(OutputDataFormat.PacketData);
dataFormat
- : See
OutputDataFormat
enumerationConfiguratorException
GetOutputDataFormat()
public DeviceCounterOptions GetCounterResetOptions() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceCounterOptions option = config.GetCounterResetOptions();
DeviceCounterOptions
ConfiguratorException
SetCounterResetOptions(cipherlab.rfid.device1800.config.DeviceCounterOptions)
public void SetCounterResetOptions(DeviceCounterOptions option) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceCounterOptions option = new DeviceCounterOptions(); option.ResetByCommand = true; option.ResetByPowerOn = true; option.ResetByBTreconnected = true; config.SetCounterResetOptions(option);
option
- See
DeviceCounterOptions
class.ConfiguratorException
GetCounterResetOptions()
public void ResetDataCounter() throws ConfiguratorException
import cipherlab.rfid.device1800.config; config.ResetDataCounter();
ConfiguratorException
public DeviceDataSequence GetOutputDataSequence() throws ConfiguratorException
import cipherlab.rfid.device1800.config; SetOutputDataSequence Sequence = config.GetOutputDataSequence();
DeviceDataSequence
ConfiguratorException
SetOutputDataSequence(cipherlab.rfid.device1800.config.DeviceDataSequence)
public void SetOutputDataSequence(DeviceDataSequence section) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceDataSequence option = new DeviceDataSequence(); option.section1 = DataSequenceSection.Count; option.section2 = DataSequenceSection.Timestamp; option.section3 = DataSequenceSection.Data; config.SetOutputDataSequence(option);
section
- See
DeviceDataSequence
class.ConfiguratorException
GetOutputDataSequence()
public KeyActionString[] GetKeyActionString() throws ConfiguratorException
import cipherlab.rfid.device1800.config; KeyActionString[] OUTPUT_Action = config.GetKeyActionString();
KeyActionString
ConfiguratorException
SetKeyActionString(cipherlab.rfid.device1800.config.KeyActionString[])
public KeyActionString GetKeyActionString(int index) throws ConfiguratorException
ConfiguratorException
public void SetKeyActionString(KeyActionString[] keyActStr) throws ConfiguratorException
import cipherlab.rfid.device1800.config; KeyActionString[] action = new KeyActionString[6]; action[0].action = KeyAction.F1Down; action[0].text = "#@TRIGON\r"; action[1].action = KeyAction.F2Down; action[1].text = "#@TRIGOFF\r"; config.SetKeyActionString(action);
keyActStr
- See KeyActionString
class.ConfiguratorException
GetKeyActionString()
public void SetKeyActionString(int index, KeyActionString keyActStr) throws ConfiguratorException
ConfiguratorException
public DeviceCounterFormat GetCounterFormat() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceCounterFormat format = config.GetCounterFormat();
DeviceCounterFormat
ConfiguratorException
SetCounterFormat(cipherlab.rfid.device1800.config.DeviceCounterFormat)
public void SetCounterFormat(DeviceCounterFormat format) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceCounterFormat format = new DeviceCounterFormat(); format.prefix = {0x20, 0x42}; format.suffix = {0x0D}; format.leftPaddingChar = '#'; config.SetCounterFormat(format);
format
- See
DeviceCounterFormat
class.ConfiguratorException
GetCounterFormat()
public DeviceTimestampFormat GetTimestampFormat() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceTimestampFormat format = config.GetTimestampFormat();
DeviceTimestampFormat
ConfiguratorException
SetTimestampFormat(cipherlab.rfid.device1800.config.DeviceTimestampFormat)
public void SetTimestampFormat(DeviceTimestampFormat format) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceTimestampFormat format = new DeviceTimestampFormat(); format.prefix = {0x20, 0x42}; format.suffix = {0x0D}; format.Arrange = new Timestamp(); format.Arrange.Field[0] = TimestampField.Year; format.Arrange.Field[1] = TimestampField.Month; format.Arrange.Field[2] = TimestampField.Day; format.Arrange.Field[3] = TimestampField.NotUsed; format.Arrange.Field[4] = TimestampField.Hour; format.Arrange.Field[5] = TimestampField.Minute; format.Arrange.Field[6] = TimestampField.Second; format.Arrange.Separator[0] = '-'; format.Arrange.Separator[1] = '-'; format.Arrange.Separator[2] = ' '; format.Arrange.Separator[3] = ' '; format.Arrange.Separator[4] = ':'; format.Arrange.Separator[5] = ':'; config.SetTimestampFormat(format);
format
- See
DeviceTimestampFormat
class.ConfiguratorException
GetTimestampFormat()
public DeviceRFIDDataFormat GetRFIDDataFormat() throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceRFIDDataFormat option = config.GetRFIDDataFormat();
DeviceRFIDDataFormat
ConfiguratorException
SetRFIDDataFormat(cipherlab.rfid.device1800.config.DeviceRFIDDataFormat)
public void SetRFIDDataFormat(DeviceRFIDDataFormat format) throws ConfiguratorException
import cipherlab.rfid.device1800.config; DeviceRFIDDataFormat format = new DeviceRFIDDataFormat(); format.Prefix = "@%"; format.Suffix = "**"; format.Arrange = new RFIDData(); format.Arrange.Field[0] = RFIDDataField.PC; format.Arrange.Field[1] = RFIDDataField.EPC; format.Arrange.Field[2] = RFIDDataField.CRC; format.Arrange.Field[3] = RFIDDataField.MemoryData; format.Arrange.Field[4] = RFIDDataField.NotUsed; format.Arrange.Separator[0] = (char)0; format.Arrange.Separator[1] = (char)0; format.Arrange.Separator[2] = (char)0; format.Arrange.Separator[3] = (char)0; config.SetRFIDDataFormat(format);
format
- See
DeviceRFIDDataFormat
class.ConfiguratorException
GetRFIDDataFormat()