|
|||||||||
| 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.XBeeParamCmd
edu.uiuc.cs.seclab.modem.xbee.cmd.XBeeKeyCmd
public class XBeeKeyCmd
ATKY - Set AES key (write-only)
| 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 AesKey |
key
|
static int |
KEY_LEN
|
| Constructor Summary | |
|---|---|
XBeeKeyCmd()
|
|
| Method Summary | |
|---|---|
int |
getApiParamLength()
Determine the maximum size of the parameter in bytes. |
java.lang.String |
getAtCmd()
Get the two-character AT code associated with this command. |
java.lang.Object |
getRawSetterParams()
Return a semantic (non-string) setter parameter representation. |
java.lang.String |
getShortDesc()
Return a short (one-line) description for command suitable for display in parameter table. |
java.lang.String |
marshalApiSetterParams()
Convert command parameters to API-mode format. |
java.lang.String |
marshalPtSetterParams()
Convert command parameters to PassThru-mode format. |
void |
setKey(AesKey key_)
|
java.lang.Object |
unmarshalApiGetterParams(java.lang.String regVal)
Convert command parameters from API-mode format to raw format. |
java.lang.Object |
unmarshalPtGetterParams(java.lang.String regVal)
Convert command parameters from PassThru-mode format. |
| Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeParamCmd |
|---|
clone, convertApiResponse, getApiParams, isReadOnly, parmEq, unmarshalRespParams |
| Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAtCmd |
|---|
getPktImpl, processResp |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CMD
protected AesKey key
public static final int KEY_LEN
| Constructor Detail |
|---|
public XBeeKeyCmd()
| Method Detail |
|---|
public int getApiParamLength()
throws ModemException
XBeeParamCmd
getApiParamLength in class XBeeParamCmdModemExceptionpublic java.lang.String getAtCmd()
XBeeAtCmd
getAtCmd in class XBeeAtCmdpublic java.lang.Object getRawSetterParams()
XBeeParamCmd
getRawSetterParams in class XBeeParamCmdpublic java.lang.String getShortDesc()
XBeeAtCmd
getShortDesc in class XBeeAtCmd
public java.lang.String marshalApiSetterParams()
throws ModemException
XBeeParamCmd
marshalApiSetterParams in class XBeeParamCmdModemException
public java.lang.String marshalPtSetterParams()
throws ModemException
XBeeParamCmd
marshalPtSetterParams in class XBeeParamCmdModemException
public void setKey(AesKey key_)
throws ModemException
ModemException
public java.lang.Object unmarshalApiGetterParams(java.lang.String regVal)
throws ModemException
XBeeParamCmd
unmarshalApiGetterParams in class XBeeParamCmdModemException
public java.lang.Object unmarshalPtGetterParams(java.lang.String regVal)
throws ModemException
XBeeParamCmd
unmarshalPtGetterParams in class XBeeParamCmdModemException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||