com.rapplogic.xbee.api
Class AtCommandResponse
java.lang.Object
com.rapplogic.xbee.api.XBeeResponse
com.rapplogic.xbee.api.XBeeFrameIdResponse
com.rapplogic.xbee.api.AtCommandResponse
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RemoteAtResponse
public class AtCommandResponse
- extends XBeeFrameIdResponse
Sent in response to an AtCommand
API ID: 0x88
- Author:
- andrew
- See Also:
- Serialized Form
| Methods inherited from class com.rapplogic.xbee.api.XBeeResponse |
equals, finish, getApiId, getChecksum, getLength, getPacketBytes, getProcessedPacketBytes, getRawPacketBytes, hashCode, isError, setApiId, setChecksum, setError, setLength, setRawPacketBytes |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AtCommandResponse
public AtCommandResponse()
getChar1
public int getChar1()
setChar1
public void setChar1(int char1)
getChar2
public int getChar2()
setChar2
public void setChar2(int char2)
getStatus
public AtCommandResponse.Status getStatus()
setStatus
public void setStatus(AtCommandResponse.Status status)
isOk
public boolean isOk()
getValue
public int[] getValue()
- Returns the command data byte array.
A zero length array will be returned if the command data is not specified.
This is the case if the at command set a value, or executed a command that does
not have a value (like FR)
- Returns:
setValue
public void setValue(int[] data)
getCommand
public java.lang.String getCommand()
toString
public java.lang.String toString()
- Overrides:
toString in class XBeeFrameIdResponse