com.rapplogic.xbee.api.zigbee
Class ZNetExplicitTxRequest
java.lang.Object
com.rapplogic.xbee.api.XBeeRequest
com.rapplogic.xbee.api.zigbee.ZNetTxRequest
com.rapplogic.xbee.api.zigbee.ZNetExplicitTxRequest
- All Implemented Interfaces:
- java.io.Serializable
public class ZNetExplicitTxRequest
- extends ZNetTxRequest
Series 2 XBee. Sends a packet to a remote radio. The remote radio
receives the packet as a ZNetExplicitRxResponse packet.
Radio must be configured for explicit frames to use this class (AO=1)
API ID: 0x11
- Author:
- andrew
- See Also:
- Serialized Form
Methods inherited from class com.rapplogic.xbee.api.zigbee.ZNetTxRequest |
getBroadcastRadius, getDestAddr16, getDestAddr64, getFrameDataAsIntArrayOutputStream, getMaxPayloadSize, getOption, getPayload, setBroadcastRadius, setDestAddr16, setDestAddr64, setMaxPayloadSize, setOption, setPayload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
znetProfileId
public static final DoubleByte znetProfileId
zdoProfileId
public static final DoubleByte zdoProfileId
ZNetExplicitTxRequest
public ZNetExplicitTxRequest(int frameId,
XBeeAddress64 dest64,
XBeeAddress16 dest16,
int broadcastRadius,
ZNetTxRequest.Option option,
int[] payload,
int sourceEndpoint,
int destinationEndpoint,
DoubleByte clusterId,
DoubleByte profileId)
getFrameData
public int[] getFrameData()
- Gets frame data from tx request (super) and inserts necessary bytes
- Overrides:
getFrameData
in class ZNetTxRequest
getApiId
public ApiId getApiId()
- Overrides:
getApiId
in class ZNetTxRequest
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)
toString
public java.lang.String toString()
- Overrides:
toString
in class ZNetTxRequest