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.

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
Remarks:
This function behaves synchronously when performing operation on single Tag i.e When specifying pTagID, the function waits for the operation to complete and returns with the result of the operation. If pTagID is NULL, the function behaves asynchronously and will return immediately. The completion of the operation will be signalled using ACCESS_STOP_EVENT, after which RFID_GetLastAccessResult can be called to know the result of the operation.
See also:
RFID_Read, RFID_Write, RFID_Kill, RFID_Lock, RFID_BlockErase, RFID_GetLastAccessResult
Remarks:
Example: Similar to


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