2022-06-06 02:02 AM
2022-07-07 02:31 AM
Hello,
Here an extract of AN5506, Zigbee device network joining timeout:
After a device has set up or joining a Zigbee network, the time when another device is allowed to join to this device (coordinator or router for a Zigbee centralized network for example) is fixed.
As a result, after this delay, joining the network for a device is not permitted (Zigbee association permit value). This is also the case when a device is reset after this time.
In order for a device to join a Zigbee network when the permit join timeout is over, the Zigbee coordinator can allow a parent device (for instance a Zigbee router) to permit joining. This is done by sending a ZDO message to parent.
For the coordinator, it can sent a ZDO message to itself to allow permit join for an extra amount of time.
Note: Zigbee persistent data feature can also be used in order to keep stack parameters and be able to reconnect to a network (or setting up) after a reset/shutdown.
In Zigbee application available in STM32CubeWB package, this timeout is fixed to 3 minute.
Best Regards