Operate in API mode API frames
XBee®/XBee-PRO SX RF Module User Guide
124
Transmit Request frame - 0x10
Description
This frame causes the device to send payload data as an RF packet to a specific destination.
n For broadcast transmissions, set the 64-bit destination address to 0x000000000000FFFF .
n For unicast transmissions, set the 64 bit address field to the address of the desired destination
node.
n Set the reserved field to 0xFFFE.
n Query the NP command to read the maximum number of payload bytes.
You can set the broadcast radius from 0 up to NH. If set to 0, the value of NH specifies the broadcast
radius (recommended). This parameter is only used for broadcast transmissions.
You can read the maximum number of payload bytes with the NP command.
Note Using source routing reduces the RF payload by two bytes per intermediate hop in the source
route.
Format
The following table provides the contents of the frame. For details on the frame structure, see API
frame format.
Frame data
fields Offset Description
Frame type 3 0x10
Frame ID 4
Identifies the data frame for the host to correlate with a subsequent ACK.
If set to 0, the device does not send a response.
64-bit
destination
address
5-12
MSB first, LSB last. Set to the 64-bit address of the destination device.
Broadcast = 0x000000000000FFFF
Reserved 13-14
Set to 0xFFFE.
Broadcast
radius
15
Sets the maximum number of hops a broadcast transmission can occur. If
set to 0, the broadcast radius is set to the maximum hops value.
Transmit
options
16
Set all other bits to 0.
RF data
17-n
Up to NP bytes per packet. Sent to the destination device.
Example
The example shows how to send a transmission to a device if you disable escaping (AP = 1), with
destination address 0x0013A200 400A0127, and payload “TxData0A”.