edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBeeCoordEnableCmd
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.XBeeCoordEnableCmd
- All Implemented Interfaces:
- XBeeEnumParamCmd, java.lang.Cloneable
public class XBeeCoordEnableCmd
- extends XBeeByteParamCmd
- implements XBeeEnumParamCmd
ATCE - Select between coordinator and end device mode
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMD
public static final java.lang.String CMD
- See Also:
- Constant Field Values
mode
protected XBeeCoordEnableCmd.Mode mode
XBeeCoordEnableCmd
public XBeeCoordEnableCmd()
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
getMinVal
public int getMinVal()
- Description copied from class:
XBeeNumParamCmd
- Return the minimum value supported by parameter
- Overrides:
getMinVal in class XBeeByteParamCmd
getMode
public XBeeCoordEnableCmd.Mode getMode()
getSetterVal
public 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
listEnumVals
public java.util.List<java.lang.Enum> listEnumVals()
- Description copied from interface:
XBeeEnumParamCmd
- List all available enumeration values
- Specified by:
listEnumVals in interface XBeeEnumParamCmd
localSetVal
public void localSetVal(byte b)
throws ModemException
- Specified by:
localSetVal in class XBeeByteParamCmd
- Throws:
ModemException
setMode
public void setMode(XBeeCoordEnableCmd.Mode mode_)
setVal
public void setVal(java.lang.Enum val)
throws ModemException
- Specified by:
setVal in interface XBeeEnumParamCmd
- Throws:
ModemException