com.rapplogic.xbee.api.zigbee
Class ZNetExplicitRxResponse
java.lang.Object
com.rapplogic.xbee.api.XBeeResponse
com.rapplogic.xbee.api.zigbee.ZNetRxBaseResponse
com.rapplogic.xbee.api.zigbee.ZNetRxResponse
com.rapplogic.xbee.api.zigbee.ZNetExplicitRxResponse
- All Implemented Interfaces:
- NoRequestResponse, java.io.Serializable
public class ZNetExplicitRxResponse
- extends ZNetRxResponse
Series 2 XBee. This packet is received when a remote XBee sends a ZNetExplicitTxRequest
Radio must be configured for explicit frames to use this class (AO=1)
API ID: 0x91
- 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 |
ZNetExplicitRxResponse
public ZNetExplicitRxResponse()
getSourceEndpoint
public int getSourceEndpoint()
setSourceEndpoint
public void setSourceEndpoint(int sourceEndpoint)
getDestinationEndpoint
public int getDestinationEndpoint()
setDestinationEndpoint
public void setDestinationEndpoint(int destinationEndpoint)
getClusterId
public DoubleByte getClusterId()
setClusterId
public void setClusterId(DoubleByte clusterId)
getProfileId
public DoubleByte getProfileId()
setProfileId
public void setProfileId(DoubleByte profileId)
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 ZNetRxResponse
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class ZNetRxResponse