edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBeeCoordAssocCmd
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.XBeeCoordAssocCmd
- All Implemented Interfaces:
- java.lang.Cloneable
public class XBeeCoordAssocCmd
- extends XBeeByteParamCmd
ATA2 - Coordinator association command
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALLOW_ASSOC
public static final byte ALLOW_ASSOC
- Allow devices to associate with coordinator
- See Also:
- Constant Field Values
CMD
public static final java.lang.String CMD
- See Also:
- Constant Field Values
DISCOVER_AVAIL_CH
public static final byte DISCOVER_AVAIL_CH
- Scan for available channel
- See Also:
- Constant Field Values
DISCOVER_AVAIL_PAN_ID
public static final byte DISCOVER_AVAIL_PAN_ID
- Scan for available PAN ID
- See Also:
- Constant Field Values
options
protected byte options
XBeeCoordAssocCmd
public XBeeCoordAssocCmd()
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
getMaxVal
public int getMaxVal()
- Description copied from class:
XBeeNumParamCmd
- Return the maximum value supported by parameter
- Overrides:
getMaxVal in class XBeeByteParamCmd
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
isAllowAssoc
public boolean isAllowAssoc()
isDiscAvailCh
public boolean isDiscAvailCh()
isDiscAvailPanId
public boolean isDiscAvailPanId()
isOpt
protected boolean isOpt(byte mask)
localSetVal
public void localSetVal(byte b)
throws ModemException
- Specified by:
localSetVal in class XBeeByteParamCmd
- Throws:
ModemException
setOptions
public void setOptions(boolean discPan,
boolean discCh,
boolean allowAssoc)