edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBeeDissocSleepCmd

java.lang.Object
  extended by edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
      extended by edu.uiuc.cs.seclab.modem.xbee.XBeeParamCmd
          extended by edu.uiuc.cs.seclab.modem.xbee.XBeeNumParamCmd
              extended by edu.uiuc.cs.seclab.modem.xbee.XBeeShortParamCmd
                  extended by edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeDissocSleepCmd
All Implemented Interfaces:
java.lang.Cloneable

public class XBeeDissocSleepCmd
extends XBeeShortParamCmd

ATDP - Set disassociation cyclic sleep period


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeNumParamCmd
XBeeNumParamCmd.Representation
 
Nested classes/interfaces inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
XBeeAtCmd.Mode
 
Field Summary
static java.lang.String CMD
           
static short MAX_PERIOD
           
static short MIN_PERIOD
           
protected  short period
           
 
Fields inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeNumParamCmd
HEX_CHARS_PER_BYTE, PT_RADIX
 
Constructor Summary
XBeeDissocSleepCmd()
           
 
Method Summary
 java.lang.String getAtCmd()
          Get the two-character AT code associated with this command.
 int getMaxVal()
          Return the maximum value supported by parameter
 int getMinVal()
          Return the minimum value supported by parameter
protected  short getSetterVal()
           
 java.lang.String getShortDesc()
          Return a short (one-line) description for command suitable for display in parameter table.
 void localSetVal(short s)
           
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeShortParamCmd
getApiParamLength, getRawSetterParams, localSetVal, marshalApiSetterParams, marshalPtSetterParams, unmarshalApiGetterParams, unmarshalPtGetterParams
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeNumParamCmd
getDefVal, getRepresentation, marshalApiSetterParams, setVal
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeParamCmd
clone, convertApiResponse, getApiParams, isReadOnly, parmEq, unmarshalRespParams
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
getPktImpl, processResp
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD

public static final java.lang.String CMD
See Also:
Constant Field Values

MAX_PERIOD

public static final short MAX_PERIOD
See Also:
Constant Field Values

MIN_PERIOD

public static final short MIN_PERIOD
See Also:
Constant Field Values

period

protected short period
Constructor Detail

XBeeDissocSleepCmd

public XBeeDissocSleepCmd()
Method Detail

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 XBeeShortParamCmd

getMinVal

public int getMinVal()
Description copied from class: XBeeNumParamCmd
Return the minimum value supported by parameter

Overrides:
getMinVal in class XBeeShortParamCmd

getSetterVal

protected short getSetterVal()
Specified by:
getSetterVal in class XBeeShortParamCmd

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

localSetVal

public void localSetVal(short s)
                 throws ModemException
Specified by:
localSetVal in class XBeeShortParamCmd
Throws:
ModemException