com.rapplogic.xbee.api.zigbee
Class ZNetTxStatusResponse

java.lang.Object
  extended by com.rapplogic.xbee.api.XBeeResponse
      extended by com.rapplogic.xbee.api.XBeeFrameIdResponse
          extended by com.rapplogic.xbee.api.zigbee.ZNetTxStatusResponse
All Implemented Interfaces:
java.io.Serializable

public class ZNetTxStatusResponse
extends XBeeFrameIdResponse

Series 2 XBee. This is sent out the UART of the transmitting XBee immediately following a Transmit packet. Indicates if the Transmit packet (ZNetTxRequest) was successful.

API ID: 0x8b

Author:
andrew
See Also:
Serialized Form

Nested Class Summary
static class ZNetTxStatusResponse.DeliveryStatus
           
static class ZNetTxStatusResponse.DiscoveryStatus
           
 
Constructor Summary
ZNetTxStatusResponse()
           
 
Method Summary
 ZNetTxStatusResponse.DeliveryStatus getDeliveryStatus()
           
 ZNetTxStatusResponse.DiscoveryStatus getDiscoveryStatus()
           
 XBeeAddress16 getRemoteAddress16()
           
 int getRetryCount()
           
 boolean isSuccess()
          Returns true if the delivery status is SUCCESS
 void setDeliveryStatus(ZNetTxStatusResponse.DeliveryStatus deliveryStatus)
           
 void setDiscoveryStatus(ZNetTxStatusResponse.DiscoveryStatus discoveryStatus)
           
 void setRemoteAddress16(XBeeAddress16 remoteAddress)
           
 void setRetryCount(int retryCount)
           
 java.lang.String toString()
           
 
Methods inherited from class com.rapplogic.xbee.api.XBeeFrameIdResponse
getFrameId, setFrameId
 
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
 

Constructor Detail

ZNetTxStatusResponse

public ZNetTxStatusResponse()
Method Detail

getRemoteAddress16

public XBeeAddress16 getRemoteAddress16()

setRemoteAddress16

public void setRemoteAddress16(XBeeAddress16 remoteAddress)

getRetryCount

public int getRetryCount()

setRetryCount

public void setRetryCount(int retryCount)

getDeliveryStatus

public ZNetTxStatusResponse.DeliveryStatus getDeliveryStatus()

setDeliveryStatus

public void setDeliveryStatus(ZNetTxStatusResponse.DeliveryStatus deliveryStatus)

getDiscoveryStatus

public ZNetTxStatusResponse.DiscoveryStatus getDiscoveryStatus()

setDiscoveryStatus

public void setDiscoveryStatus(ZNetTxStatusResponse.DiscoveryStatus discoveryStatus)

isSuccess

public boolean isSuccess()
Returns true if the delivery status is SUCCESS

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class XBeeFrameIdResponse