frame
Class SelectFrame
java.lang.Object
frame.RFIDFrame
frame.RtoTFrame
frame.SelectFrame
- All Implemented Interfaces:
- java.lang.Cloneable
public class SelectFrame
- extends RtoTFrame
Reader to tags Select frame.
Field | Length | Value |
command | 4 | 1010 (decimal 10) |
Target | 1 | |
Action | 3 | See Table 6.19 in Class 1 Generation 2 UHF Air Interface
Protocol Standard Version 1.0.9: "Gen 2", linked from
this page. |
Ptr | 7 | 0000000 - 1111111 (unsigned int 0-128)
Offset into EPC to begin matching against mask. |
Length | 8 | (unsigned) length of Mask field |
Mask | variable | Bit mask to match against substring of EPC |
CRC | 16 (Optional) | Optional CRC covering entire frame. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectFrame
public SelectFrame(int target,
int action,
int ptr,
int len,
BitMemory mask)
getTarget
public static int getTarget(RFIDFrame f)
- Extract target field bits from f.
getAction
public static int getAction(RFIDFrame f)
- Extract action field bits from f.
getPtr
public static int getPtr(RFIDFrame f)
- Extract ptr field bits from f.
getLen
public static int getLen(RFIDFrame f)
- Extract len field bits from f.
getMaskBit
public static int getMaskBit(RFIDFrame f,
int offset)