public class RFIDReader
Modifier and Type | Class and Description |
---|---|
static class |
RFIDReader.RFIDStatus
|
Constructor and Description |
---|
RFIDReader(String sIpAddress,
UInt16 iPortNumber, RFID.Reader.TagReadHandler continuousTagReadHandler)
Summary: This method creates an instance of the RFIDReader
class and creates the underlying
communications class while registering a callback that matches the
TagReadHandler interface.
|
RFIDReader(String sIpAddress,
UInt16 iPortNumber, RFID.Reader.TagReadHandler2 continuousTagReadHandler)
Summary: This method creates an instance of the RFIDReader
class and creates the underlying
communications class while registering a callback that matches the
TagReadHandler2 interface.
|
RFIDReader(String sIpAddress,
UInt16 iPortNumber, RFID.Reader.SensorDataReadHandler SensorDataReadHandler, Object obj)
Summary: This method creates an instance of the RFIDReader
class and creates the underlying
communications class while registering a callback that matches the
SenseorDataReadHandler interface.
|
RFIDReader(String sIpAddress,
UInt16 iPortNumber)
Summary: This method creates an instance of the RFIDReader
class and creates the underlying
communications class.
|
Modifier and Type | Class and Description |
---|---|
public delegate void |
SensorDataReadHandler(SensorInfo sensorInfo, RFIDReader reader, Object obj)
Description:The application registers a callback through the RFIDReader()
constructor or the SetSensorReadCallback() method to receive sensor data (Tag Reads,
GPS messages and IMU message) during reader inventory mode when data is being read
using the call to SetContinuousRead() method is made.
|
Return Type | Method and Description |
---|---|
RFIDStatus |
ClearErrorList()
Summary:
This command clears the internal error list held by the sensor
|
RFIDStatus |
ClearInventoryFilter(boolean makePersistent)
Summary:
This method clears the filter used during tag inventory cycles.
|
RFIDStatus |
Get24VStatus(ref Boolean b24VState, ref Boolean b24VStateOnStartup)
Summary:
This method returns the current setup of the 24V DC output on the GPIO
connector
as well as what its state is when the sensor is started or restarted.
|
RFIDStatus |
GetPowerSettings(ref Double[] readPower, ref Double[] writePower)
Summary:
Returns the read power and write power level settings in dBm of the internal
antenna (index 0) and the three external antennas (indexes 1, 2, and 3)
|
RFIDStatus |
GetPowerSettings(out int numberOfAntennas, ref Double[] readPower, ref Double[] writePower)
Summary:
Returns the read power and write power level settings in dBm of the internal
antenna (index 0) and the three external antennas (indexes 1, 2, and 3)
|
RFIDStatus |
GetTemperatureProtect(ref Boolean TemperatureProtectOn)
Summary:
Returns the status of the modules temperature protection status.
|
RFIDStatus |
GetActiveAntenna(ref UInt32 activeAntenna)
Summary:
Returns the numeric value of the currently active antenna.
|
RFIDStatus |
GetAutoSensProgram(out String MacroProgram)
Summary:
This method returns a string of semicolon (';') separated SensArray macros corresponding
to the currently active AutoSens macro program.
|
RFIDStatus |
GetAutoSensStartupState(out Boolean running)
Summary:
This method takes a Boolean value indicating whether the specified
AutoSens program is to be automatically run when the reader reboots.
|
RFIDStatus |
GetBluetoothConfiguration(out String Address)
Summary:
This method retrieves the address of the Bluetooth device that the SensX
Extreme reader is configured to send data to.
|
RFIDStatus |
GetBootLoaderInfo(ref UInt16 bootloaderPort)
Summary:
This method returns the Ethernet port over which firmware updates are
performed. The second interface, below, also returns
the major and minor version numbers of the underlying bootloader code. If
your application simply needs to know what port
is configured for communicating, use this first call.
|
RFIDStatus |
GetBootLoaderInfo(out UInt16 bootloaderPort, out int versionMajor,
out int versionMinor)
Summary:
This method returns the Ethernet port over which firmware updates are
performed. This second interface also returns
the major and minor version numbers of the underlying bootloader code. If
your application simply needs to know what port
is configured for communicating, use the first call above.
|
RFIDStatus |
GetConnectionInfo(Byte ConnectionNumber, out String ConnectionString)
Summary:
When a data notification macro is specified in an AutoSens program, the data is
sent to a connection (0-4) based on the connection information specified
by the connection specified by a string with the format "IP_Address:PortNumber".
This method returns the connection string specified for the given connection number.
|
RFIDStatus |
GetDRMState(out Boolean drmIsOn)
Summary:
This method returns the current DRM setting for RF Mode 1 (M4/250kHz)
|
RFIDStatus |
GetEpicStatus(out Byte epicMode, out Boolean epicEnabled, out Boolean customerKeyLoaded, out String customerId, out String codecId)
Summary:
This method returns whether EPIC is enabled in the reader as well as status and information about the EPIC customer key.
|
RFIDStatus |
GetErrorList(ref UInt32 numberOfErrors, ref UInt32[] when, ref UInt16[] code, ref Int16[] data1, ref Int16[] data2)
Summary:
This method returns the list of errors detected and recorded by the sensor
|
RFIDStatus |
GetFirmwareBuild(out String GetFirmwareBuild)
Summary:
This method retrieves the reader firmware's build.
|
RFIDStatus |
GetFirmwareId(ref String firmwareId)
Summary:
This method retrieves the hardware Major.Minor.Revision number of the
sensor.
|
RFIDStatus |
GetGen2Params(ref Byte[] gen2Params)
Summary:
Returns teh Gen2 parameter settings for the RFIDReader module in raw binary protocol format.
|
RFIDStatus |
GetGen2Parmams(Gen2Params Gen2Parameters)
Summary:
Returns the Gen2 parameter settings for the RFIDReader module. This decodes the binary protocol of the raw underlying command
into the specific supported Gen2 RF settings.
|
RFIDStatus |
GetGPIOSetup(ref Byte gpioSetup)
Summary:
This method returns the settings for the general-purpose outputs and the
detected
state of the general-purpose inputs
|
RFIDStatus |
GetGPSData(out GPSData gpsData)
Summary:
This method retrieves the GPS coordinates of the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
GetGPSConfiguration(out GPSConfig gpsConfig)
Summary:
This method retrieves the GPS setup configuration for the Extreme reader.
This includes data refresh rate, which fields are included when data is
requested or is streamed, and whether the GPS data is to be included in
the sensor data output stream from the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
GetHardwareId(ref String hardwareId)
Summary:
This method retrieves the hardware Major.Minor.Revision number of the
sensor.
|
RFIDStatus |
GetHeartbeatConfig(ref Byte[] IPv4Address, ref UInt32 portNumber, ref UInt32 interval, ref UInt32 count)
Summary:
This method returns the IP address and UDP port number over which the
heartbeat
is sent as well and the Interval between heartbeat messages and the number
(Count)
of messages that are sent before the heartbeat goes silent.
|
RFIDStatus |
GetIMUData(out IMUData IMUData)
Summary:
This method retrieves the IMU readings from the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
GetIMUConfiguration(out IMUConfig IMUConfig)
Summary:
This method retrieves the IMU setup configuration for the Extreme reader.
This includes data refresh rate, which fields are included when data is
requested or is streamed, and whether the IMU data is to be included in
the sensor data output stream from the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
GetIPv4Info(ref Boolean usingDHCP, ref Byte[] IPv4Address, ref Byte[] ipv4Netmask, ref Byte[] ipv4Gateway, ref Byte[] ipv4DNSServer, ref UInt16 sensorPort)
Summary:
This method returns the various parameters comprising the IpV4 network
configuration.
|
RFIDStatus |
GetLinkParams(ref Byte linkParams)
Summary:
The method returns the current Link Parameter setting of the RFIDReader
module.
|
RFIDStatus |
GetModuleFirmwareId(ref String moduleFWId)
Summary:
Returns the RF Module's firmware version number.
|
RFIDStatus |
GetModuleHardwareId(ref String moduleHWId)
Summary:
Returns the RF Module's hardware identifier.
|
RFIDStatus |
GetModulePowerSetting(ref Double readPower, ref Double writePower)
Summary:
Returns the read power and write power levels from the reader module.
|
RFIDStatus |
GetModuleReaderId(ref String readerId)
Summary:
This function returns the string value corresponding to the reader module's
internal serial number.
|
RFIDStatus |
GetModuleTemperature(ref Double moduleTemperature)
Summary:
This method retrieves the internal temperature of the RFIDReader module in
degrees C.
|
RFIDStatus |
GetOperatingMode(out String operatingMode)
Summary:
This method returns the operating mode of the sensor. Possible return values include:
ERR: Sensor is not ready to communicate. Generally only appears for the
first few seconds after a reboot. You will not be able to connect
to the reader when it is in this state.
APP: Sensor is in the standard operating mode and is not reading tags.
AUT: Sensor is in AutoSens mode actively reading tags.
BLU: Sensor is updating Bootloader firmware.
|
RFIDStatus |
GetReaderConfiguration(out ReaderConfig readerConfig)
Summary:
Gets the configuration of the reader
|
RFIDStatus |
GetReaderDateandTime(out String ReaderName)
Summary:
Retrieve the real-time clock date and time values from the reader.
|
RFIDStatus |
GetReaderName(out String ReaderName)
Summary:
Gets the name advertised by the sensor's heartbeat messages through a direct
firmware query.
|
RFIDStatus |
GetReaderType(out String readerType)
Summary:
Gets the reader type advertised by the sensor's heartbeat messages
through a direct firmware query.
|
RFIDStatus |
GetReadGapTimes(ref UInt16 readTime, ref UInt16 gapTime)
Summary:
This command retrieves the current read time interval and the time interval
between
read cycles.
|
RFIDStatus |
GetReadSequence(ref Byte[] antennaSequence, ref Byte sequenceLength)
Summary:
This method retrieves the sequence of antennas that the reader loops through
when performing a continuous tag inventory read cycle.
|
RFIDStatus |
GetRegionCode(out Byte regionSetting)
Summary:
This method returns the byte code for the region setting of the reader module.
|
RFIDStatus |
GetRegionSetting(out Byte regionSetting)
Summary:
This method returns the byte code for the region setting of the reader module.
|
RFIDStatus |
GetRegionSetting(out String regionName)
Summary:
This method returns a string value for the region setting of the reader module.
|
RFIDStatus |
GetSearchMode(out Byte searchMode)
Summary:
Returns the current search mode for the reader module.
|
RFIDStatus |
GetSerialNumber(ref String SerialNumber)
Summary:
This method retrieves the serial number of the sensor.
|
RFIDStatus |
GetSelectParameters(out Byte inventoryMode, out Byte preSelectCount)
Summary:
This method returns the inventory mode and pre-select count for the module.
|
RFIDStatus |
GetSJCSetup(out SJC_Parameters sjcParams)
Summary:
This method returns teh current SJC settings for the module.
|
RFIDStatus |
GetTempNotificationSetup(ref UInt16 notificationInterval, ref UInt16 alertInterval, ref Double warningThreshold, ref Double alertThreshold)
Summary:
This method returns the time intervals and thresholds for reporting module
temperature during continuous tag read sessions.
|
RFIDStatus |
GetLocatorSignalStatus(ref Boolean LocatorSignalActive)
Summary:
This method returns whether or not the locator flash pattern is active on
the sensor.
|
RFIDStatus |
GetPortReturnLoss(ref Double returnLoss, UInt32 antennaNumber)
Summary:
This method returns the return loss id dBm for the antenna port specified.
|
RFIDStatus |
GetMTIPortReturnLoss(ref Double returnLoss, UInt32 antennaNumber)
Summary:
This method returns the MTI return loss id dBm for the antenna port specified.
|
RFIDStatus |
GetRSSI(ref Double envRSSI)
Summary:
This method returns the background RSSI fo sensor in dBm.
|
RFIDStatus |
GetWiFiConfiguration(out String SSID)
Summary:
This method retrieves the name of the wireless network (SSID) for the Wi-Fi
router that the SensX Extreme reader uses for the Wi-Fi connections.
|
RFIDStatus |
GetExpressoModeParams(out ExpressoModeParameters expressoParams)
Summary:
This method returns a subset of the additional Expresso Mode parameters needed to initiate an Expresso Mode inventory process.
|
RFIDStatus |
KillTag(UInt32 killPassword, byte maskBank, UInt16 maskAddress, UInt26 maskLength, Byte[] mask, out Byte errorCode)
Summary:
This method kills the tag reference by the specified input mask.
|
RFIDStatus |
LockTagData(Uint32 accessPassword, Byte maskBank,
UInt16 maskAddress, UInt16 maskLength, Byte[] mask,
RFIDLockState killPwdLock, RFIDLockState accessPwdLock,
RFIDLockState epcLock, RFIDLockState userDataLock,
out Byte errorCode)
Summary:
This method locks, unlocks, or permanently locks or unlocks one or more data
banks
on the tag.
|
RFIDStatus |
ReadNextTag(ref TagReadInfo readInfo)
Summary:
This method is used to collect tag information.
|
RFIDStatus |
ReadNextTag(ref String epc, ref double rssi, ref Byte antennaNumber)
Summary:
This method is used to collect tag information.
|
RFIDStatus |
ReadTag(ref String epc, ref double rssi, ref Byte antennaNumber)
Summary:
This method requests a single inventory read cycle returning any detected tag.
|
RFIDStatus |
ReadRfMicronSensorData(Byte functionId, Byte tagModel,
UInt32 accessPassword,
Byte maskBank, UInt16 maskStartBit, UInt16 maskBitLength, Byte[] mask,
Byte dataBank, UInt16 dataStartWord, UInt16 dataWordLength, ref UInt16[] data,
out Byte errorCode)
Summary:
This method reads the tag data from the specified tag data bank: 0 = Reserved data,
1 = EPC data, 2 = Tag Identifier Data (TID), 3 = User data. The tags read are filtered
using the mask data against the location specified by the maskBank, maskStartBit
(offset into bank in number of bits) with length specified by maskBitLength number
of bits. DataWordLength number of words will be read from the bank specified by the dataBank
parameter starting at offset dataStartWord words.
|
RFIDStatus |
ReadTagData(UInt32 accessPassword, Byte maskBank,
UInt16 maskStartBit, UInt16 maskBitLength, Byte[] mask,
Byte dataBank, UInt16 dataStartWord, UInt16 dataWordLength,
ref UInt16[] data, out Byte errorCode)
Summary:
This method reads the tag data from the specified tag data bank: 0 =
Reserved data,
1 = EPC data, 2 = Tag Identifier Data (TID), 3 = User data.
|
boolean |
Reboot()
Summary:
This method issues the reboot command to the sensor.
|
RFIDStatus |
ResetReceiveTimeout()
Summary:
This method requests a single inventory read cycle returning any detected
tag.
|
RFIDStatus |
ResetToDefaultConfiguration(int WhatToKeep = 0)
Summary:
This method sends a request to the sensor to restore the saved configuration
values
that are stored in flash memory.
|
RFIDStatus |
RestoreSavedConfiguration()
Summary:
This method sends a request to the sensor to restore the saved
configuration values that are stored in flash memory.
|
RFIDStatus |
SaveCurrentConfiguration()
Summary:
This method saves the various configurable setting to flash memory so that
they will be active when the sensor reboots.
|
RFIDStatus |
Set24VStatus(Boolean V24Active, Boolean V24ActiveOnStartup)
Summary:
This method turns the 24VDC on or off and sets the configuration that
determines whether it is on or off on startup
|
RFIDStatus |
SetAntennaPowerSettings(UInt32 antennaId, Double readPower, Double writePower)
Summary:
Set the read and write power levels for when the reader is transmitting
through the specified antenna
|
RFIDStatus |
SetAFECMode(Byte afecMode)
Summary:
This method sets the Advanced FEC mode of the reader.
|
RFIDStatus |
SetActiveAntenna(UInt32 antennaId)
Summary:
Sets the specified antenna to be the active antenna for reading or writing.
|
RFIDStatus |
SetAutoSensProgram(String MacroProgram)
Summary:
This method uses a string of semicolon (';') separated SensArray macros corresponding
to the active AutoSens macro program. This string will be check to be sure that is
represents a valid AutoSens program and set up as the configured program if it checks
out properly.
|
RFIDStatus |
SetAutoSensStartupState(Boolean Running)
Summary:
This method takes a Boolean value indicating whether the specified
AutoSens program is to be automatically run when the reader reboots.
|
RFIDStatus |
SetBluetoothConfiguration(String Address, String PairingCode)
Summary:
This method configures the reader to establish a connection with a specific
Bluetooth enabled device such as a SmartPhone, a tablet computer, etc.
This communication is enabled by providing the reader with the address and
the pairing code of the device that the reader will pair with and
subsequently
communicate with.
|
RFIDStatus |
SetConnectionInfo(Byte connectionNumber, out String connectionString)
Summary:
When a data notification macro is specified in an AutoSens program, the data
is sent to a connection (0-4) based on the connection information specified
by the connection string. The connection string is in the format "IP_Address:PortNumber".
Generally, an AutoSens program will deliver data to at most a single connection,
we allow up to 5 connections to be specified if more than one is needed by a
configuration.
|
RFIDStatus |
SetCustomerKey(string CustomerKeyFile)
Summary:
This method sets the checks and sets the customer key signature to be used for afec.
|
RFIDStatus |
SetDRMState()
Summary:
This method sets the DRM mode for RF Mode 1 (M4/250kHz)
|
RFIDStatus |
SetExpressoModeParams(out ExpressoModeParameters expressoParams)
Summary:
This method sets up a subset of the additional Expresso Mode parameters needed to initiate an Expresso Mode
inventory process.
|
RFIDStatus |
SetGen2Params(Byte[] gen2Params)
Summary:
The Gen2Params for the RFIDReader module are set to the values specified in
the gen2Params byte array.
|
RFIDStatus |
SetGen2Params(Gen2Params Gen2Parameters)
Summary:
The Gen2Params for the RFIDReader module are set to the values specified in the Gen2Params data structure.
|
RFIDStatus |
SetGeneralPurposeOutputs(Byte newGPOs)
Summary:
This method sets the settings for the general-purpose outputs and the
detected state of the general-purpose inputs.
|
RFIDStatus |
SetGPSConfiguration(GPSConfig gpsConfig)
Summary:
This method is used to set the GPS configuration of the Extreme reader.
This includes data refresh rate, which fields are included when data is
requested or is streamed, and whether the GPS data is to be included in
the sensor data output stream from the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
SetHeartbeatConfig(Byte[] IPv4Address, UInt16 portNumber, UInt32 interval, UInt32 hbCount)
Summary:
This method sets the IP address, UDP port number, interval, and count of the
heartbeat configuration.
|
RFIDStatus |
SetIMUConfiguration(IMUConfig IMUConfig)
Summary:
This method is used to set the IMU configuration of the Extreme reader.
This includes data refresh rate, which fields are included when data is
requested or is streamed, and whether the IMU data is to be included in
the sensor data output stream from the reader.
Note:
This method is only supported on the Extreme readers.
|
RFIDStatus |
SetInventoryFilter((Byte maskBank, UInt16 maskStartBitAddress, UInt16 maskBitLength, Byte[] mask, Boolean makePersistent)
Summary:
This method sets the filter to be used during tag inventory cycles
|
void |
SetIPv4CommLink(String sIPv4Address, UInt16 portNumber)
Summary:
The IP address and port number are passed on to the underlying communication
layer which closes the underlying socket if the IP address and port number
don't match the values already set up.
|
RFIDStatus |
SetIPv4Info(Boolean useDHCP, String ipAddress, String netmask, String gateway, String dnsServer, UInt16 sensorPort)
Summary:
This method is used to set the IpV4 network configuration for the sensor.
|
RFIDStatus |
SetLinkParams(Byte linkParams, boolean save)
Summary:
The method sets the current Link Parameter setting of the RFIDReader module.
|
RFIDStatus |
SetLocatorSignalStatus(Boolean newSignalStatus)
Summary:
This method activates or deactivates the locator signal on the sensor.
|
RFIDStatus |
SetModulePowerSetting(Double readPower Double writePower)
Summary:
This function directly sets the read and write power of the RFIDReader module.
|
RFIDStatus |
SetReaderDateandTime(String ReaderDateandTime)
Summary:
Sets the real-time clock date and time values of the reader.
|
RFIDStatus |
SetReaderName(String ReaderName)
Summary:
Sets the name advertised by the sensor's heartbeat messages.
|
RFIDStatus |
SetReadGapTimes(UInt16 readTime, UInt16 gapTime)
Summary:
This method sets the time interval for an inventory read cycle and the time
interval
between reads.
|
RFIDStatus |
SetReadSequence(Byte[] antennaSequence, Byte sequenceLength)
Summary:
This method sets the sequence of antennas that the reader loops through when
performing a continuous tag inventory read cycle.
|
RFIDStatus |
SetRegionCode(Byte regionSetting)
Summary:
This method sets the byte code for the region setting on the reader module.
|
RFIDStatus |
SetSearchMode(Byte searchMode)
Summary:
Set the search mode of the RFID module
|
RFIDStatus |
SetSelectParameters(Byte inventoryMode, Byte preSelectCount)
Summary:
The method sets the inventory mode and pre-select count for the module.
|
RFIDStatus |
SetSessionParameter(Byte sessionParam)
Summary:
This method sets the Session Parameter.
|
void |
SetSensorReadCallback(RFID.Reader.SensorDataReadHandler sensorReadHandler)
Summary:
This method allows the continuous read callback function to be changed or
disabled (by passing the parameter value as null). The callback that is
registered with this overloaded method will pass a reference to the
reader object with which it is registered back to the client code.
|
RFIDStatus |
SetSjcSetup(SJC_Parameters sjcParams)
Summary:
This method sets the current SJC settings of the module.
|
void |
SetTagReadCallback(RFID.Reader.TagReadHandler continuousTagReadHandler)
Summary:
This method allows the continuous read callback function to be changed or
disabled
(by passing the parameter value as null).
|
void |
SetTagReadCallback(RFID.Reader.TagReadHandler2 continuousTagReadHandler)
Summary:
This method allows the continuous read callback function to be changed or
disabled
(by passing the parameter value as null).
|
RFIDStatus |
SetWiFiConfiguration(String SSID, String Passcode)
Summary:
This method configures the Wi-Fi parameters in the SensX Extreme readers to
enable connections to a Wi-Fi router. The name of the wireless network
(SSID) and the password (Passcode) needed to access that network are
required for the reader to communicate on that wireless network.The SensX
reader requires the wireless router to support WPA2_Personal_AES security
settings.
|
RFIDStatus |
SetTempNotificationSetup(UInt16 notificationInterval, UInt16 alertInterval, Double warningThreshold, Double alertThreshold)
Summary:
This method sets the time intervals and thresholds for reporting module
temperature
during continuous tag read sessions.
|
void |
Shutdown()
Summary:
This method closes down the underlying communications connection.
|
Boolean |
isConnected()
Summary:
This method returns whether the underlying socket for the reader is
connected to a reader or not.
|
void |
SetIPv6Address(string sIPv6Adress)
Summary:
This method returns whether the underlying socket for the reader is
connected to a reader or not.
|
Boolean |
ClearedToSend()
Summary:
This method returns whether or not the reader is abailable for data to be
sent.
|
RFIDStatus |
StartContinuousRead()
Summary:
This method starts a continuous tag inventory session.
|
RFIDStatus |
StopContinuousRead()
Summary:
This method is called to stop a continuous read cycle started by the
StartContinuousRead()
method.
|
RFIDStatus |
StopContinuousRead(Byte resumeTime)
Summary:
This method is called to stop a continuous read cycle started by the StartContinuousRead()
method. This is an overloaded version where a restart time after whcih the stopped AutoSens
program will be automatically restarted.
|
RFIDStatus |
WriteTagData(UInt32 accessPassword, Byte maskBank, UInt16 maskAddress, UInt16 maskLength, Byte[] mask,
Byte dataBank, UInt16 dataAddress, UInt16 dataLength, UInt16[] data, out Byte errorCode)
Summary:
This method writes the tag data to the specified tag data bank: 0 = Reserved
data,
1 = EPC data, 2 = Tag Identifier data (generally not writable), 3 = User
data
using the mask data against the location specified by the maskBank,
maskStartBitAddress
(offset into bank in number of bits) with length specified by maskBitLength
number
of bits.
|
public RFIDReader(String sIpAddress, UInt16 iPortNumber, RFID.Reader.TagReadHandler continuousTagReadHandler)
sIpAddress
- Input parameter with dotted format IP address
(e.g. "192.168.1.150").iPortNumber
- Input parameter with the TCP port that the
primary command communication will take place over.continuousTagReadHandler
- This parameter specifies a callback
routine that is called each time tag data is reported
during a continuous inventory cycle.public RFIDReader(Strings IpAddress, UInt16 iPortNumber, RFID.Reader.TagReadHandler2 continuousTagReadHandler)
sIpAddress
- Input parameter with dotted format IP address
(e.g. "192.168.1.150").iPortNumber
- Input parameter with the TCP port that the
primary command communication will take place over.continuousTagReadHandler
- This parameter specifies a callback
routine that is called each time tag data is reported
during a continuous inventory cycle.
public RFIDReader(Strings IpAddress, UInt16 iPortNumber, RFID.Reader.SensorDataReadHandler sensorDataReadHandler, Object obj)
sIpAddress
- Input parameter with dotted format IP address
(e.g. "192.168.1.150").iPortNumber
- Input parameter with the TCP port that the
primary command communication will take place over.SensorDataReadHandler
- This parameter specifies a callback
routine that is called each time tag data is reported
during a continuous inventory cycle.obj
public RFIDReader(Strings IpAddress, UInt16 iPortNumber)
sIpAddress
- Input parameter with dotted format IP address
(e.g. "192.168.1.150").iPortNumber
- Input parameter with the TCP port that the
primary command communication will take place over.public RFIDStatus ClearErrorList()
public RFIDStatus ClearInventoryFilter(boolean makePersistent)
makePersistent
- This parameter specifies whether or not any
filter saved in the module
should be permanently cleared. If set to false, the next time the module
reboots, the prior
saved filter will become active again.
public RFIDStatus Get24VStatus(ref Boolean V24State, ref Boolean V24OnAtStartup)
V24State
- This output parameter is true if the 24VDC power is
turned on, and false when it is turned off.
V24OnAtStartup
- This output parameter is true if the 24VDC
power is turned on, and false when it is turned off.
public RFIDStatus GetPowerSettings(ref Double[] readPower, ref Double[] writePower)
ReadPower
- Four element array returning the read power levels
in dBm for each of the readers antennas.
WritePower
- Four element array returning the write power
levels in dBm for each of the readers antennas.
public GetTemperatureProtect GetTemperatureProtect(ref Boolean tempProtectOn)
TemperatureProtectOn
- This parameter will be set to True if the module's temperature protection
setting is active. It will be set to False if the temperature protection
public RFIDStatus GetActiveAntenna(ref UInt32 activeAntenna)
ActiveAntenna
- On return, this parameter will hold the value of the active antenna. Value
returned will be between 0 and 3.
public GetEpicStatus GetEpicStatus(out Byte epicMode, out Boolean epicEnabled, out Boolean customerKeyLoaded, out String customerId, out String codecId)
epicMode
- RFU. This will return the setting for level of FEC turned on in the reader. Will return 0 for now.
epicEnabled
- Returns true if EPIC decoding is enabled, false if it is disabled.
customerKeyLoaded
- Returns true if an EPIC Customer Key has been loaded, false otherwise.
customerId
- Returns the Customer Id from the EPIC Customer Key if a key has been loaded. Returns an empty string if no key has been loaded.
codecId
- Returns the Codec Id authorized by the EPIC Customer Key if a key has been loaded. Returns an empty string if no key has been loaded.
public GetAutoSensProgram GetAutoSensProgram(out String MacroProgram)
MacroProgram
- This return parameter will contain the String representing the macro program.public GetAutoSensStartupState GetAutoSensProgram(out Boolean running)
Running
- The Running output parameter will be returned as true if the reader has
been configured to automatically start the AutoSens program when the reader
is rebooted. It will return false if the reader is not setup to start the
AutoSens program on reboot.
public RFIDStatus GetPowerSettings(out int numberOfAntennas, ref Double[] readPower, ref Double[] writePower)
NumberOfAntennas
- The number of antennas for the reader configuration (2-port vs. 3-port) is returned
by this parameter. It will return 1 for the 2-port readers and 4 for the 3-port readers.
ReadPower
- Four element array returning the read power levels
in dBm for each of the readers antennas.
WritePower
- Four element array returning the write power
levels in dBm for each of the readers antennas.
public RFIDStatus GetBluetoothConfiguration(out String Address) throws java.lang.Exception
Address
- This parameter returns the Bluetooth device the
reader will send data to. The address returned will be a String
formatted as ##.##.##.##.##.## where "#" represents a hexidecimal digit
(0-9, A-F). Note that this method will return an empty string (length 0)
if the Bluetooth address has not been set on your reader.
public RFIDStatus GetBootloaderInfo(ref UInt16 bootloaderPort)
public RFIDStatus GetBootloaderInfo(out UInt16 bootloaderPort, out int versionMinor, out int versionMajor)
bootloaderPort
-This parameter returns the UDP Ethernet port
over which the application firmware is communicated to the reader.
versionMajor, versionMinor
- This parameter return the major
and minor version numbers of the installed bootloader.)
public RFIDStatus GetConnectionInfo(Byte connectionNumber, out String connectionString)
ConnectionNumber
-This input parameter specifies the connection number to which the ConnectionString
is associated. The connection number can have values from 0 through 4.
ConnectionString
- The ConnectionString is an input parameter comprised of an IPv4 address in
dotted notation (111.222.1.2) followed by a ":" followed by a port number
in the range from 0 to 65535. As an example, a connection to be established
to port 8100 on a server with IP address 192.168.8.12 would be specified
as "192.168.8.12:8100" (without the quotation marks).
public RFIDStatus GetDRMState(out Boolean drmIsOn)
drmIsOn
- This value will be true is drmIsOn for RF Mode 1, false if it is off.public RFIDStatus GetConnectedAntennas(out Int32 AntennaCount, out Boolean[] AntennaIsConnected)
AntennaCount
- Output specifying the number of antennas ports
for the reader. For the current product
offering, this number will be 1 for the 2-port reader and 4 for the 3-port
reader
AntennaIsConnected
- The parameter returns an array of Boolean
values. A "true" value indicates a reasonably matched antenna is attached.
A "false" value indicates that an antenna is not attached. (However, see the
notes below.)
public RFIDStatus GetErrorList(ref UInt32 NumberOfErrors, ref UInt32[] When, ref Uint16[] Code, ref Int16[] DByte1, ref Int16[] DByte2)
NumberOfErrors
- Output value returning the number of errors
detected by the sensor.
When
- An array of timestamps, in seconds, for when the error
were detected relative when the sensor was started (uptime).
Code
- Output parameter returning an array of error codes for
the detected errors.
DByte1, DByte2
- These two arrays return two additional bytes
of data relevant to the particular type of error that has been recorded.
public RFIDStatus GetFirmwareBuild(out String FirmwareBuild)
FirmwareBuild
- Output returning the firmware build number of
the reader
public RFIDStatus GetFirmwareId(ref String FirmwareId)
FirmwareId
- Output returning the firmware version number of
the sensor.
public RFIDStatus GetGen2Params(ref Byte[] Gen2Params)
Gen2Params
- This structure returns the Gen2 parameter settings for the RFIDReader module in raw
binary protocol format.
public RFIDStatus GetGPIOSetup(ref Byte GPIOSetup)
GPIOSetup
- This ouput parameter returns the settings of teh
genreal-purpose inputs and ouputs. The 8
bits of the value are [i4, i3, i2, i1, o4, o3, o2, o1]. A 1 for the input
values indicating
a high boltage level (between 5 and 24 volts) and a 0 indiating a level
below 3 volts. A 1 for
an output bit indicateds that the output has been turned on, and a 0
indicates it is off.
public RFIDStatus GetGPSData(out GPSData gpsData)
gpsData
- This parameter returns the data structure with the data from the
latest GPS reading. The information included in this structure is
latitude, longitude, altitude, GPS time, speed and heading. See
the documentation for the GPSData class for the details on this
structure
public RFIDStatus GetGPSConfiguration(out GPSConfig gpsConfig)
gpsConfig
- TThis parameter returns the data structure with the current configuration
of the GPS sensor from the Extreme reader. See the documentation for the
GPSConfig class for details of which fields can be retrieved.
public RFIDStatus GetHardwareId(ref String HardwareId)
HardwareId
- Output returning the hardware identifier of the
sensor.
public RFIDStatus GetIMUData(out IMUData IMUData)
IMUData
- This parameter returns the data structure with the data from the
latest IMU reading. The information included in this structure is
accelerometer x/y/z, gyroscope x/y/z, magnetometer x/y/z and/or temperature. See
the documentation for the IMUData class for the details on this
structure.
public RFIDStatus GetIMUConfiguration(out IMUConfig IMUConfig)
IMUConfig
- TThis parameter returns the data structure with the current configuration
of the IMU sensor from the Extreme reader. See the documentation for the
IMUConfig class for details of which fields can be retrieved.
public RFIDStatus GetHeartbeatConfig(ref Byte[] IPv4Address, ref UInt16 PortNumber, ref UInt32 Interval, ref UInt32 Count)
IPv4Address
- This output parameter returns with the four bytes
taht comprise the IP address over which
the heartbeat messages are sent.
PortNumber
- Output paremeter returning the UDP port number
over which the heartbeat messages are being
sent.
Interval
- On return this output parameter will hold the time
interval in seconds between heartbeat messages.
Count
- On return this ouput parameter contains the number of
counts until the heartbeat is silenced.
public RFIDStatus GetIPv4Info(ref Boolean usingDHCP, ref Byte[] IPv4Address, ref Byte[] ipv4Netmask, ref Byte[] ipv4Gateway, ref Byte[] ipv4DNSServer, ref UInt16 sensorPort)
UsingDHCP
- Output whose value is True if the sensor is getting
its IPv4 setup using DHCP,
Falise if a static IP address has been assigned.
IPv4Address, ipv4Netmask, ipv4Gateway, ipv4DNSServer
- These
four ouput values contain the IP addresses for the associated networking
paramters. In dotted notation, if the address is of the form a.b.c.d, then
val[0] = a, val[1] = b, val[2] = c, and val[3] = d.
SensorPort
- On return, this output contains the value of the
TCP port used for command-level communication
with the sensor takes place over.
public RFIDStatus GetLinkParams(ref Byte LinkParams)
LinkParams
- The value of the Link Parameter setting will be
returned through this parameter.
The values returned will be:
public RFIDStatus GetModuleFirmwareId(ref String ModuleFwNumber)
ModuleFwNumber
- The string representation of the module's
firmware version number is returned to the caller.
public RFIDStatus GetModuleHardwareId(ref String ReaderId)
ReaderId
- The 8-digit reader module's serial number is
returned, formatted as a string.
public RFIDStatus GetModulePowerSetting(ref Double ReadPower, ref Double WritePower)
ReadPower
- Returned value of the current module's read power
level in dBm.
WritePower
- Returned value of the current module's write power
level in dBm.
public RFIDStatus GetModuleReaderId(ref String ReaderId)
ReaderId
- The 8-digit reader module's serial number is
returned, formatted as a string.
public RFIDStatus GetModuleTemperature(ref Double ModuleTemperature)
ModuleTemperature
- On return, ModuleTemperature will hold the
current internal temperature of
RFIDReader module in degrees C.
public RFIDStatus GetOperatingMode(out String operatingMode)
OperatingMode
- This return parameter return the operating mode string value per the
values shown above.
public RFIDStatus GetReaderDateandTime(out String ReaderDateandTime) throws java.lang.Exception
ReaderDateandTime
- This parameter returns the reader's date
and time in the format: YYY-MM-DDThh:mm:ss
public RFIDStatus GetReaderConfiguration(out RFID.RFIDReader.ReaderConfig ReaderConfiguration)
public RFIDStatus GetReaderName(out String ReaderName) throws java.lang.Exception
ReaderName
- Output parameter returns the name of the reader
that is advertised in the
sensor's reader name. It will return RFIDStatus.FAILED otherwise.
public RFIDStatus GetReaderType(out String ReaderType)
ReaderType
- Ouput parameter returns the name of the reader
that is advertised in the sensor's heartbeat message.
public RFIDStatus GetReadGapTimes(ref UInt16 ReadTime, ref UInt16 GapTime)
ReadTime
- Ouput parameter containing the time interval in
seconds for which a inventory read cycle is performed for each
antenna driven by the reader.
GapTime
- Output parameter containing the time interval in
milliseconds for the time period between inventory read cycles.
public RFIDStatus GetReadSequence(ref Byte[] AntennaSequence, ref Byte SequenceLength)
AntennaSequence
- This output parameter returns an array of
antenna numbers reflecting the sequence of
antennas that the reader will cycle through during a continuous inventory
read cycle.
SequenceLength
- Output Value indicating the number of items in
the antenna sequence.
public RFIDStatus GetRegionCode(out Byte regionSetting)
RegionSetting
- Returns the current region setting of the
reader module with values as follows:
public RFIDStatus GetRegionSetting(out Byte RegionSettings)
RegionSetting
- Returns the current region setting of the
reader module with values as follows:
public RFIDStatus GetSearchMode(out Byte SearchMode)
SearchMode
- The return value will be 0 if the duel search mode
is active and 1 if single is active.
public RFIDStatus GetSerialNumber(ref String SerialNumber)
public RFIDStatus GetSelectParameters(out Byte inventoryMode, out Byte preSelectCount)
InventoryMode
- The value of the InventoryMode setting will be returned through this
parameter. The values returned will be:
PreSelectCount
- The number of pre-selects that will be issued before each
read cycle subject to the processing determined by the
InventoryMode parameter. Note that PreSelectCount = 0 and
InventoryMode = 0 are equivalent and will be implemented
by setting InventoryMode to 0 when doing an inventory read.
public RFIDStatus GetSjcSetup(out SJC_Parameters sjcParams)
sjcParams
- The current state of the Self-Jamming Correction paramters is returned
in this parameter. See the documentation for the SJC_Parameters class
for details about the various settings.
public RFIDStatus GetTempNotificationSetup(ref UInt16 notificationInterval, ref UInt16 alertInterval, ref Double warningThreshold, ref Double alertThreshold)
NotificationInterval
- Ouput value returning the time interval
between UDP notifications of the temperature of the module.
AlertInterval
- Output returning the time interval between
times that the sensor checks the module's temperature to
determine whether it is over the warning or the alert threshold.
WarningThreshold
- Output parameter that returns the current
temperature threshold in degrees C above which a warning
notification is sent.
AlertThreshold
- Output parameter that returns the current
temperature threshold in degrees C above which a temperature
alert notification is sent.
public RFIDStatus GetLocatorSignalStatus(ref Boolean LocatorSignalActive)
LocatorSignalActive
- Output is true when the locator signal is
active, false otherwise.
public RFIDStatus GetPortReturnLoss(ref Double returnLoss, UInt32 antennaNumber)
ReturnLoss
- Output containing the return loss in dBm for the antenna port specified
by AntennaNumber.
AntennaNumber
- Input to the method for which the return loss will be read. This parameter
must have a value in the range from 0 to 3.
public RFIDStatus GetMTIPortReturnLoss(ref Double returnLoss, UInt32 antennaNumber)
ReturnLoss
- Output containing the return loss in dBm for the antenna port specified
by AntennaNumber.
AntennaNumber
- Input to the method for which the return loss will be read. This parameter
must have a value in the range from 0 to 3.
public RFIDStatus GetRSSI(ref Double envRSSI)
EnvRSSI
- On return, this parameter will contain the background RSSI of the sensor in dBm.public RFIDStatus GetWiFiConfiguration(out String SSID) throws java.lang.Exception
SSID
- This parameter returns the name of the wireless network
the reader uses to connect to your wireless router.Note that this method
will return an empty string (length 0)
if the SSID has not been set on your reader.
public RFIDStatus KillTag(UInt32 killPassword, Byte maskBank, UInt16 maskAddress, UInt16 maskLength, Byte[] mask, out Byte errorCode)
killPassword
- This parameter specifies the 32 bit kill
password that must have been programmed
into the tag prior to making this call
maskBank, maskAddress, maskLength, mask
- These parameters are
used to select a specific tag (or tags) to be killed.
A description of these parameters an be found in the corresponding mask data
section of the ReadTagData method above.
public RFIDStatus LockTagData(UInt32 accessPassword, Byte maskBank, UInt16 maskAddress, UInt16 maskLength, Byte[] mask, RFIDLockState killPwdLock, RFIDLockState accessPwdLock, RFIDLockState epcLock, RFIDLockState userDataLock, out Byte errorCode)
accessPassword
- Specifies the password needed to lock the tag
data.
maskBank, maskStartBit, maskBitLength, mask
- These 4 fields
specify a mask for filtering which tag is to be read. The maskBank specfies
the data bank to filter on (1 = EPC data, 2 = Tag Identifier data, or 3 =
User data).
The starting bit position within the data bank that the filter begins from
is specified
by maskStartBit, the length of the mask in bits is specified by
maskBitLength, and the actual
mask data is specified by the mask parameter.
killPwdLock, accessPwdLock, epcLock, userDataLock
- These
paramters specify the type of locks that are to be applied to each of the
respective
data items. Each of these lock parameters is the or (|) of the following
values:
errorCode
- This returns the underlying error code detailing
any problems. Typical error codes are: 1 - the specified parameters are not
supported,
2 - the passwordspecified was wrong or provided insufficient privileges
(e.g., 0 when associated parts of the tag are locked, and
3 - mask or data locations and/or lengths werenot specified correctly. These
error codes correspond to the values documentedin Annex
I of the EPCGlobal Gen2 Specification (Nov-2013, Version 2.0).
public RFIDStatus ReadNextTag(ref TagReadInfo readInfo)
readInfo
- This output parameter returns a filled out TagReadInfo objectpublic RFIDStatus ReadNextTag(ref String EPC, ref Double RSSI, ref Byte AntennaNumber)
EPC
- This output parameter returns the EPC for the first tag
read after the continuous read cycle is started.
RSSI
- RSSI is an output paramter returning the detected RSSI
in dBm for the tag taht was read.
AntennaNumber
- This is an output parameter specifying the
number of the antenna that was active when the tag was
detected.
public RFIDStatus ReadTag(ref String epc, ref Double rssi, ref Byte antennaNumber)
EPC
- Output parameter returning the EPC code for the tag read..RSSI
- This output parameter returns the RSSI value of the read tag in dBm.AntennaNumber
- Output parameter returning the antenna number that was energized during
the tag inventory cycle.
public RFIDStatus ReadRfMicronSensorData(Byte functionId, Byte tagModel, UInt32 accessPassword, Byte maskBank, UInt16 maskStartBit, UInt16 maskBitLength, Byte[] mask, Byte dataBank, UInt16 dataStartWord, UInt16 dataWordLength, ref UInt16[] data, out Byte errorCode)
accessPassword
- This specifies the password needed when reading the tag data. In general,
specifying a non-zero value is only needed when the access password and
kill password have been locked. For all other data banks and to read the
passwords when they are not locked, either 0 or the value that matches the
currently programmed password for the tag can be used.
maskBank, maskStartBit, maskBitLength, mask
- These 4 fields specify a mask for filtering which tag is to be read. The
maskBank specifies the data bank to filter on (1 = EPC data, 2 = Tag Identifier data,
or 3 = User data). The starting bit position within the data bank that the
filter begins from is specified by maskStartBit, the length of the mask in bits
is specified by maskBitLength, and the actual mask data is specified by the mask
parameter.
dataBank, dataStartWord, dataWordLength, data
- The parameter dataBank specifies the data bank to be read (0 = Reserved data,
1 = EPC data, 2 = Tag Identifier data, 3 = User data), dataStartWord specifies
what word (2 bytes) boundary to start from, and dataWordLength specifies the number
of words to read. The data is returned as dataWordLength number of elements filled
in the data array. Note that the data array is allocated by the calling program and
must be at least dataWordLength elements long.
errorCode
- This returns the underlying error code detailing any problems. Typical error
codes are: 1 - the specified parameters are not supported, 2 - the password
specified was wrong or provided insufficient privileges (e.g., 0 when associated
parts of the tag are locked, and 3 - mask or data locations and/or lengths were
not specified correctly. These error codes correspond to the values documented
in Annex I of the EPCGlobal Gen2 Specification (Nov-2013, Version 2.0).
public RFIDStatus ReadTagData(UInt32 accessPassword, Byte maskBank, UInt16 maskStartBit, UInt16 maskBitLength, Byte[] mask, Byte dataBank, UInt16 dataStartWord, UInt16 dataWordLength, ref UInt16[] data, out Byte errorCode)
accessPassword
- This specifies the password needed when
reading the tag data. In general,
specifying a non-zero value is only needed when the access password and/or
kill password have
been locked. For all other data banks and to read the passwords when they
are not locked, either 0
or the value that matches the currently programmed password for the tag can
be used.
maskBank, maskStartBit, maskBitLength, mask
- These 4 fields
specify a mask for filtering which tag is to be read. The
maskBank specifies the data bank to filter on (1 = EPC data, 2 = Tag
Identifier
data, or 3 = User data). The starting bit position within the data bank that
the
filter begins from is specified by maskStartBit, the length of the mask in
bitsis
specified by maskBitLength, and the actual mask data is specified by the
mask parameter.
dataBank, dataStartWord, dataWordLength, data
- The parameter
dataBank specifies the data bank to be read (0 = Reserved data,
1 = EPC data, 2 = Tag Identifier data, 3 = User data), dataStartWord
specifies
what word (2 bytes) boundary to start from, and dataWordLength specifies the
number
of words to read. The data is returned as dataWordLength number of elements
filled
in the data array. Note that the data array is allocated by the calling
program and
must be at least dataWordLength elements long.
errorCode
- This returns the underlying error code detailing
any problems. Typical error codes are: 1 - the specified parameters are not
supported,
2 - the passwordspecified was wrong or provided insufficient privileges
(e.g., 0 when associated parts of the tag are locked, and
3 - mask or data locations and/or lengths werenot specified correctly. These
error codes correspond to the values documentedin Annex
I of the EPCGlobal Gen2 Specification (Nov-2013, Version 2.0).
public RFIDStatus Reboot()
public RFIDStatus ResetReceiveTimeout()
public RFIDStatus ResetToDefaultConfiguration(int WhatToKeep = 0)
WhatToKeep
- Input parameter specifying what subsets of the configuration settings
are to be retained when this message is sent to the reader. Values
are as follows, but possibly will be extended (bit encoded) to include other options:
public RFIDStatus RestoreSavedConfiguration()
public RFIDStatus SaveCurrentConfiguration()
public RFIDStatus Set24VStatus(Boolean V24Active, Boolean V24ActiveOnStartup)
V24Active
- This input parameter turns the 24VDC power on when
true and off when false.
V24ActiveOnStartup
- This input parameter determines whether
the 24VDC power is on (true) when the
sensor is restarted, or off (false)
public RFIDStatus SetAntennaPowerSettings(UInt32 antennaId, Double readPower, Double writePower)
antennaId
- The number of the antenna for which the power is to
be set. Range
is from 0 to 3
readPower
- The read power level in dBm to be set for the
specified antenna when the reader will be
reading tags. Must be in teh range from 5 to 30 dBm
writePower
- The write power level in dBm to be set for the
specified antenna when the reader will be
write information to tags. Must be in the range from 5 to 30 dBm.
public RFIDStatus SetAFECMode(Byte afecMode)
afecMode
- The value of the Advanced FEC inventory mode will be set to the value
specified by this parameter.
public RFIDStatus SetActiveAntenna(UInt32 antennaId)
antennaId
- The id of the antenna for transmitting RF power. This value must be between
0 (the internal antenna) and 3.
public RFIDStatus SetAutoSensProgram(String macroProgram)
MacroProgram
- This parameter contains the String representing of the macro program to be set.public RFIDStatus SetAutoSensStartupState(Boolean Running)
Running
- If set to true, the Running input parameter will configure the reader to
automatically start the AutoSens program when the reader is rebooted.
If it is specified as false, the reader will not start the AutoSens program
on reboot.
public RFIDStatus SetBluetoothConfiguration(String Address, String PairingCode)
Address
- This parameter specifies the Bluetooth Address of the
device that will be paired with the reader.
The Address must be a string in the form ##.##.##.##.##.## where each pair
of ## fields specifies a hexadecimal value. A example of this might
be 11.22.34.56.78.90. Note that there are 6 fields separated by the colon
':' character. This method requires that each # character be one of the
values 0-9 or A-F. Also, leading zeros must be provided,e.g.
01:02:03:04:05:06 cannot be shortened to 1:2:3:4:5:6.
PairingCode
- The PairingCode is the security code required by
the device that the reader will pair with. This code must be passed
by the reader to the Bluetooth-enabled device to provide credentials that
allow the Bluetooth device to know that the reader
is authorized to connect. Note that this can be a UTF-8 encoded string.
public RFIDStatus SetConnectionInfo(Byte connectionNumber, String connectionString)
ConnectionNumber
- This input parameter specifies the connection number to which the ConnectionString
is associated. The connection number can have values from 0 through 4.
ConnectionString
- The ConnectionString is an input parameter comprised of an IPv4 address in
dotted notation (111.222.1.2) followed by a ":" followed by a port number
in the range from 0 to 65535. As an example, a connection to be established
to port 8100 on a server with IP address 192.168.8.12 would be specified
as "192.168.8.12:8100" (without the quotation marks).
public RFIDStatus SetCustomerKey(string CustomerKeyFile)
CustomerKeyFile
- The string will contain the full file content
of the customer key file. Size is limited.
public RFIDStatus SetDRMState(Boolean newDrmState)
newDrmState
- This parameter becomes the new value for the DRM (Dense Reader Mode)
setting for the M4/250kHz RF mode.
public RFIDStatus SetExpressoModeParams(out ExpressoModeParameters expressoParams)
expressoParams
-The subfields of ExpressoModeParameters that are returned are:
public RFIDStatus SetGen2Params(Byte[] gen2Params)
Gen2Params
- This structure returns the Gen2 parameter settings
for the RFIDReader module.
public RFIDStatus SetGeneralPurposeOutputs(Byte newGPOs)
newGPOs
- This input parameter is sent to the sensor to turn
the general-purpose
outputs on or off. The 8 bits of the value are [0, 0, 0, 0, 04, 03, 02, 01].
A 1 turns
the output on, and a 0 turns it off
public RFIDStatus SetGPSConfiguration(GPSConfig gpsConfig)
gpsConfig
- This parameter passes in the data structure to update the current configuration
of the GPS sensor of the Extreme reader. See the documentation for the
GPSConfig class for details of which fields can be set.
public RFIDStatus SetHeartbeatConfig(Byte[] iPv4Address, UInt16 portNumber, UInt32 interval, UInt32 count)
iPv4Address
- This input parameter passes in the four bytes
that comprise the IP address over which the heartbeat messages are sent.
This can be set to 255.255.255.255 for UDP broadcast over the local subnet
PortNumber
- This input parameter sets the PortNumber over
which teh UDP heartbeat messages are sent. The default is 3988,
but can be set to any value between 1024 and 65535.
Interval
- The Interval input parameter passes in the number of
seconds between heartbeat messages. This value can be set to 0
to turn the heartbeat off, or can be set to a long interval to reduce
network traffic associated with the heartbeat
messages.
Count
- This value specifies the number of heartbeat messages
that are sent before the heartbeat is no longer being sent. Again,
this can be used to reduce network traffic by turning the messages off after
some time period.
public RFIDStatus SetIMUConfiguration(IMUConfig IMUConfig)
IMUConfig
- This parameter passes in the data structure to update the current configuration
of the IMU sensor of the Extreme reader. See the documentation for the
IMUConfig class for details of which fields can be set.
public RFIDStatus SetInventoryFilter(Byte maskBank, UInt16 maskStartBitAddress UInt16 maskBitLength, Byte[] mask, Boolean makePersistent)
makePersistent
- This parameter specifies whether this filter
should be saved to the module
flash memory so that it will continue to be active even when the module
reboots
public void SetIPv4CommLink(String IPAddress, UInt16 PortNumber)
iPAddress
- Input parameter with dotted format IP address
(e.g., "192.168.1.150").
portNumber
- Input parameter with the TCP port that the primary
command communication will take place over.
public RFIDStatus SetIPv4Info(Boolean UseDHCP, Byte[] IPv4Address, Byte[] ipv4Netmask, Byte[] ipv4Gateway, Byte[] ipv4DNSServer, UInt16 SensorPort)
UseDHCP
- Input specifying that the sensor should use DHCP to
obtain its
network configuration.
IPv4Address, ipv4Netmask, ipv4Gateway, ipv4DNSServer
- Input
values for IpV4 address, the netmask, the gateway's IP address,
and the IP address of the DNS server. These should be a valid dot notation
for these values (a.b.c.d where the 4 fields must fall between 0 and 255).
SensorPort
- Input specifying the prot for command-level
comminication with
the sensor. This must be a value between 1024 and 65535
public RFIDStatus SetLinkParams(byte linkParams, boolean save)
linkParams
- this parameter sets the link parameters to the
following values:
save
- this parameter sets whether or not the link parameters
will be saved to the
module after a power cycle.
public RFIDStatus GetExpressoModeParams(out ExpressoModeParameters expressoParams)
expressoParams
- The subfields of ExpressoModeParameters that are returned are:
public RFIDStatus SetLocatorSignalStatus(Boolean NewSignalStatus)
NewSignalStatus
- Input parameter, when true, turns the locator
flash pattern on, and when false,
returns the flash pattern to normal operating mode indication.
public RFIDStatus SetModulePowerSetting(Double readPower, Double writePower)
readPower
- The power to be used when reading tags in dBm.
Valid range is from 5 to 30.
writePower
- The power to be used when writing tags in dBm.
Valid range is from 5 to 30.
public RFIDStatus SetReaderDateandTime(String readerDateandTime)
readerDateandTime
- This parameter provides the date/time to be
set in the format: YYYY-MM-DDThh:mm:ss
public RFIDStatus SetReaderName(String readerName)
readerName
- Input parameter specifying the name of the reader
to be advertised
in the sensor's heartbeat message. The name cannot be longer than 31
characters.
public RFIDStatus SetReadGapTimes(UInt16 readTime, UInt16 gapTime)
readTimes
- Input parameter setting the time interval in
milliseconds for which the reader
will perform an inventory cycle for the current antenna.
gapTimes
- Input parameter setting the time interval in
milliseconds between inventory
read cycles.
public RFIDStatus SetReadSequence(Byte[] AntennaSequence, Byte SequenceLength)
antennaSequence
- This input parameter is used to pass an array
of antenna numbers
to the reader to set the sequence of antennas that it will cycle through
during a continuous
inventory read cycle.
sequenceLength
- Input value indicating the number of items in
the antenna sequence.
public RFIDStatus SetRegionCode(Byte regionSetting)
RegionSetting
- Sets the current region setting of the reader module with values as
follows:
public RFIDStatus SetSearchMode(byte searchMode)
searchMode
- This parameter specifies the search mode (0) -
dual or (1) - single
to be set.
public RFIDStatus SetSelectParameters(Byte inventoryMode, Byte preSelectCount)
InventoryMode
- The value of the InventoryMode setting will be returned through this
parameter. The values returned will be:
PreSelectCount
- The number of pre-selects that will be issued before each
read cycle subject to the processing determined by the
InventoryMode parameter. Note that PreSelectCount = 0 and
InventoryMode = 0 are equivalent and will be implemented
by setting InventoryMode to 0 when doing an inventory read.
public RFIDStatus SetSessionParameter(Byte sessionParam)
sessionParam
- This input parameter passes in the value for the
session parameter
to be set. The values are 0 through 3 for session 0 through 3.
public void SetSensorReadCallback(RFID.Reader.SensorDataReadHandler sensorReadHandler)
sensorReadHandler
- This parameter specifies the callback routine that is called each time
tag data is reported during a continuous inventory cycle.
public void SetSjcParameters(SJC_Parameters sjcParams)
sjcParams
- The current state of the Self-Jamming Correction paramters is updated
to the settings passed in through this parameter. See the documentation
for the SJC_Parameters class for details about the various settings.
public void SetTagReadCallback(RFID.Reader.TagReadHandler continuousTagReadHandler)
continuousTagReadHandler
- This parameter specifies the
callback routine that is called each time
tag data is reported during a continuous inventory cycle
public void SetTagReadCallback(RFID.Reader.TagReadHandler2 continuousTagReadHandler)
continuousTagReadHandler
- This parameter specifies the
callback routine that is called each time
tag data is reported during a continuous inventory cycle
public RFIDStatus SetTempNotificationSetup(UInt16 notificationInverval, UInt16 alertInterval Double warningThreshold, Double alertThreshold)
alertInterval
- Input specifying the interval in seconds
between times that the sensor checks
the module's temperature to determine whether or not it is over the warning
or
the alert threshold.
warningThreshold
- Input parameter to set the current
temperature threshold in degrees C above
which a warning notification is sent.
alertThreshold
- Input parameter to set the current temperature
threshold in degrees C above
which a temperature alert notification is sent.
public RFIDStatus SetWiFiConfiguration(String SSID, String PassCode)
SSID
- This parameter is used to specify the name of the
wireless network as is typically broadcast by your wireless router.
PassCode
- The PassCode is required to allow the reader to
provide the password or passphrase to the wireless router.
public void Shutdown()
public Boolean isConnected()
public void SetIPv6Address(string sIPv6Address)
sIPv6Address
- The IPv6 Address to be set on the reader.public Boolean ClearedToSend()
public RFIDStatus StartContinuousRead()
public RFIDStatus StopContinuousRead()
public RFIDStatus StopContinuousRead(Byte resumeTime)
resumeTime
- This parameter specifies the time after the reader stops to when the running AutoSens
program is resumed. This parameter specifies the time in minutes and has a range from
0 to 15. Specifying 0 is equivalent to calling StopContinuousRead() without any parameters
and results in the AutoSens program remaining stopped until manually restarted or the
reader is rebooted when Start AutoSens on Boot is active.
public RFIDStatus WriteTagData(UInt32 accessPassword, Byte maskBank, UInt16 maskStartBit, UInt16 maskBitLength, Byte[] mask, Byte dataBank, UInt16 dataStartWord, UInt16 dataWordLength, UInt16[] data, out Byte errorCode)