frame
Class SelectFrame

java.lang.Object
  extended by frame.RFIDFrame
      extended by frame.RtoTFrame
          extended by frame.SelectFrame
All Implemented Interfaces:
java.lang.Cloneable

public class SelectFrame
extends RtoTFrame

Reader to tags Select frame.

FieldLengthValue
command41010 (decimal 10)
Target1
0Inventoried
1SL
Action3See Table 6.19 in Class 1 Generation 2 UHF Air Interface Protocol Standard Version 1.0.9: "Gen 2", linked from this page.
Ptr70000000 - 1111111 (unsigned int 0-128)
Offset into EPC to begin matching against mask.
Length8(unsigned) length of Mask field
MaskvariableBit mask to match against substring of EPC
CRC16
(Optional)
Optional CRC covering entire frame.


Nested Class Summary
 
Nested classes/interfaces inherited from class frame.RFIDFrame
RFIDFrame.FrameType
 
Field Summary
 
Fields inherited from class frame.RtoTFrame
ACK_CMD, CORRUPTED_CMD, QUERY_CMD, QUERYADJ_CMD, QUERYREP_CMD, RtoT_CMD_FIELD, RtoT_CMD_WIDTH, SELECT_CMD
 
Fields inherited from class frame.RFIDFrame
CRC_SIZE, data, hasCRC, isCorrupted
 
Constructor Summary
SelectFrame(int target, int action, int ptr, int len, BitMemory mask)
           
 
Method Summary
static int getAction(RFIDFrame f)
          Extract action field bits from f.
static int getLen(RFIDFrame f)
          Extract len field bits from f.
static int getMaskBit(RFIDFrame f, int offset)
           
static int getPtr(RFIDFrame f)
          Extract ptr field bits from f.
static int getTarget(RFIDFrame f)
          Extract target field bits from f.
 
Methods inherited from class frame.RtoTFrame
getCommand
 
Methods inherited from class frame.RFIDFrame
clone, dup, flipBit, getSize, getType, hasCRC, isCollision, isCorrupted, markCorrupted, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectFrame

public SelectFrame(int target,
                   int action,
                   int ptr,
                   int len,
                   BitMemory mask)
Method Detail

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)