com.rapplogic.xbee.api.wpan
Class TxRequest16
java.lang.Object
com.rapplogic.xbee.api.XBeeRequest
com.rapplogic.xbee.api.wpan.TxRequestBase
com.rapplogic.xbee.api.wpan.TxRequest16
- All Implemented Interfaces:
- java.io.Serializable
public class TxRequest16
- extends TxRequestBase
Series 1 XBee. 16-bit address Transmit Packet. This is received on the destination XBee
radio as a RxResponse16 response
API ID: 0x1
- Author:
- andrew
- See Also:
- Serialized Form
Constructor Summary |
TxRequest16(XBeeAddress16 remoteAddr16,
int[] payload)
16 bit Tx Request with default frame id and awk option
Keep in mind that if you programmed the destination address with X-CTU, the unit is
hex, so if you set MY=1234, use 0x1234. |
TxRequest16(XBeeAddress16 remoteAddr16,
int frameId,
int[] payload)
16 bit Tx Request with frame id argument
Payload size is limited to 100 bytes, according to MaxStream documentation. |
TxRequest16(XBeeAddress16 remoteAddr16,
int frameId,
TxRequestBase.Option option,
int[] payload)
Note: if option is DISABLE_ACK_OPTION you will not get a ack response and you must use the asynchronous send method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TxRequest16
public TxRequest16(XBeeAddress16 remoteAddr16,
int[] payload)
- 16 bit Tx Request with default frame id and awk option
Keep in mind that if you programmed the destination address with X-CTU, the unit is
hex, so if you set MY=1234, use 0x1234.
- Parameters:
remoteAddr16
- payload
-
TxRequest16
public TxRequest16(XBeeAddress16 remoteAddr16,
int frameId,
int[] payload)
- 16 bit Tx Request with frame id argument
Payload size is limited to 100 bytes, according to MaxStream documentation.
- Parameters:
remoteAddr16
- frameId
- payload
-
TxRequest16
public TxRequest16(XBeeAddress16 remoteAddr16,
int frameId,
TxRequestBase.Option option,
int[] payload)
- Note: if option is DISABLE_ACK_OPTION you will not get a ack response and you must use the asynchronous send method
- Parameters:
remoteAddr16
- frameId
- payload
- option
-
getFrameData
public int[] getFrameData()
- Specified by:
getFrameData
in class XBeeRequest
getApiId
public ApiId getApiId()
- Overrides:
getApiId
in class XBeeRequest
getRemoteAddr16
public XBeeAddress16 getRemoteAddr16()
setRemoteAddr16
public void setRemoteAddr16(XBeeAddress16 remoteAddr16)
toString
public java.lang.String toString()
- Overrides:
toString
in class TxRequestBase