Specifications

©2009DigiInternational,Inc. 80
7.NetworkCommissioningandDiagnostics
Network commissioning is the process whereby devices in a mesh network are discovered and
configured for operation. The XBee modules include several features to support device discovery
and configuration. In addition to configuring devices, a strategy must be developed to place
devices to ensure reliable routes.
To accommodate these requirements, the XBee modules include various features to aid in device
discovery and network diagnostics.
Device Discovery
ZDO Discovery
The ZigBee Device Profile includes provisions to discover devices in a network that are supported
on all ZigBee devices (including non-Digi products). These include the LQI Request (cluster ID
0x0031) and the Network Update Request (cluster ID 0x0038). The LQI Request can be used to
read the devices in the neighbor table of a remote device, and the Network Update Request can be
used to have a remote device do an active scan to discover all nearby ZigBee devices. Both of
these ZDO commands can be sent using the XBee Explicit API transmit frame (0x11). See the API
chapter for details. Refer to the ZigBee specification for formatting details of these two ZDO
frames.
Joining Announce
All ZigBee devices send a ZDO Device Announce broadcast transmission when they join a ZigBee
network (ZDO cluster ID 0x0013). These frames will be sent out the XBee's UART as an Explicit Rx
Indicator API frame (0x91) if AO is set to 1. The device announce payload includes the following
information:
[ Sequence Number] + [16-bit address] + [64-bit address] + [Capability]
The 16-bit and 64-bit addresses are received in little-endian byte order (LSB first). See the ZigBee
specification for details.
Commissioning Pushbutton and Associate LED
The XBee modules support a set of commissioning and LED behaviors to aid in device deployment
and commissioning. These include the commissioning pushbutton definitions and associate LED
behaviors. These features can be supported in hardware as shown below.
CommissioningPushbuttonandAssociateLEDFunctionalities
XBee
20
15
Push button
R
Associate
LED
A pushbutton and an LED can be connected to module pins 20 and 15 respectively to
support the commissioning pushbutton and associate LED functionalities.