User's Manual

CAEN RFID API Reference Manual
33
InventoryTag Method (Int16, Byte[], Int16, Int16)
Description:
A call to this method will execute a read cycle on each read point linked to the logical source.
Parameters:
Name
Description
bank
A value representing the memory bank where apply the filter.
Mask
A byte array representing the bitmask to apply.
MaskLength
A value representing the bit-oriented length of the bitmask.
Position
A value representing the first bit of ID where the match will start.
Return value:
An array containing the CAENRFIDTag objects representing the tags read from the read points.
Syntax:
C# representation:
public CAENRFIDTag[] InventoryTag(
short bank,
byte[] Mask,
short MaskLength,
short Position)
Java and Android representation:
public CAENRFIDTag[] InventoryTag(
short bank,
byte[] Mask,
short MaskLength,
short Position)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_BankFilteredInventoryTag (
CAENRFIDHandle handle,
char *SourceName,
short bank,
short Position,
short MaskLength,
char *Mask,
CAENRFIDTag **Receive,
int *Size);
Remarks:
Depending on the air protocol setting it will execute the appropriate anticollision algorithm. This version of the method
permits to specify a bitmask for filtering tag's populations as described by the EPC Class1 Gen2 (ISO18000-6C) air
protocol. The filtering will be performend on the memory bank specified by bank parameter, starting at the bit
indicated by the Position index and for a MaskLength length. The method will return only the tags that match the given
Mask. Passing a zero value for MaskLength it performs as the non-filtering InventoryTag method.