User's Manual

CAEN RFID API Reference Manual
56
ReadTagData_EPC_C1G2 Method (Int16, Int16, Int16, Byte[], Int16, Int16, Int16, Int32)
Description:
This method can be used to read a portion of memory in an ISO18000-6C (EPC Class1 Gen2) tag. In this case the target
tag is identified by 'LenghtMask' bytes of passed mask placed in a memory bank 'BankMask' at 'PositionMask' byte
from bank starting address byte. This is the secure version using the Access command.
Parameters:
Name
Description
BankMask
Memory bank for tag identificantion.
PositionMask
Bit position (from the start of the selected bank) where apply the mask to match.
LengthMask
Length of the mask.
Mask
Mask of byte.
MemBank
Memory bank where read.
Address
Address where starts reading.
Length
Number of byte to read.
AccessPassword
Access Password.
Return value:
An array of bytes representing the data read from the tag.
Syntax:
C# representation:
public byte[] ReadTagData_EPC_C1G2(
short BankMask,
short PositionMask,
short LengthMask,
byte[] Mask,
short MemBank,
short Address,
short Length,
int AccessPassword)
Java and Android representation:
public byte[] ReadTagData_EPC_C1G2(
short BankMask,
short PositionMask,
short LengthMask,
byte[] Mask,
short MemBank,
short Address,
short Length,
int AccessPassword)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_SecureBankFilteredReadTagData_EPC_C1G2 (
CAENRFIDHandle handle,
char *SourceName,
short BankMask,
short PositionMask,
short LengthMask,
byte[] Mask,
short MemBank,
int Address,
int Length,
void *Data,
int AccessPassword);