 |
RFID API Documentation
1.0
Reference guide for RFID API
|
|
| RFID_STATUS WINAPI | RFID_Read (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPREAD_ACCESS_PARAMS lpReadAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd) |
| | This function reads a specified memory bank of tag(s). More...
|
| |
| 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). More...
|
| |
| RFID_STATUS WINAPI | RFID_WriteTagID (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function writes to TagID of a specific tag and adjusts the PC bits according to the length of the TagID. More...
|
| |
| RFID_STATUS WINAPI | RFID_WriteKillPassword (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function writes Kill password of a specific tag. More...
|
| |
| RFID_STATUS WINAPI | RFID_WriteAccessPassword (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function writes to access password of a specific tag. More...
|
| |
| RFID_STATUS WINAPI | RFID_Kill (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPKILL_ACCESS_PARAMS lpKillParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function kills tag(s). More...
|
| |
| RFID_STATUS WINAPI | RFID_Lock (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPLOCK_ACCESS_PARAMS lpLockParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function locks tag(s). More...
|
| |
| RFID_STATUS WINAPI | RFID_BlockWrite (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_ACCESS_PARAMS lpWriteAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function allows to write multiple words in a Tag’s Reserved, EPC, TID, or User memory using a single command. More...
|
| |
| RFID_STATUS WINAPI | RFID_BlockErase (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPBLOCK_ERASE_ACCESS_PARAMS lpBlkEraseAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function erases tag(s). More...
|
| |
| RFID_STATUS WINAPI | RFID_BlockPermalock (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPBLOCK_PERMALOCK_ACCESS_PARAMS lpBlkPermalockAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd) |
| | This function allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or User memory with a single command, or read the permalock satus of the memory blocks in a Tag's User memory. More...
|
| |
| RFID_STATUS WINAPI | RFID_Recommission (RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPRECOMMISSION_ACCESS_PARAMS lpRecommissionParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd) |
| | This function is used for recommissioning tag(s). More...
|
| |
◆ RFID_Read()
This function reads a specified memory bank of tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL) |
| [in] | lpReadAccessParams |
Pointer to READ_ACCESS_PARAMS |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [out] | lpTagData |
Returns the Tag that was read if the API was called with a valid pTagID. If pTagID is NULL, tags reported from Reader can be fetched using RFID_GetReadTag or RFID_GetEventData optionally waiting for by waiting for the TAG_READ_EVENT. |
| [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_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_ACCESS_TAG_READ_FAILED Tag Read failed
- See also
- RFID_Write, RFID_Kill, RFID_Lock, RFID_GetReadTag RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_Write()
This function writes to a specified memory bank of tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL). |
| [in] | lpWriteAccessParams |
Pointer to WRITE_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_WRITE_FAILED Tag write failed
- See also
- RFID_Read, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_WriteTagID()
This function writes to TagID of a specific tag and adjusts the PC bits according to the length of the TagID.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. |
| [in] | tagIDLength |
Tag Length. |
| [in] | lpWriteSpecificFieldAccessParams |
Pointer to WRITE_SPECIFIC_FIELD_ACCESS_PARAMS. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_WRITE_FAILED Tag write failed
- See also
- RFID_WriteKillPassword, RFID_WriteAccessPassword RFID_Read, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_WriteKillPassword()
This function writes Kill password of a specific tag.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. |
| [in] | tagIDLength |
Tag Length. |
| [in] | lpWriteSpecificFieldAccessParams |
Pointer to WRITE_SPECIFIC_FIELD_ACCESS_PARAMS. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_WRITE_FAILED Tag write failed
- See also
- RFID_WriteTagID, RFID_WriteAccessPassword RFID_Read, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_WriteAccessPassword()
This function writes to access password of a specific tag.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID.. |
| [in] | tagIDLength |
Tag Length. |
| [in] | lpWriteSpecificFieldAccessParams |
Pointer to WRITE_SPECIFIC_FIELD_ACCESS_PARAMS. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_WRITE_FAILED Tag write failed
- See also
- RFID_WriteTagID, RFID_WriteKillPassword RFID_Read, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_Kill()
This function kills tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL). |
| [in] | lpKillParams |
Pointer to KILL_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_KILL_FAILED Tag kill failed
- See also
- RFID_Read, RFID_Write, RFID_Lock RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_Lock()
This function locks tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL). |
| [in] | lpLockParams |
Pointer to LOCK_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_LOCK_FAILED Tag lock failed
- See also
- RFID_Read, RFID_Write, RFID_Kill RFID_BlockWrite, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_BlockWrite()
This function allows to write multiple words in a Tag’s Reserved, EPC, TID, or User memory using a single command.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL). |
| [in] | lpWriteAccessParams |
Pointer to WRITE_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_BLOCK_WRITE_FAILED Tag Block Write failed
- RFID_READER_FUNCTION_UNSUPPORTED Function not supported by Reader
- See also
- RFID_Read, RFID_Write, RFID_Kill, RFID_Lock, RFID_BlockErase, RFID_GetLastAccessResult
◆ RFID_BlockErase()
This function erases tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL) |
| [in] | lpBlkEraseAccessParams |
Pointer to BLOCK_ERASE_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_BLOCK_ERASE_FAILED Tag Block Erase failed
- RFID_READER_FUNCTION_UNSUPPORTED Function not supported by Reader
- See also
- RFID_Read, RFID_Write, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_GetLastAccessResult
◆ RFID_BlockPermalock()
This function allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or User memory with a single command, or read the permalock satus of the memory blocks in a Tag's User memory.
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL) |
| [in] | lpBlkPermalockAccessParams |
Pointer to BLOCK_PERMALOCK_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [out] | lpTagData |
Returns the Tag that contained the permalock mask status if the function was called with a valid pTagID. If pTagID is NULL, tags reported from Reader can be fetched using RFID_GetReadTag or RFID_GetEventData optionally waiting for by waiting for the TAG_READ_EVENT. |
| [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_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_ACCESS_TAG_BLOCK_PERMALOCK_FAILED Tag Block Permalock failed
- RFID_READER_FUNCTION_UNSUPPORTED Function not supported by Reader
- See also
- RFID_Read, RFID_Write, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_Recommission, RFID_GetLastAccessResult
◆ RFID_Recommission()
This function is used for recommissioning tag(s).
- Parameters
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | pTagID |
Access-Operation will be performed on Tag with mentioned TagID. If this is NULL, lpAccessFilter will be considered as Filter Criteria for the Access operation. |
| [in] | tagIDLength |
Tag Length(Ignored if pTagID is NULL) |
| [in] | lpRecommissionParams |
Pointer to RECOMMISSION_ACCESS_PARAMS. |
| [in] | lpAccessFilter |
Filter Criteria for the Access operation. If this is NULL, there wont be any access filters used for the operation. |
| [in] | lpAntennaInfo |
Antenna List on which the access operation is to be performed. If this is NULL, access is performed on ALL antennas. |
| [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_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_ACCESS_TAG_RECOMMISSION_FAILED Tag Recommission failed
- RFID_READER_FUNCTION_UNSUPPORTED Function not supported by Reader
- See also
- RFID_Read, RFID_Write, RFID_Kill, RFID_Lock, RFID_BlockWrite, RFID_BlockErase, RFID_BlockPermalock, RFID_GetLastAccessResult
UINT16 byteOffset
Byte offset; Address of the first byte for the Mask.
Definition: rfidapiStructs.h:1648
@ RECOMMISSION_DISABLE_PASSWORD
Unlock EPC, TID, and User memory banks has been unlocked and Render the kill and access passwords per...
Definition: rfidapiConstants.h:458
UINT16 byteCount
Number of Bytes to be erased.
Definition: rfidapiStructs.h:1618
MEMORY_BANK memoryBank
Memory bank on which access operation is to be performed.
Definition: rfidapiStructs.h:1615
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
This struct holds the Tag Filter criteria for Access Operation.
Definition: rfidapiStructs.h:1517
RFID_STATUS WINAPI RFID_WriteKillPassword(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function writes Kill password of a specific tag.
Definition: rfidapi.cpp:5604
UINT16 byteOffset
Byte offset; Addresss of the first byte to be written to the chosen memory bank.
Definition: rfidapiStructs.h:1558
UINT16 byteOffset
Byte offset; The address of first byte to be erased.
Definition: rfidapiStructs.h:1616
This struct contains the parameters for Write Access Operation.
Definition: rfidapiStructs.h:1574
This struct contains the parameters for Block-Erase Access Operation.
Definition: rfidapiStructs.h:1614
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
RECOMMISSION_OPERATION_CODE opCode
Definition: rfidapiStructs.h:1632
@ MEMORY_BANK_USER
User Memory: Contains user-specific data storage.
Definition: rfidapiConstants.h:261
RFID_STATUS WINAPI RFID_WriteTagID(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function writes to TagID of a specific tag and adjusts the PC bits according to the length of th...
Definition: rfidapi.cpp:5482
MEMORY_BANK memoryBank
Memory bank from which data is to be read from.
Definition: rfidapiStructs.h:1541
RFID_STATUS WINAPI RFID_BlockPermalock(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPBLOCK_PERMALOCK_ACCESS_PARAMS lpBlkPermalockAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd)
This function allows to permalock multiple words in a Tag’s Reserved, EPC, TID, or User memory with a...
Definition: rfidapi.cpp:6445
UINT32 memoryBankDataLength
The length of the data(Number of Bytes) .
Definition: rfidapiStructs.h:957
This struct contains the parameters for BlockPermalock Access Operation.
Definition: rfidapiStructs.h:1642
UINT16 byteCount
Number of bytes to read.
Definition: rfidapiStructs.h:1544
LPTAG_PATTERN lpTagPatternA
Tag Pattern A to be used for comparison.
Definition: rfidapiStructs.h:1522
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
This struct contains the parameters for Kill Access Operation, which is Kill-Password.
Definition: rfidapiStructs.h:1589
BOOLEAN readLock
ReadLock specifies whether a tag backscatters the perlock status of, or permalocks,...
Definition: rfidapiStructs.h:1644
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1579
LOCK_PRIVILEGE privilege[NUM_LOCK_DATA_FIELDS]
Lock privilege for each memory bank.
Definition: rfidapiStructs.h:1601
This struct Contains the parameters for Read Access Operation.
Definition: rfidapiStructs.h:1540
#define RFID_GetLastErrorInfo
Definition: rfidapi.h:1114
RFID_STATUS WINAPI RFID_Recommission(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPRECOMMISSION_ACCESS_PARAMS lpRecommissionParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function is used for recommissioning tag(s).
Definition: rfidapi.cpp:6575
RFID_STATUS WINAPI RFID_Disconnect(RFID_HANDLE32 readerHandle)
This function closes connection to the Reader.
Definition: rfidapi.cpp:1061
WCHAR statusDesc[MAX_PATH]
Error description pertaining to rfidStatusCode.
Definition: rfidapiStructs.h:2457
WCHAR vendorMessage[MAX_PATH]
Vendor specific error message for the error that occurred; E.g.
Definition: rfidapiStructs.h:2458
UINT8 * pTagPattern
Memory Bank Data which is to be used for comparison.
Definition: rfidapiStructs.h:1456
UINT32 accessPassword
Lock Password.
Definition: rfidapiStructs.h:1604
@ MEMORY_BANK_RESERVED
Reserved Memory: contain the kill and access passwords.
Definition: rfidapiConstants.h:258
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1620
@ LOCK_PRIVILEGE_UNLOCK
Lock Privilege: Unlock.
Definition: rfidapiConstants.h:432
#define FALSE
Definition: rfidapiTypes.h:55
UINT32 killPassword
Kill Password.
Definition: rfidapiStructs.h:1590
void * RFID_HANDLE32
Definition: rfidapiTypes.h:76
unsigned char UINT8
Definition: rfidapiTypes.h:26
UINT16 tagMaskBitCount
Number of bits in pTagMask to be taken for comparison.
Definition: rfidapiStructs.h:1466
This struct provides additional information on the last API that failed.
Definition: rfidapiStructs.h:2454
This struct contains the parameters for Recommission Access Operation.
Definition: rfidapiStructs.h:1630
This struct contains the parameters for Lock Access Operation.
Definition: rfidapiStructs.h:1600
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1564
LPTAG_PATTERN lpTagPatternB
Tag Pattern B to be used for comparison.
Definition: rfidapiStructs.h:1525
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1650
RFID_STATUS WINAPI RFID_BlockErase(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPBLOCK_ERASE_ACCESS_PARAMS lpBlkEraseAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function erases tag(s).
Definition: rfidapi.cpp:6277
UINT32 accessPassword
Password to be used for the Access operation.
Definition: rfidapiStructs.h:1546
UINT8 * pWriteData
Pointer to a UINT8 array which contains the data to be written.
Definition: rfidapiStructs.h:1575
@ RFID_API_SUCCESS
Definition: rfidapiErrors.h:27
UINT8 * pTagID
Tag ID, for C1G2 this field refers EPC Data.
Definition: rfidapiStructs.h:925
unsigned int UINT32
Definition: rfidapiTypes.h:30
#define TRUE
Definition: rfidapiTypes.h:58
UINT32 killPassword
Kill Password.
Definition: rfidapiStructs.h:1631
RFID_STATUS WINAPI RFID_Lock(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPLOCK_ACCESS_PARAMS lpLockParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function locks tag(s).
Definition: rfidapi.cpp:6025
@ LOCK_PRIVILEGE_READ_WRITE
Lock Privilege: Read-Write.
Definition: rfidapiConstants.h:429
UINT16 bitOffset
Bit offset.
Definition: rfidapiStructs.h:1454
This struct holds Tag Pattern criteria for Filter Operation.
Definition: rfidapiStructs.h:1452
@ LOCK_USER_MEMORY
Lock the data field: User Memory.
Definition: rfidapiConstants.h:445
@ ACCESS_STOP_EVENT
Access Operation has stopped.
Definition: rfidapiConstants.h:81
Contains Tag related information.
Definition: rfidapiStructs.h:920
#define RFID_Connect
Definition: rfidapi.h:51
UINT16 tagPatternBitCount
Number of bits in pTagPattern to be taken for comparison.
Definition: rfidapiStructs.h:1460
UINT8 * pMemoryBankData
The data read from the specified Bank or Block Permalock Mask Data as specified by opCode.
Definition: rfidapiStructs.h:954
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
MEMORY_BANK memoryBank
Memory Bank to be considered for filtering.
Definition: rfidapiStructs.h:1453
@ LOCK_TID_MEMORY
Lock the data field: TID Memory.
Definition: rfidapiConstants.h:444
RFID_STATUS WINAPI RFID_WriteAccessPassword(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPWRITE_SPECIFIC_FIELD_ACCESS_PARAMS lpWriteSpecificFieldAccessParams, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function writes to access password of a specific tag.
Definition: rfidapi.cpp:5716
MEMORY_BANK memoryBank
Memory bank on which access operation is to be performed.
Definition: rfidapiStructs.h:1643
UINT8 * pWriteData
Pointer to a UINT8 array which contains the data to be written.
Definition: rfidapiStructs.h:1560
RFID_STATUS WINAPI RFID_Kill(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPKILL_ACCESS_PARAMS lpKillParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPVOID rsvd)
This function kills tag(s).
Definition: rfidapi.cpp:5858
This struct contains the parameters for Write Access Operation.
Definition: rfidapiStructs.h:1556
UINT16 byteOffset
Byte offset; The addresss of the first byte to read from the chosen memory bank.
Definition: rfidapiStructs.h:1542
MEMORY_BANK memoryBank
Memory bank on which data is to be written to.
Definition: rfidapiStructs.h:1557
#define MAX_PATH
Definition: rfidapiTypes.h:43
UINT8 * pTagMask
Bit Mask to be matched The application should allocate an UINT8 array and assign it to this field.
Definition: rfidapiStructs.h:1461
UINT16 byteCount
Specifies the range of Mask, starting from byteOffset and ending (16xBlockRange)-1 blocks later.
Definition: rfidapiStructs.h:1649
LPTAG_DATA WINAPI RFID_AllocateTag(RFID_HANDLE32 readerHandle)
This function allocates and initializes the TAG_DATA structure for the application.
Definition: rfidapi.cpp:3438
RFID_STATUS WINAPI RFID_Read(RFID_HANDLE32 readerHandle, UINT8 *pTagID, UINT32 tagIDLength, LPREAD_ACCESS_PARAMS lpReadAccessParams, LPACCESS_FILTER lpAccessFilter, LPANTENNA_INFO lpAntennaInfo, LPTAG_DATA lpTagData, LPVOID rsvd)
This function reads a specified memory bank of tag(s).
Definition: rfidapi.cpp:5184
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 writeDataLength
Length of the array pWriteData.
Definition: rfidapiStructs.h:1578