[ZigBee] End device does not send Device Announcement after receiving successful Rejoin Response from third-party coordinator

Hi,

In my project, I have to connect to a ZigBee Hub provided by a third party, and the problem that I am encountering is that I am unable to rejoin to the network after I reboot the end device.

The project consists on a modified version of the zigbee_multi_sensor_pca10056 example, where I create my own cluster. I am using the nRF52840-DK board as my ED. I set ERASE_PERSISTENT_CONFIG to false. Additionally, I define three possible states my device can be: disconnected with empty NVRAM (0), disconnected with network parameters saved in the NVRAM (1) and connected (2).

The first time the ED connects to the network, everything works correctly, and the network parameters are saved into the NVRAM. 

After I connect to the network, I reboot the ED. Then, the ED tries rejoining the network by sending the Rejoin Request. The ZigBee Hub sends its Rejoin Response with status being Sucess (0x00), and the ED sends an ACK to notify the hub that it has received its message.

At this point, the ED should continue the procedure by seding a Device Announcement message, but this never happens. Instead, the network rejoin procedure is reseted.

However, I do not have this issue when I try to connect and rejoin to a coordinator created using the zigbee_cli_agent_router_pca10056 example.

I can track the issue up to the function zboss_signal_handler(zb_bufid_t bufid) where the signal is equal to ZB_BDB_SIGNAL_DEVICE_REBOOT and the status is equal to -1, meaning that the network rejoin has failed. What I cannot see is what is happening between the moment the ED receives the Rejoin Response from the hub and the moment the ZB_BDB_SIGNAL_DEVICE_REBOOT is handled, as I do not have access to the ZBOSS libraries source code.

Why could the ED think that the rejoin failed, despite having received a successful Rejoin Response and having acknowledged it? Could the issue be related to a mismatch between the configuration of the ZigBee Hub and my ED, or a different implementation of the ZigBee protocol? The messages exchanged between ED and hub show that both implement the ZIgBee Pro (0x02) version.

I provide the .pcap files so you can have a look at them.

Let me know if there is other information you need about my firmware or setup. 

Kind regards,

Jose

test with nordic coordinator.pcaptest with third party hub.pcap

Parents Reply Children
No Data
Related