User's Manual

BlockWriteTagData Method (CAENRFIDTag, Int16, Int16, Int16, Byte[])
Description:
This method can be used to write a portion of the user memory in a ISO18000-6B tag using blocks of four bytes for
each command.
Parameters:
Name Description
Tag The CAENRFIDTag representing the tag to be written.
Address The address where to start writing the data.
Mask
A bitmask that permit to select which of the four bytes have to be written (i.e. mask
0x05 write the bytes on position Address + 1 and Address + 3).
Length The number of byte to be written.
Data The data to be written into the tag's user memory.
Syntax:
C# representation:
public void BlockWriteTagData(
CAENRFIDTag Tag,
short Address,
short Mask,
short Length,
byte[] Data)
Java and Android representation:
public void BlockWriteTagData(
CAENRFIDTag Tag,
short Address,
short Mask,
short Length,
byte[] Data)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_FilterBlockWriteTagData(
CAENRFIDHandle handle,
CAENRFIDTag *ID,
int Address,
short Mask,
int Length,
void *Data);
CAEN RFID API – Reference Manual 21