cancel
Showing results for 
Search instead for 
Did you mean: 

How can I find out if my ZigBee device is connected to a hub? I call status = APP_ZIGBEE_ZbStartupPersist (zigbee_app_info.zb); If the device is removed from my hub, this call returns FAIL. But if the hub is off this call returns SUCCESS.

Maxim Shylo
Associate II
 
1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

If you want to check that your device is well connected to your Zigbee network, any request like a poll will be sufficient. Which environment are you using for your device (SED, ZED, ZR) ?

APP_ZIGBEE_ZbStartupPersist function is used to recover data from the Flash. So it doesn't generate any 802.15.4 request. If the status return is failed, you should do a standard join to perform the connection since there is no configuration data. If it's success, there is nothing to do since you have recover configuration data from the flash.

Best Regards