edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBee2ParentNetAddrCmd
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.XBeeShortParamCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBee2ParentNetAddrCmd
- All Implemented Interfaces:
- java.lang.Cloneable
public class XBee2ParentNetAddrCmd
- extends XBeeShortParamCmd
ATMP - Get 16-bit parent network address
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addr
protected XBee16Address addr
CMD
public static final java.lang.String CMD
- See Also:
- Constant Field Values
XBee2ParentNetAddrCmd
public XBee2ParentNetAddrCmd()
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()
- Address should be presented in binary or hex format, not as a decimal number
- Overrides:
getRepresentation in class XBeeNumParamCmd
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
isReadOnly
public boolean isReadOnly()
- Description copied from class:
XBeeParamCmd
- Return false if parameter can be changed
- Overrides:
isReadOnly in class XBeeParamCmd
localSetVal
public void localSetVal(short s)
throws ModemException
- Specified by:
localSetVal in class XBeeShortParamCmd
- Throws:
ModemException
setAddr
public void setAddr(XBee16Address addr_)
unmarshalApiGetterParams
public java.lang.Object unmarshalApiGetterParams(java.lang.String data)
throws ModemException
- Description copied from class:
XBeeParamCmd
- Convert command parameters from API-mode format to raw format.
- Overrides:
unmarshalApiGetterParams in class XBeeShortParamCmd
- Returns:
-
- Throws:
ModemException
unmarshalPtGetterParams
public java.lang.Object unmarshalPtGetterParams(java.lang.String data)
throws ModemException
- Description copied from class:
XBeeParamCmd
- Convert command parameters from PassThru-mode format. Not currently
used, since API-mode is used throughout rest of framework.
- Overrides:
unmarshalPtGetterParams in class XBeeShortParamCmd
- Returns:
-
- Throws:
ModemException