Download CAEN RFID API Reference Manual

Transcript
InventoryTag Method (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
Mask
MaskLength
Position
Description
A byte array representing the bitmask to apply.
A value representing the bit-oriented length of the bitmask.
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(
byte[]
short
short
Mask,
MaskLength,
Position)
Java and Android representation:
public CAENRFIDTag[]
InventoryTag(
byte[]
Mask,
short
MaskLength,
short
Position)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes
CAENRFID_FilteredInventoryTag(
CAENRFIDHandle
handle,
char
*SourceName,
char
*Mask,
unsigned char
MaskLength,
unsigned char
Position,
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.
30
CAEN RFID API – Reference Manual