EasyManuals Logo
Home>Digi>Control Unit>XBEE2

Digi XBEE2 User Manual

Digi XBEE2
195 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #73 background imageLoading...
Page #73 background image
Transmission, addressing, and routing Transmission timeouts
XBee/XBee-PRO ZigBee RF Modules User Guide 73
Example 2: send a broadcast API data transmission that all devices can receive (including
sleeping end devices), with payload TxData.
API frame:
7E 0014 10 01 00000000 0000FFFF FFFE 00 00 54 78 44 61 74 61 AD
Field composition:
0x0014 - length
0x10 - API ID (tx data)
0x01 - frame ID (set to a non-zero value to enable the tx-status response)
0x00000000 0000FFFF - Broadcast definition (including sleeping end devices
0xFFFE - Required 16-bit address to send broadcast transmission.
0x00 - Broadcast radius (0 = max hops)
0x00 - Tx options
0x54 78 44 61 74 61 - ASCII representation of “TxData” string
0xAD - Checksum (0xFF - SUM (all bytes after length))
Description
This transmission sends the string “TxData” as a broadcast transmission. Since the destination address is set to
0xFFFF, all devices, including sleeping end devices can receive this broadcast.
If receiver application addressing is enabled, the XBee will report all received data frames in the explicit format
(0x91) to indicate the source and destination endpoints, cluster ID, and profile ID that each packet was received
on. Status messages like modem status and route record indicators are not affected.
To enable receiver application addressing, set the AO command to 1 using the AT command frame (0x08). The
following paragraphs describe how to do this:
API frame
7E 0005 08 01 414F 01 65
Field composition:
0x0005 - length
0x08 - API ID (at command)
0x01 - frame ID (set to a non-zero value to enable AT command response frames)
0x414F - ASCII representation of 'A','O' (the command being issued)
0x01 - Parameter value
0x65 - Checksum (0xFF - SUM (all bytes after length))
Description:
Setting AO=1 is required for the XBee to use the explicit receive API frame (0x91) when RF data packets are
received. This is required if the application needs indication of source or destination endpoint, cluster ID, and/or
profile ID values used in received ZigBee data packets. ZDO messages can only be received if AO=1.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBEE2 and is the answer not in the manual?

Digi XBEE2 Specifications

General IconGeneral
BrandDigi
ModelXBEE2
CategoryControl Unit
LanguageEnglish

Related product manuals