User's Manual

CAEN RFID API Reference Manual
55
ReadTagData_EPC_C1G2 Method (Int16, Int16, Int16, Byte[], Int16, Int16, Int16)
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.
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.
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)
Java and Android representation:
public byte[] ReadTagData_EPC_C1G2(
short BankMask,
short PositionMask,
short LengthMask,
byte[] Mask,
short MemBank,
short Address,
short Length)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_BankFilteredReadTagData_EPC_C1G2(
CAENRFIDHandle handle,
char *SourceName,
short BankMask,
short PositionMask,
short LengthMask,
char *Mask,
short MemBank,
int Address,
int Length,
void *Data);