API operation Sending ZigBee Device Objects (ZDO) commands with the API
XBee/XBee-PRO ZigBee RF Modules User Guide 139
D = 0xEEFF
The data collector will send the above API frame out its UART.
Many-to-One Route Request Indicator
Frame type: 0xA3
The many-to-one route request indicator frame is sent out the UART whenever a many-to-one route request is
received
Example: suppose a device with a 64-bit address of 0x0013A200 40401122 and 16-bit address of 0x0000 sends a
many-to-one route request. All remote routers with API firmware that receive the many-to-one broadcast would
send the above example API frame out their UART.
Sending ZigBee Device Objects (ZDO) commands with the API
ZigBee Device Objects (ZDOs) are defined in the ZigBee Specification as part of the ZigBee Device Profile. These
objects provide functionality to manage and map out the ZigBee network and to discover services on ZigBee
devices. ZDOs are typically required when developing a ZigBee product that will interoperate in a public profile
such as home automation or smart energy, or when communicating with ZigBee devices from other vendors. The
ZDO can also be used to perform several management functions such as frequency agility (energy detect and
channel changes - Mgmt Network Update Request), discovering routes (Mgmt Routing Request) and neighbors
(Mgmt LQI Request), and managing device connectivity (Mgmt Leave and Permit Join Request).
The following table shows some of the more prominent ZDOs with their respective cluster identifier. Each ZDO
command has a defined payload. See the “ZigBee Device Profile” section of the ZigBee Specification for details.
Frame Fields Offset Example Description
Start Delimiter
00x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x0C
Frame-specific
Data
Frame Type
30xA3
64-bit Source
Address
MSB 4 0x00
64-bit address of the device that sent the many-to-one route
request
50x13
60xA2
70x00
80x40
90x40
10 0x11
LSB 11 0x22
Source 16-bit
Address
MSB 12 0x00
16-bit address of the device that initiated the many-to-one route
request
LSB 13 0x00
Reserved
14 0x00
Set to 0
Checksum
15 0xF4
0xFF - the 8 bit sum of bytes from offset 3 to this byte