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.

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.
Remarks:
See also:
See RFID_StopNXPEASScan
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);

                NXP_CHANGE_CONFIG_PARAMS nxpParams;
        
                nxpParams.accessPassword = 0x01;
                nxpParams.NXPChangeConfigWord = 0x02;

                while (RFID_GetReadTag(readerHandle, pTagData) == RFID_API_SUCCESS)
                {
                        TagIDLength = pTagData->tagIDLength;
                        memcpy(TagID, pTagData->pTagID, TagIDLength);
                        rfidStatus = RFID_NXPChangeConfig(readerHandle, TagID, TagIDLength, &nxpParams,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