Class NXP
The NXP class comprises of the Access operations meant for NXP tags. These operation include SetEASWait and SetEASEvent(for setting/resetting EAS bits on NXP tags), ReadProtectWait & ResetReadProtectEvent(for setting the Quiet bit on one or more NXP tags), ResetReadProtectEvent(for resetting Quiet bit on all the NXP tags) and ChangeConfig(for changing and reading the Config-word for the NXP G2iL tags)
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class NXP
Constructors
NXP(TagAccess, RfidApi4Abstract)
Constructor
Declaration
public NXP(TagAccess tagAccess, RfidApi4Abstract rfidApi4Abstract)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAccess | tagAccess | Tag Access Object |
| RfidApi4Abstract | rfidApi4Abstract |
Methods
ChangeConfigEvent(NXP.ChangeConfigParams, AccessFilter, AntennaInfo)
This API Changes and reads the current Configuration of the NXP G2iL tags specified by AccessFilter. Changing the Configuration word helps enable/disable special features supported by the G2iL tag such as Read protection,Read-range reduction,ProductStatusFlag Alarm and others. Please refer to the G2iL tag's documentation for a comprehensive list of features and their corresponding configuration bits. Tags will be reported as notifications if the application has registered for Events.ReadNotify event. Else the Tags will be fetched using GetReadTags(s) methods. Completion of Access operation will be reported as Events.StatusNotify event of type ACCESS_STOP_EVENT.
Declaration
public void ChangeConfigEvent(NXP.ChangeConfigParams ChangeConfigParams, AccessFilter accessFilter, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| NXP.ChangeConfigParams | ChangeConfigParams | consists of accesspassword and the Configuration word to be applied.If the latter is zero, no change is made on the Configuration word and the current configuration is reported back in TagData |
| AccessFilter | accessFilter | Access Filter Criteria |
| AntennaInfo | antennaInfo | Antennas on which the current operation is to be performed. If this is null, operation will be performed on all Antennas |
ChangeConfigWait(String, NXP.ChangeConfigParams, AntennaInfo)
This API Changes and reads the current Configuration of an NXP G2iL tag whose ID is passed to the API.Changing the Configuration word helps enable/disable special features supported by the G2iL tag such as Read protection,Read-range reduction,ProductStatusFlag Alarm and others. Please refer to the G2iL tag's documentation for a comprehensive list of features and their corresponding configuration bits.
Declaration
public TagData ChangeConfigWait(string tagID, NXP.ChangeConfigParams changeConfigParams, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tagID | string value of Tag ID |
| NXP.ChangeConfigParams | changeConfigParams | consists of accesspassword and the Configuration word to be applied.If the latter is zero, no change is made on the Configuration word and the current configuration is reported back in TagData |
| AntennaInfo | antennaInfo | set of antennae on which this access operation is to be performed |
Returns
| Type | Description |
|---|---|
| TagData | Tag Data |
PerformEASScan()
Perform EAS Scan
Declaration
public void PerformEASScan()
PerformEASScan(TriggerInfo, AntennaInfo)
Perform EAS Scan
Declaration
public void PerformEASScan(TriggerInfo triggerInfo, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| TriggerInfo | triggerInfo | Specifies the Start/Stop condition and tag reporting parameter |
| AntennaInfo | antennaInfo | Antennas on which EAS Scan operation to be performation |
ReadProtectEvent(NXP.ReadProtectParams, AccessFilter, AntennaInfo)
A set of NXP tags can be read-protected or put into Quiet mode by calling ReadProtectEvent method The method takes in the filter criteria for this set of tags while a null value for access-filter corresponds to entire tag population Addtionally, the antenna IDs on which the operation is to be performed can also be specified
Declaration
public void ReadProtectEvent(NXP.ReadProtectParams readProtectParams, AccessFilter accessFilter, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| NXP.ReadProtectParams | readProtectParams | consists of the Access password |
| AccessFilter | accessFilter | defines the set of tag-population on which the access operation is to be applied |
| AntennaInfo | antennaInfo | defines the set of antennae on which this access operation is to be applied |
ReadProtectWait(String, NXP.ReadProtectParams, AntennaInfo)
An NXP tag can be protected from reading (i.e, Quiet mode) by calling the "ReadProtectWait" method. It requires the Access-password for the NXP tag. The antenna-ID list on which the operation is to be performed is also AntennaInfo taken by the method.
Declaration
public void ReadProtectWait(string tagID, NXP.ReadProtectParams readProtectParams, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tagID | NXP-tag's ID |
| NXP.ReadProtectParams | readProtectParams | contains the Access-password for the tag |
| AntennaInfo | antennaInfo | Contains the list of antenna-IDs on which the operation is to be performed |
ResetReadProtectEvent(NXP.ResetReadProtectParams, AntennaInfo)
All the NXP tags with the same Access-Password can be put out of the Quiet-Mode.Hence,they will no longer be read-protected.
Declaration
public void ResetReadProtectEvent(NXP.ResetReadProtectParams resetReadProtectParams, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| NXP.ResetReadProtectParams | resetReadProtectParams | consists of Access-password for the NXP tags |
| AntennaInfo | antennaInfo | consists of list of antenna IDs on which this access operation is to be applied |
SetEASEvent(NXP.SetEASParams, AccessFilter, AntennaInfo)
This API sets/resets the EAS bits of all the NXP tags specified by the access-filter.
Declaration
public void SetEASEvent(NXP.SetEASParams setEASParams, AccessFilter accessFilter, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| NXP.SetEASParams | setEASParams | consists of the Access password and desired EAS bit state |
| AccessFilter | accessFilter | defines the set of tag-population on which the access operation is to be applied |
| AntennaInfo | antennaInfo | defines the set of antennae on which this access operation is to be applied |
SetEASWait(String, NXP.SetEASParams, AntennaInfo)
This API sets/resets the EAS bit of the NXP tag whose ID is passed to the API.
Declaration
public void SetEASWait(string tagID, NXP.SetEASParams setEASParams, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tagID | string value of Tag ID |
| NXP.SetEASParams | setEASParams | consists of accesspassword and desired state of the EAS bit of the tag |
| AntennaInfo | antennaInfo | set of antennae on which this access operation is to be performed |
StopEASScan()
Stop EAS Scan
Declaration
public void StopEASScan()