Network commissioning and diagnostics Commissioning pushbutton and associate LED
XBee/XBee-PRO ZigBee RF Modules User Guide 86
The node identification frame is similar to the node discovery response frame – it contains the device’s address,
node identifier string (NI command), and other relevant data. All API devices that receive the node identification
frame send it out their UART as an API Node Identification Indicator frame (0x95).
Associate LED
The Associate pin (pin 15) can provide indication of the device’s network status and diagnostics information. To
take advantage of these indications, an LED can be connected to the Associate pin as shown in the figure above.
The Associate LED functionality is enabled by setting the D5 command to 1 (enabled by default). If enabled, the
Associate pin is configured as an output and will behave as described in the following sections.
Joined indication
The Associate pin indicates the network status of a device. If the module is not joined to a network, the Associate
pin is set high. Once the module successfully joins a network, the Associate pin blinks at a regular time interval.
This is shown in the following figure.
Joined status of a device
The LT command defines the blink time of the Associate pin. If set to 0, the device uses the default blink time (500
ms for coordinator, 250 ms for routers and end devices).
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 one second.
The following figures demonstrate these behaviors.
AI = 0x22