|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thingmagic.Gen2.Select
public static class Gen2.Select
Representation of a Gen2 Select operation
Nested Class Summary | |
---|---|
static class |
Gen2.Select.Action
Gen2 Select Action indicates which Select action to take (See Gen2 spec /Select commands / Tag response to Action parameter) |-----------------------------------------------------------------------------| | Action | Tag Matching | Tag Not-Matching | |----------|--------------------------------|---------------------------------| | 0x00 | Assert SL or Inventoried->A | Deassert SL or Inventoried->B | | 0x01 | Assert SL or Inventoried->A | Do nothing | | 0x02 | Do nothing | Deassert SL or Inventoried->B | | 0x03 | Negate SL or (A->B,B->A) | Do nothing | | 0x04 | Deassert SL or Inventoried->B | Assert SL or Inventoried->A | | 0x05 | Deassert SL or Inventoried->B | Do nothing | | 0x06 | Do nothing | Assert SL or Inventoried->A | | 0x07 | Do nothing | Negate SL or (A->B,B->A) | ------------------------------------------------------------------------------- To improve readability and ease typing, these names abbreviate the official terminology of the Gen2 spec. |
static class |
Gen2.Select.Target
Gen2 Select Target indicates flag to Act on |
Field Summary | |
---|---|
Gen2.Select.Action |
action
The action value indicates which Select action to take. |
Gen2.Bank |
bank
The memory bank in which to compare the mask |
int |
bitLength
The length (in bits) of the mask |
int |
bitPointer
The location (in bits) at which to begin comparing the mask |
boolean |
invert
Whether to invert the selection (deselect tags that meet the comparison and vice versa). |
byte[] |
mask
The mask value to compare with the specified region of tag memory, MSB first |
Gen2.Select.Target |
target
The target value indicates flag to act on. |
Constructor Summary | |
---|---|
Gen2.Select(boolean invert,
Gen2.Bank bank,
int bitPointer,
int bitLength,
byte[] mask)
|
Method Summary | |
---|---|
boolean |
matches(TagData t)
Test if a tag matches this filter. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean invert
public Gen2.Bank bank
public int bitPointer
public int bitLength
public byte[] mask
public Gen2.Select.Target target
public Gen2.Select.Action action
Constructor Detail |
---|
public Gen2.Select(boolean invert, Gen2.Bank bank, int bitPointer, int bitLength, byte[] mask)
Method Detail |
---|
public boolean matches(TagData t)
TagFilter
matches
in interface TagFilter
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |