User's Manual

CAEN RFID API Reference Manual
82
WriteTagData_EPC_C1G2 Method (CAENRFIDTag, Int16, Int16, Int16, Byte[], Int32)
Description:
This method can be used to write a portion of memory in a ISO18000-6C (EPC Class1 Gen2) tag after having put the tag
in Secured state using the Access command.
Parameters:
Name
Description
Tag
The CAENRFIDTag representing the tag to be written.
MemBank
The memory bank where to write the data.
Address
The address where to start writing the data.
Length
The number of byte to be written.
Data
An array of bytes representing the data to be written into the tag.
AccessPassword
The access password.
Syntax:
C# representation:
public void WriteTagData_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short Address,
short Length,
byte[] Data,
int AccessPassword)
JAVA representation:
public void WriteTagData_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short Address,
short Length,
byte[] Data,
int AccessPassword)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_SecureWriteTagData_EPC_C1G2(
CAENRFIDHandle handle,
CAENRFIDTag *Tag,
short MemBank,
int Address,
int Length,
void *Data,
int AccessPassword);