RFID_STATUS WINAPI RFID_ImpinjQTRead ( RFID_HANDLE32  readerHandle,
UINT8 *  pTagID,
UINT32  tagIDLength,
LPIMPINJ_QT_READ_PARMS  lpQTReadParams,
LPACCESS_FILTER  lpAccessFilter,
LPANTENNA_INFO  lpAntennaInfo,
LPTAG_DATA  lpTagData,
LPVOID  rsvd 
)

This function read the QT data from Impinj Monza QT 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] lpQTReadParams 
Pointer to LPIMPINJ_QT_READ_PARMS structure containing the QT Data
[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_IMPINJ_QT_READ_FAILED QT Read failed
Remarks:
See also:
See RFID_ImpinjQTWrite
Remarks:
Example:
   // Code Snippets for QT Data Write
   RFID_HANDLE32                        readerHandle;
   RFID_STATUS rfidStatus = RFID_API_SUCCESS;
   CONNECTION_INFO                      connectionInfo;
   connectionInfo.version = RFID_API3_5_1;
   if(RFID_API_SUCCESS == RFID_Connect(&readerHandle, TEXT("157.235.207.191"), 0, 0, &connectionInfo))
   {
                // Perform Inventory to get the tags
                RFID_PerformInventory(readerHandle, NULL, ANTENNA_LIST, NULL, NULL);
                Sleep(300);
                RFID_StopInventory(readerHandle);

                IMPINJ_QT_DATA qtData;
        
                IMPINJ_QT_READ_PARMS impinjQtReadParams;
                impinjQtReadParams.accessPassword       = 0x00;

                // Apply QT READ in each of the tags read
                while (RFID_GetReadTag(readerHandle, pTagData) == RFID_API_SUCCESS)
                {
                        TagIDLength = pTagData->tagIDLength;
                        memcpy(TagID, pTagData->pTagID, TagIDLength);
                        rfidStatus = RFID_ImpinjQTRead(readerHandle, TagID, TagIDLength, &impinjQtReadParams,NULL,NULL,lpTagData, NULL);
                }
        }    


Generated on Fri Mar 4 02:25:31 2016 for RFIDAPI3 1.1 C API Documentation by  doxygen 1.5.6