edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBee2PwrModeCmd
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.XBeeBoolParamCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBee2PwrModeCmd
- All Implemented Interfaces:
- java.lang.Cloneable
public class XBee2PwrModeCmd
- extends XBeeBoolParamCmd
ATPM - Enable or disable power boost mode for XBee2 (increase receive sensitivity by 1dB, TX output by 2dB)
|
Field Summary |
static java.lang.String |
CMD
|
protected boolean |
enabled
|
|
Method Summary |
java.lang.String |
getAtCmd()
Get the two-character AT code associated with this command. |
protected byte |
getSetterVal()
|
java.lang.String |
getShortDesc()
Return a short (one-line) description for command suitable for display in parameter table. |
void |
localSetVal(boolean bool)
|
| 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
enabled
protected boolean enabled
XBee2PwrModeCmd
public XBee2PwrModeCmd()
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
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
localSetVal
public void localSetVal(boolean bool)
- Specified by:
localSetVal in class XBeeBoolParamCmd