edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBee2EndpointCmd
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.XBee2EndpointCmd
- All Implemented Interfaces:
- java.lang.Cloneable
public class XBee2EndpointCmd
- extends XBeeByteParamCmd
ATSE/DE - Set source or destination endpoint
|
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 byte |
getSetterVal()
|
java.lang.String |
getShortDesc()
Return a short (one-line) description for command suitable for display in parameter table. |
boolean |
isForSource()
|
void |
localSetVal(byte b)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forSource
protected boolean forSource
MAX_EP
public static final int MAX_EP
- See Also:
- Constant Field Values
MIN_EP
public static final int MIN_EP
- See Also:
- Constant Field Values
srcEp
protected byte srcEp
XBee2EndpointCmd
public XBee2EndpointCmd(boolean forSource_)
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
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
isForSource
public boolean isForSource()
localSetVal
public void localSetVal(byte b)
throws ModemException
- Specified by:
localSetVal in class XBeeByteParamCmd
- Throws:
ModemException