
Network commissioning and diagnostics
Binding
XBee/XBee-PRO® S2C ZigBee® RF Module
113
Diagnostics support
The Associate pin works with the commissioning pushbutton to provide additional diagnostics
behaviors to aid in deploying and testing a network. If the commissioning push button is pressed once,
and the device has not joined a network, the Associate pin blinks a numeric error code to indicate the
cause of join failure. The number of blinks is equal to (
AI
value – 0x20). For example, if
AI
= 0x22, 2
blinks occur.
If the commissioning push button is pressed once and the device has joined a network, the device
transmits a broadcast node identification packet. If the Associate LED functionality is enabled (
D5
command), a device that receives this transmission will blink its Associate pin rapidly for 1 second.
The following image illustrates the behavior pressing the commissioning button press once when the
device has not joined a network, causing the associate pin to blink to indicate the
AI
Code where:
AI
=
# 0x20. In this example,
AI
= 0x22.
The following image illustrates the behavior pressing the button once on a remote device, causing a
broadcast node identification transmission to be sent. All devices that receive this transmission blink
their associate pin rapidly for one second if the associate LED functionality is enabled (
D5
= 1).
Binding
The Digi XBee firmware supports three binding request messages:
n
End Device Bind
n
Bind
n
Unbind
End_Device_Bind_req
The End Device Bind request (ZDO cluster 0x0020) is described in the ZigBee Specification.
During a deployment, an installer may need to bind a switch to a light. After pressing a commissioning
button sequence on each device, this causes them to send End_Device_Bind_req messages to the
Coordinator within a time window (60 s). The payload of each message is a simple descriptor which
lists input and output clusterIDs. The Coordinator matches the requests by pairing complementary
clusterIDs. After a match has been made, it sends messages to bind the devices together. When the