edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBeeEndDevAssocCmd
java.lang.Object
edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
edu.uiuc.cs.seclab.modem.xbee.XBeeParamCmd
edu.uiuc.cs.seclab.modem.xbee.XBeeNumParamCmd
edu.uiuc.cs.seclab.modem.xbee.XBeeByteParamCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeEndDevAssocCmd
- All Implemented Interfaces:
- java.lang.Cloneable
public class XBeeEndDevAssocCmd
- extends XBeeByteParamCmd
ATA1 - End device association command
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASSOC_ON_ANY_CH
public static final byte ASSOC_ON_ANY_CH
- Associate with a coordinator on any channel.
Otherwise, remain on current channel.
- See Also:
- Constant Field Values
ASSOC_WITH_ANY_PAN_COORD
public static final byte ASSOC_WITH_ANY_PAN_COORD
- Associate with a coordinator on any PAN.
Otherwise, only associate with coordinators
on PANs matching node ID.
- See Also:
- Constant Field Values
AUTO_ASSOC
public static final byte AUTO_ASSOC
- Attempt to associate until successful
- See Also:
- Constant Field Values
CMD
public static final java.lang.String CMD
- See Also:
- Constant Field Values
options
protected byte options
POLL_COORD_ON_WAKE
public static final byte POLL_COORD_ON_WAKE
- Poll coordinator for pending data upon wakeup
- See Also:
- Constant Field Values
XBeeEndDevAssocCmd
public XBeeEndDevAssocCmd()
XBeeEndDevAssocCmd
public XBeeEndDevAssocCmd(boolean anyPan,
boolean anyCh,
boolean auto,
boolean pollOnWake)
getApiParams
protected java.lang.String getApiParams()
- Description copied from class:
XBeeParamCmd
- Implement abstract method by simply invoking the API conversion.
- Overrides:
getApiParams in class XBeeParamCmd
getAtCmd
public java.lang.String getAtCmd()
- Description copied from class:
XBeeAtCmd
- Get the two-character AT code associated with this command.
- Specified by:
getAtCmd in class XBeeAtCmd
getRepresentation
public XBeeNumParamCmd.Representation getRepresentation()
- Overrides:
getRepresentation in class XBeeNumParamCmd
getSetterVal
protected byte getSetterVal()
- Specified by:
getSetterVal in class XBeeByteParamCmd
getShortDesc
public java.lang.String getShortDesc()
- Description copied from class:
XBeeAtCmd
- Return a short (one-line) description for command suitable for display in parameter table.
- Specified by:
getShortDesc in class XBeeAtCmd
isAnyCh
public boolean isAnyCh()
isAnyPan
public boolean isAnyPan()
isAutoRety
public boolean isAutoRety()
isOpt
protected boolean isOpt(byte mask)
isPollOnWake
public boolean isPollOnWake()
localSetVal
public void localSetVal(byte b)
throws ModemException
- Specified by:
localSetVal in class XBeeByteParamCmd
- Throws:
ModemException