edu.uiuc.cs.seclab.modem.xbee
Class XBee2AdvStatusPacketImpl
java.lang.Object
edu.uiuc.cs.seclab.modem.xbee.XBeeApiPacketImpl
edu.uiuc.cs.seclab.modem.xbee.XBee2AdvStatusPacketImpl
public class XBee2AdvStatusPacketImpl
- extends XBeeApiPacketImpl
Advanced status packet supported by XBee Series 2
[64-bit addr][16-bit addr][type][join action][bind table idx][bind type]
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bindTableIdx
protected int bindTableIdx
bindType
protected XBee2AdvStatusPacketImpl.BindType bindType
CMD_ID
public static final byte CMD_ID
- See Also:
- Constant Field Values
joinAct
protected XBee2AdvStatusPacketImpl.JoinAction joinAct
longAddr
protected XBee64Address longAddr
shortAddr
protected XBee16Address shortAddr
type
protected XBee2AdvStatusPacketImpl.NodeType type
XBee2AdvStatusPacketImpl
public XBee2AdvStatusPacketImpl()
XBee2AdvStatusPacketImpl
public XBee2AdvStatusPacketImpl(XBee64Address longAddr_,
XBee16Address shortAddr_,
XBee2AdvStatusPacketImpl.NodeType type_,
XBee2AdvStatusPacketImpl.JoinAction joinAct_,
int bindTableIdx_,
XBee2AdvStatusPacketImpl.BindType bindType_)
acceptVisitor
public void acceptVisitor(XBeeApiPacketVisitor visitor)
- Specified by:
acceptVisitor in class XBeeApiPacketImpl
getCmdId
public byte getCmdId()
- Specified by:
getCmdId in class XBeeApiPacketImpl
localGetData
protected void localGetData(java.lang.StringBuilder sb)
- Description copied from class:
XBeeApiPacketImpl
- Produce a data blob for the inner part of an API packet
- Specified by:
localGetData in class XBeeApiPacketImpl
parse
public void parse(byte cmdId,
byte[] bytes,
int offset,
int len)
- Description copied from class:
XBeeApiPacketImpl
- Parse the inner part of an API packet
- Specified by:
parse in class XBeeApiPacketImpl
toString
public java.lang.String toString()
- Overrides:
toString in class XBeeApiPacketImpl