2024-08-21 05:01 AM - last edited on 2024-08-21 05:51 AM by Peter BENSCH
Hello,
I have configured a Zigbee network using an STM32WB55 MCU with 1 coordinator device and 5 end devices. However, since I cannot check whether the Zigbee connection is lost or not, I am resetting the end devices every 1 minute using NVIC_SystemReset();. Instead of this, I am looking for a function that checks the connection status. Is this possible?
During debugging, I see that the static void APP_ZIGBEE_NwkForm(void) function is used for joining the network, but after joining the network, there is no check for whether the device is still connected. I would like to check if the device is still connected to the network after some time and if not, call the function to rejoin the network.
Is there a variable or function available for this check? I would greatly appreciate your support.