edu.uiuc.cs.seclab.modem.xbee.cmd
Class XBeeDestNodeCmd
java.lang.Object
edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd
edu.uiuc.cs.seclab.modem.xbee.XBeeSpecialCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeDestNodeCmd
public class XBeeDestNodeCmd
- extends XBeeSpecialCmd
Resolve a destination node identifier to a node address, which can
be retrieved using ATDH and ATDL (DestAddr) if necessary
RF module exits command mode after execution
** XBEE SERIES 2:
Returns command response frame:
- 16-bit network address
- 64-bit serial number
|
Field Summary |
static java.lang.String |
CMD
|
protected java.lang.String |
id
|
static int |
MAX_ID_LEN
|
|
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. |
void |
setId(java.lang.String id_)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMD
public static final java.lang.String CMD
- See Also:
- Constant Field Values
id
protected java.lang.String id
MAX_ID_LEN
public static final int MAX_ID_LEN
- See Also:
- Constant Field Values
XBeeDestNodeCmd
public XBeeDestNodeCmd()
getApiParams
protected java.lang.String getApiParams()
- Description copied from class:
XBeeAtCmd
- Convert the parameters associated with this command to a binary API-format buffer
suitable for transmission to the modem.
- Overrides:
getApiParams in class XBeeSpecialCmd
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
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
setId
public void setId(java.lang.String id_)
throws ModemException
- Throws:
ModemException