
API Operation
Send ZDO commands with the API
XBee/XBee-PRO® S2C ZigBee® RF Module
206
Frame data fields
Offset
Example
64-bit source (remote) address
MSB 4
0x00
5
0x13
6
0xA2
7
0x00
8
0x40
9
0x40
10
0x11
11
0x22
Source 16-bit address
MSB 12
0x00
LSB 13
0x00
Reserved
14
0x00
Checksum
22
0xF4
Send ZDO commands with the API
ZigBee specifications define ZigBee Device Objects (ZDOs) 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 interoperates in a
public profile such as home automation or smart energy, or when communicating with ZigBee devices
from other vendors. You can also use the ZDO 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.
ZDO command
Cluster ID
Network Address Request
0x0000
IEEE Address Request
0x0001
Node Descriptor Request
0x0002
Simple Descriptor Request
0x0004
Active Endpoints Request
0x0005
Match Descriptor Request
0x0006
Mgmt LQI Request
0x0031
Mgmt Routing Request
0x0032