User's Manual

CAEN RFID API Reference Manual
73
ReadTagData_EPC_C1G2 Method (CAENRFIDTag, Int16, Int16, Int16, Int32)
Description:
This method can be used to read 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 read.
MemBank
The memory bank where to read the data.
Address
The address where to start reading the data.
Length
The number of byte to be read.
AccessPassword
The access password.
Return value:
An array of bytes representing the data read from the tag.
Syntax:
C# representation:
public byte[] ReadTagData_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short Address,
short Length,
int AccessPassword)
JAVA representation:
public byte[] ReadTagData_EPC_C1G2(
CAENRFIDTag Tag,
short MemBank,
short Address,
short Length,
int AccessPassword)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_SecureReadTagData_EPC_C1G2 (
CAENRFIDHandle handle,
CAENRFIDTag *Tag,
short MemBank,
int Address,
int Length,
int AccessPassword,
void *Data);