 |
RFID API Documentation
1.0
Reference guide for RFID API
|
|
| RFID_STATUS WINAPI | RFID_NXPSetEAS (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_SET_EAS_PARAMS lpNXPSetEASParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function sets the EAS (Electronic Article Surveillance) bit on one more NXP tags in the FOV. More...
|
| |
| RFID_STATUS WINAPI | RFID_NXPReadProtect (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_READ_PROTECT_PARAMS lpNXPReadProtectParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function sets the Quiet bit on one more NXP tags in the FOV. More...
|
| |
| RFID_STATUS WINAPI | RFID_NXPResetReadProtect (RFID_HANDLE32 readerHandle, LPNXP_RESET_READ_PROTECT_PARAMS lpNXPResetReadProtectParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function resets the Quiet bit on the NXP tags in the FOV.The antenna Info on which this operation is to be performed may be specified. More...
|
| |
| RFID_STATUS WINAPI | RFID_PerformNXPEASScan (RFID_HANDLE32 readerHandle, LPANTENNA_INFO lpAntennaInfo, LPTRIGGER_INFO lpTriggerInfo, LPVOID rsvd) |
| | This function performs the NXP EAS Scan operation. More...
|
| |
| RFID_STATUS WINAPI | RFID_StopNXPEASScan (RFID_HANDLE32 readerHandle) |
| | This function stops the NXP EAS Scan operation. More...
|
| |
| RFID_STATUS WINAPI | RFID_NXPChangeConfig (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_CHANGE_CONFIG_PARAMS lpNXPChangeConfigParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd) |
| | This function sets the change config word for G2IL Tags. More...
|
| |
◆ RFID_NXPSetEAS()
This function sets the EAS (Electronic Article Surveillance) bit on one more NXP tags in the FOV.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Pointer to the byte array containing tagID |
| [in] | tagIDLength |
Length of the byte array containing tagID |
| [in] | lpNXPSetEASParams |
Pointer to NXP_SET_EAS_PARAMS structure containing the Access-Password and the desired EAS-bit state of the NXP tag(s).
|
| [in] | lpAccessFilter |
Pointer to Access filter structure specifying the tag-filter criteria for the current Access operation |
| [in] | lpAntennaInfo |
Pointer to ANTENNA_INFO structure specifying the Antenna IDs on which the access operation is to be performed |
| [in] | rsvd |
Reserved for future use |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
RFID_API_INVALID_HANDLE Invalid handle is provided.
RFID_API_PARAM_ERROR Parameter is invalid. RFID_ACCESS_NXP_TAG_SET_EAS_FAILED Failed to change EAS bit on the specified tag.**
RFID_API_COMMAND_TIMEOUT Timeout and no responses from the reader. RFID_COMM_NO_CONNECTION No Connection exists to the Host. RFID_INVENTORY_IN_PROGRESS Inventory in progress, cannot perform requested operation. RFID_ACCESS_IN_PROGRESS Access Operation in progress, cannot perform requested operation. RFID_READER_FUNCTION_UNSUPPORTED Function not supported by Reader. RFID_ACCESS_TAG_NOT_FOUND Tag(s) not found in the field which matches the set Filter(s).
- See also
- RFID_PerformTagLocationing
◆ RFID_NXPReadProtect()
This function sets the Quiet bit on one more NXP tags in the FOV.
One can specify the Access filter-criteria on which this operation is to be performed. Also, the antenna Info on which this operation is to be performed may be specified
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Pointer to the byte array containing tagID |
| [in] | tagIDLength |
Length of the byte array containing tagID |
| [in] | lpNXPReadProtectParams |
Pointer to NXP_READ_PROTECT_PARAMS structure containing the Access-Password of the NXP tag(s) |
| [in] | lpAccessFilter |
Pointer to Access filter structure specifying the tag-filter criteria for the current Access operation |
| [in] | lpAntennaInfo |
Pointer to ANTENNA_INFO structure specifying the Antenna IDs on which the access operation is to be performed |
| [in] | rsvd |
Reserved for future use |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Handle provided is invalid
- RFID_API_PARAM_ERROR One of the parameters has taken an erroneous value
- RFID_ACCESS_NXP_TAG_READ_PROTECT_FAILED Failed to set the Quiet bit on the specified tag
- See also
- RFID_NXPResetReadProtect
◆ RFID_NXPResetReadProtect()
This function resets the Quiet bit on the NXP tags in the FOV.The antenna Info on which this operation is to be performed may be specified.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | lpNXPResetReadProtectParams |
Pointer to NXP_RESET_READ_PROTECT_PARAMS structure containing the Access-Password of the NXP tag(s) |
| [in] | lpAntennaInfo |
Pointer to ANTENNA_INFO structure specifying the Antenna IDs on which the access operation is to be performed |
| [in] | rsvd |
Reserved for future use |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Handle provided is invalid
- RFID_API_PARAM_ERROR One of the parameters has taken an erroneous value
- See also
◆ RFID_PerformNXPEASScan()
This function performs the NXP EAS Scan operation.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | lpAntennaInfo |
Antenna List on which the operation is to be performed. If this is NULL, the operation is performed on ALL antennas. |
| [in] | lpTriggerInfo |
Trigger Criteria for the operation. If this is NULL, operation starts right away when this API is called, and stops when RFID_StopNXPEASScan is called. |
| [in] | rsvd | Reserved for future use. |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Handle provided is invalid
- RFID_API_PARAM_ERROR Invalid parameter given
- RFID_API_PARAM_OUT_OF_RANGE Parameter out of range [Antenna ID/GPI]
- RFID_INVENTORY_IN_PROGRESS Inventory in progress, cannot perform requested operation
- RFID_ACCESS_IN_PROGRESS Access Operation in progress, cannot perform requested operation
- RFID_TAG_LOCATING_IN_PROGRESS Tag Locating in progress, cannot perform requested operation
- RFID_NXP_EAS_SCAN_IN_PROGRESS NXP EAS SCAN in progress, cannot perform requested operation
- See also
- RFID_StopNXPEASScan
◆ RFID_StopNXPEASScan()
This function stops the NXP EAS Scan operation.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Handle provided is invalid
- RFID_NO_NXP_EAS_SCAN_IN_PROGRESS There is no NXP EAS Scan operation in progress
- See also
- RFID_PerformNXPEASScan
◆ RFID_NXPChangeConfig()
This function sets the change config word for G2IL Tags.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Pointer to the byte array containing Tag ID |
| [in] | tagIDLength |
Length of the byte array containing Tag ID |
| [in] | lpNXPChangeConfigParams |
Pointer to LPNXP_CHANGE_CONFIG_PARAMS structure containing the NXP_CHANGE_CONFIG_PARAMS |
| [in] | lpAccessFilter |
Pointer to Access filter structure specifying the tag-filter criteria for the current Access operation |
| [in] | lpAntennaInfo |
Pointer to ANTENNA_INFO structure specifying the Antenna IDs on which the access operation is to be performed |
| [in] | lpTagData |
Pointer to TAG_DATA structure |
| [in] | rsvd |
Reserved for future use |
- Returns
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Handle provided is invalid
- RFID_API_PARAM_ERROR Parameter is invalid.
- RFID_ACCESS_NXP_CHANGE_CONFIG_FAILED NXP Change Config failed.
- See also
- See RFID_StopNXPEASScan
BOOLEAN EASState
Desired state of the EAS bit.
Definition: rfidapiStructs.h:2492
#define RFID_GetReaderCaps
Definition: rfidapi.h:88
@ RFID_API3_5_1
RFID API3 - Dll version 5.1.xx.
Definition: rfidapiConstants.h:33
UINT16 writeDataLength
Length of the array pWriteData.
Definition: rfidapiStructs.h:1563
RFID_STATUS WINAPI RFID_Write(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_ACCESS_PARAMS lpWriteAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function writes to a specified memory bank of tag(s).
Definition: rfidapi.cpp:5329
@ INVENTORY_START_EVENT
Inventory Operation has started.
Definition: rfidapiConstants.h:76
UINT16 byteOffset
Byte offset; Addresss of the first byte to be written to the chosen memory bank.
Definition: rfidapiStructs.h:1558
RFID_STATUS WINAPI RFID_GetEventData(RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType, STRUCT_HANDLE pEventData)
This function returns the event-data corresponding to a signaled event.
Definition: rfidapi.cpp:3225
RFID_STATUS WINAPI RFID_GetLastAccessResult(RFID_HANDLE32 readerHandle, UINT32 *pSuccessCount, UINT32 *pFailureCount)
This function gets the number of Tags on which the last Access operation was performed successfully,...
Definition: rfidapi.cpp:9104
Provides information on Reader Capabilities as reported by the Reader.
Definition: rfidapiStructs.h:531
OPERATION_QUALIFIER
OPERATION_QUALIFIER indicates the operation to be performed on the corresponding antenna.
Definition: rfidapiConstants.h:705
This struct holds the information related to connection.
Definition: rfidapiStructs.h:52
RFID_STATUS WINAPI RFID_RegisterEventNotification(RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType, EVENT_HANDLE notifyObject)
This function is used to enable notification of single Reader event type.
Definition: rfidapi.cpp:2957
UINT16 NXPChangeConfigWord
Change config word.
Definition: rfidapiStructs.h:150
RFID_STATUS WINAPI RFID_PerformNXPEASScan(RFID_HANDLE32 readerHandle, LPANTENNA_INFO lpAntennaInfo, LPTRIGGER_INFO lpTriggerInfo, LPVOID rsvd)
This function performs the NXP EAS Scan operation.
Definition: rfidapi.cpp:7187
RFID_STATUS WINAPI RFID_Disconnect(RFID_HANDLE32 readerHandle)
This function closes connection to the Reader.
Definition: rfidapi.cpp:1061
UINT32 accessPassword
Access Password of the NXP tag.
Definition: rfidapiStructs.h:2516
UINT32 length
Number of elements in array pAntennaList .
Definition: rfidapiStructs.h:82
UINT32 accessPassword
Access Password of the NXP tag.
Definition: rfidapiStructs.h:2504
@ MEMORY_BANK_RESERVED
Reserved Memory: contain the kill and access passwords.
Definition: rfidapiConstants.h:258
RFID_VERSION version
RFIDAPI version to be used.
Definition: rfidapiStructs.h:53
UINT32 accessPassword
Access Password of the Impinj tag.
Definition: rfidapiStructs.h:149
void * RFID_HANDLE32
Definition: rfidapiTypes.h:76
unsigned char UINT8
Definition: rfidapiTypes.h:26
@ NXP_EAS_ALARM_EVENT
This Event is generated when Reader finds a(NXP)tag with it's EAS System bit still set to true.
Definition: rfidapiConstants.h:88
Contains Antenna Information to be used for Inventory or Access Operations.
Definition: rfidapiStructs.h:79
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1564
UINT16 antennaID
Antenna ID which "saw" an NXP tag with it's EAS bit set.
Definition: rfidapiStructs.h:1189
This struct contains parameters for NXP's Read-Protect(SetQuiet) operation.
Definition: rfidapiStructs.h:2503
RFID_STATUS WINAPI RFID_NXPReadProtect(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_READ_PROTECT_PARAMS lpNXPReadProtectParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function sets the Quiet bit on one more NXP tags in the FOV.
Definition: rfidapi.cpp:7014
UINT32 accessPassword
Access Password of the NXP tag.
Definition: rfidapiStructs.h:2491
This struct contains data associated with an NXP_EAS_ALARM_EVENT; It contains the antenna ID which "s...
Definition: rfidapiStructs.h:1187
@ RFID_API_SUCCESS
Definition: rfidapiErrors.h:27
UINT8 * pTagID
Tag ID, for C1G2 this field refers EPC Data.
Definition: rfidapiStructs.h:925
RFID_STATUS WINAPI RFID_StopNXPEASScan(RFID_HANDLE32 readerHandle)
This function stops the NXP EAS Scan operation.
Definition: rfidapi.cpp:7228
unsigned int UINT32
Definition: rfidapiTypes.h:30
OPERATION_QUALIFIER * pAntennaOpList
Definition: rfidapiStructs.h:84
@ ACCESS_START_EVENT
Access Operation has started.
Definition: rfidapiConstants.h:80
@ ACCESS_STOP_EVENT
Access Operation has stopped.
Definition: rfidapiConstants.h:81
RFID_STATUS WINAPI RFID_NXPChangeConfig(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_CHANGE_CONFIG_PARAMS lpNXPChangeConfigParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd)
This function sets the change config word for G2IL Tags.
Definition: rfidapi.cpp:7298
RFID_STATUS WINAPI RFID_NXPResetReadProtect(RFID_HANDLE32 readerHandle, LPNXP_RESET_READ_PROTECT_PARAMS lpNXPResetReadProtectParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function resets the Quiet bit on the NXP tags in the FOV.The antenna Info on which this operatio...
Definition: rfidapi.cpp:7080
Contains the NXP Change config parameters.
Definition: rfidapiStructs.h:148
#define RFID_Connect
Definition: rfidapi.h:51
@ NXP_EAS_SCAN
Electronic Article Surveillance.
Definition: rfidapiConstants.h:707
This struct contains parameters for NXP's Reset Read-Protect(Reset Quiet) operation.
Definition: rfidapiStructs.h:2515
RFID_STATUS WINAPI RFID_NXPSetEAS(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPNXP_SET_EAS_PARAMS lpNXPSetEASParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function sets the EAS (Electronic Article Surveillance) bit on one more NXP tags in the FOV.
Definition: rfidapi.cpp:6901
unsigned short UINT16
Definition: rfidapiTypes.h:28
RFID_STATUS
Definition: rfidapiErrors.h:26
RFID_STATUS WINAPI RFID_PerformInventory(RFID_HANDLE32 readerHandle, LPPOST_FILTER lpPostFilter, LPANTENNA_INFO lpAntennaInfo, LPTRIGGER_INFO lpTriggerInfo, LPVOID rsvd)
This function performs the inventory operation.
Definition: rfidapi.cpp:4156
UINT32 tagIDLength
Tag ID Length (Number of Bytes).
Definition: rfidapiStructs.h:926
This struct contains parameters for NXP's EAS (Electronic Article Surveillance) operation.
Definition: rfidapiStructs.h:2490
UINT16 numAntennas
Number of Antenna Supported.
Definition: rfidapiStructs.h:540
UINT8 * pWriteData
Pointer to a UINT8 array which contains the data to be written.
Definition: rfidapiStructs.h:1560
This struct contains the parameters for Write Access Operation.
Definition: rfidapiStructs.h:1556
MEMORY_BANK memoryBank
Memory bank on which data is to be written to.
Definition: rfidapiStructs.h:1557
@ INVENTORY_STOP_EVENT
Inventory Operation has stopped.
Definition: rfidapiConstants.h:78
RFID_STATUS WINAPI RFID_GetReadTag(RFID_HANDLE32 readerHandle, LPTAG_DATA lpTagData)
This function returns a Tag if available.
Definition: rfidapi.cpp:3651
RFID_STATUS WINAPI RFID_StopInventory(RFID_HANDLE32 readerHandle)
This function stops the inventory operation.
Definition: rfidapi.cpp:4973
UINT16 * pAntennaList
Array for holding the Antennas to be used for the operation: Range: 1 - N (N = Max.
Definition: rfidapiStructs.h:80