Operate in API mode API frames
XBee®/XBee-PRO SX RF Module User Guide
126
Explicit Addressing Command frame - 0x11
Description
This frame is similar to Transmit Request (0x10), but it also requires you to specify the application-
layer addressing fields: endpoints, cluster ID, and profile ID.
This frame causes the device to send payload data as an RF packet to a specific destination, using
specific source and destination endpoints, cluster ID, and profile ID.
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.
Query the NP command to read the maximum number of payload bytes. For more information, see
Firmware version/information commands.
Format
The following table provides the contents of the frame. For details on the frame structure, see API
frame specifications.
Frame data fields Offset Description
Frame type 3 0x11
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.
Source endpoint
15 Source endpoint for the transmission.
Destination endpoint
16
Destination endpoint for the transmission.
Cluster ID
17-18 The Cluster ID that the host uses in the transmission.
Profile ID 19-20 The Profile ID that the host uses in the transmission.
Broadcast radius 21
Sets the maximum number of hops a broadcast transmission can
traverse. If set to 0, the transmission radius set to the network
maximum hops value.
If the broadcast radius exceeds the value of NH then the devices
use the value of NH as the radius. Only broadcast transmissions use
this parameter.
Transmissionoptions 22
Data payload 23-n
Up to NP bytes per packet. Sent to the destination device.
Example
The following example sends a data transmission to a device with: