Class Config
This class allows to perform reader configuration
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class Config
Properties
Antennas
Gets the Antenna object
Declaration
public Antennas Antennas { get; }
Property Value
| Type | Description |
|---|---|
| Antennas |
DefaultReadTagsCount
Gets or sets the default read tag count
Declaration
public int DefaultReadTagsCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultRFSurveyCount
Gets or sets the default read rf survey data count
Declaration
public int DefaultRFSurveyCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
DutyCycleIndex
Duty cycle of the RFID Radio Module. It is an index to ReaderCapabilities.DutyCycleValues
Declaration
public ushort DutyCycleIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |
GPI
Gets the GPI Object
Declaration
public GPIs GPI { get; }
Property Value
| Type | Description |
|---|---|
| GPIs |
GPO
Gets the GPO Object
Declaration
public GPOs GPO { get; }
Property Value
| Type | Description |
|---|---|
| GPOs |
RadioPowerState
Gets or sets the Radio power state to on or off state
Declaration
public RADIO_POWER_STATE RadioPowerState { get; set; }
Property Value
| Type | Description |
|---|---|
| RADIO_POWER_STATE |
SledBatteryLevel
Gets Sled battery level in percantage
Declaration
public uint SledBatteryLevel { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
SledBatteryStatus
Gets Sled battery status - charging, discharging, critical
Declaration
public BATTERY_STATUS SledBatteryStatus { get; }
Property Value
| Type | Description |
|---|---|
| BATTERY_STATUS |
TemperatureStatus
get Temperature Status
Declaration
public TemperatureStatus TemperatureStatus { get; }
Property Value
| Type | Description |
|---|---|
| TemperatureStatus |
TraceLevel
Gets or sets the trace level
Declaration
public TRACE_LEVEL TraceLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| TRACE_LEVEL |
Zones
Gets the Zones Object
Declaration
public Zones Zones { get; }
Property Value
| Type | Description |
|---|---|
| Zones |
Methods
GetSaveLlrpConfigStatus()
This function returns the LLRP configuration saved status
Declaration
public bool GetSaveLlrpConfigStatus()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if saved or False if not |
GetTagStorageSettings()
Get TagStorageSettings.
Declaration
public TagStorageSettings GetTagStorageSettings()
Returns
| Type | Description |
|---|---|
| TagStorageSettings | TagStorageSettings |
ResetFactoryDefaults()
Restores to factory default settings in the reader.
Declaration
public void ResetFactoryDefaults()
Remarks
Once this method is called, all the settings will be lost. For eg. events, singulation control. This application is required to redo the basic steps for initializing the reader.
SaveLlrpConfig()
This function saves the LLRP configurations
Declaration
public void SaveLlrpConfig()
SetDebugMask(String, UInt16)
Sets the Debug Mask
Declaration
public void SetDebugMask(string debugMask, ushort byteOffSet)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | debugMask | |
| System.UInt16 | byteOffSet |
SetTagStorageSettings(TagStorageSettings)
This method allows configuring the maximum tag-storage capacity and storage to be allocated in the Tag Data object for the memory bank data and Tag ID (EPC). Also, it allows to set the number of tags to be queued in side the Library.
Declaration
public void SetTagStorageSettings(TagStorageSettings tagStorageSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| TagStorageSettings | tagStorageSettings | Settings like MaxTagCount, MaxMemoryBankSize, MaxEPCID, Selection of Tag Data Fields |
Remarks
The application can use this method to customize the tag data size(EPC and Memory Bank) based on the requirements. Also, this method allows to configure the queue size of the Library maintained.
Tags reported from the reader as part of inventory or read-access operation will be queued internally in the library till it is called using GetReadTag. When the number of tags queued in the library exceeds the max tag count, the event enabled for BUFFER_FULL_WARNING_EVENT will be signalled. This event also be signalled when reader internal buffers are full.
It is recommended to use the default settings unless it is explicitly required for advanced user to optimize the performance or necessary to adjust the EPC or memory bank size
Exceptions
| Type | Condition |
|---|---|
| OperationFailureException | This exception is thown when the parameters are invalid |