frame
Class RtoTFrame
java.lang.Object
frame.RFIDFrame
frame.RtoTFrame
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- AckFrame, QueryAdjFrame, QueryFrame, QueryRepFrame, SelectFrame
public abstract class RtoTFrame
- extends RFIDFrame
Base class for all frames from the reader to the tags.
All such tags have a command field as their first four
bits. (Frames from the tags to the reader do not have
a command field.)
Method Summary |
int |
getCommand()
Extracts the command field bits. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtoT_CMD_FIELD
protected static final int RtoT_CMD_FIELD
- See Also:
- Constant Field Values
RtoT_CMD_WIDTH
protected static final int RtoT_CMD_WIDTH
- See Also:
- Constant Field Values
QUERYREP_CMD
public static final int QUERYREP_CMD
- See Also:
- Constant Field Values
ACK_CMD
public static final int ACK_CMD
- See Also:
- Constant Field Values
QUERY_CMD
public static final int QUERY_CMD
- See Also:
- Constant Field Values
QUERYADJ_CMD
public static final int QUERYADJ_CMD
- See Also:
- Constant Field Values
SELECT_CMD
public static final int SELECT_CMD
- See Also:
- Constant Field Values
CORRUPTED_CMD
public static final int CORRUPTED_CMD
- See Also:
- Constant Field Values
RtoTFrame
protected RtoTFrame(int size,
int cmd,
RFIDFrame.FrameType type)
getCommand
public int getCommand()
- Extracts the command field bits.