|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
edu.uiuc.cs.seclab.modem.xbee.XBeeSpecialCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeEnergyDetectCmd
public class XBeeEnergyDetectCmd
ATED - Scan channels for activity
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd |
|---|
XBeeAtCmd.Mode |
| Field Summary | |
|---|---|
static java.lang.String |
CMD
|
protected byte |
duration
Scan duration per channel |
static int |
SLACK
|
protected long |
startTm
|
| Constructor Summary | |
|---|---|
XBeeEnergyDetectCmd(byte duration_)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getApiParams()
Convert the parameters associated with this command to a binary API-format buffer suitable for transmission to the modem. |
java.lang.String |
getAtCmd()
Get the two-character AT code associated with this command. |
java.lang.String |
getShortDesc()
Return a short (one-line) description for command suitable for display in parameter table. |
long |
processResp(XBeeAtRespPacketImpl impl,
XBeeAtCmd.Mode mode)
Process a response to an AT command and return a bound in milliseconds on when all expected responses will be received. |
java.lang.Object |
unmarshalRespParams(java.lang.String params)
Unmarshal the parameters returned from API command |
| Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd |
|---|
getPktImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CMD
protected byte duration
public static final int SLACK
protected long startTm
| Constructor Detail |
|---|
public XBeeEnergyDetectCmd(byte duration_)
throws ModemException
ModemException| Method Detail |
|---|
protected java.lang.String getApiParams()
XBeeAtCmd
getApiParams in class XBeeSpecialCmdpublic java.lang.String getAtCmd()
XBeeAtCmd
getAtCmd in class XBeeAtCmdpublic java.lang.String getShortDesc()
XBeeAtCmd
getShortDesc in class XBeeAtCmd
public long processResp(XBeeAtRespPacketImpl impl,
XBeeAtCmd.Mode mode)
throws ModemException
XBeeAtCmd
processResp in class XBeeAtCmdModemException
public java.lang.Object unmarshalRespParams(java.lang.String params)
throws ModemException
XBeeAtCmd
unmarshalRespParams in class XBeeSpecialCmdModemException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||