com.rapplogic.xbee.api
Class RemoteAtResponse
java.lang.Object
com.rapplogic.xbee.api.XBeeResponse
com.rapplogic.xbee.api.XBeeFrameIdResponse
com.rapplogic.xbee.api.AtCommandResponse
com.rapplogic.xbee.api.RemoteAtResponse
- All Implemented Interfaces:
- java.io.Serializable
public class RemoteAtResponse
- extends AtCommandResponse
Supported by both series 1 (10C8 firmware and later) and series 2.
Represents a response, corresponding to a RemoteAtRequest.
API ID: 0x97
- 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 |
RemoteAtResponse
public RemoteAtResponse()
isSixteenBitAddressUnknown
public boolean isSixteenBitAddressUnknown()
getRemoteAddress64
public XBeeAddress64 getRemoteAddress64()
setRemoteAddress64
public void setRemoteAddress64(XBeeAddress64 sixtyFourBitResponderAddress)
getRemoteAddress16
public XBeeAddress16 getRemoteAddress16()
setRemoteAddress16
public void setRemoteAddress16(XBeeAddress16 sixteenBitResponderAddress)
getCommandName
public java.lang.String getCommandName()
- Deprecated. use getCommand instead
- Returns:
- Mar 4, 2009
getCommandData
public int[] getCommandData()
- Deprecated. use getValue instead
- Returns:
- Mar 4, 2009
parse
public void parse(IPacketParser parser)
throws java.io.IOException
- Description copied from class:
XBeeResponse
- All subclasses must implement to parse the packet from the input stream.
The subclass must parse all bytes in the packet starting after the API_ID, and
up to but not including the checksum. Reading either more or less bytes that expected will
result in an error.
- Overrides:
parse
in class AtCommandResponse
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class AtCommandResponse