When "Zigbee Dongle" is successfully connected and communicated with terminal devices, if the terminal devices that have been successfully connected to the network are all off the network, how should we detect these devices in the code at this time? In other words, is there a flag bit variable or function in the code that indicates that "Zigbee Dongle" is not connected to any terminal devices
I found a definition of an enumeration type in the SDK that indicates that this status bit is triggered when the device goes offline. But I don't see any other variable or function API defined to indicate that "ZigBee Dongle" doesn't have any devices connected to it. I am now curious to know what this state should be when there are no connected devices in zigBee.
-
Zigbee Dongle burning engineering path:nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\zigbee\experimental\cli\cli_agent_router
- "ZB_ZDO_SIGNAL_LEAVE_INDICATION" in the following figure indicates that only a device has left the network, but not that all devices have left the network :
