Part Number: CC2531
Hi,
How to know the module is offline or online in the Zigbee network and how to know these things via Z tool ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CC2531
Hi,
How to know the module is offline or online in the Zigbee network and how to know these things via Z tool ?
It can be any ZCL state report. For example, if it’s light device, you can do periodic ZCL on/off state reporting to coordinator. If coordinator doesn’t receive reporting from light device for a predefined period, you can judge it as offline.
ok, but I saw tuya smart life app module its shows module is offline or online , I need this to do it , how its show these offline or online
If you fried my approach, the device is offline when it doesn’t report anything for a specific period. Otherwise, it’s online. For showing online/offline status, I suppose that’s about UI design and nothing to do with Zigbee application.
Hi Praveen,
If you are building the node firmware, then you can add the Poll Control Cluster to define a check-in interval which you can control and monitor through the MT API AF_DATA_REQUEST and AF_INCOMING_MSG. Please see the following SimpleLink Academy Lab for more details (context outside of ZNP interfacing). Most ZDO_* MT APIs warrant a response from the destination device, at which receiving the response would indicate that such device is still active, so the only concern is sleepy end nodes for which the message from the ZNP may timeout (NWK_INDIRECT_MSG_TIMEOUT) before the end device polls for data.
Regards,
Ryan