Hello Nordic support,
I am working on a Zigbee coordinator application, in which I would like to have some customised functionality when a pan id conflict is detected. I understand that Zigbee stack generates ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED signal when PAN Id conflict is detected.
In order to test this part of my code, I am trying to generate the condition of PAN Id conflict. For this, I programmed one nrf52840 hardware with Zigbee coordinator application which does not perform anything when ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED signal is detected. I programmed the 2nd nrf52840 hardware with Zigbee coordinator application which has the customised code when ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED signal is detected and run this one in debug mode with breakpoint for the case ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED in Zigbee signal handler. To generate PAN Id conflict condition, I set the same PAN Id for both Zigbee coordinators and force them to operate in only one and the same channel (Channel 11). However, by doing so, I did not notice the breakpoint in case ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED being triggered.
Could you please let me know if I am missing something to generate PAN Id conflict condition? Is there some other way to simulate this condition?
Thanks,
Anusha