This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Distinguishing between Zigbee pairing states?

To provide feedback to the user through the LED state, I would like the behavior to be something like this:

  • If the nRF52840 Zigbee device is unpaired and ready for a ZC to add it, flash the blue LED
  • If it is paired but it's still searching for its parent node (or if it has lost connectivity after previously talking to other nodes), flash the red LED
  • If it is paired and it is successfully connected to the network, keep the green LED on solid

I have been looking at the messages arriving through zboss_signal_handler() but I don't understand how to differentiate between these cases.  What should I watch for, and is there an example that demonstrates it?

My app implements a Zigbee on/off switch and it is set up to be a router node.