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.

求助:home1.2.2中怎样发现路由器掉电?

我本来想用关联表中的age,但是路由器掉电之后,age也一直是0.

那我怎么知道路由器掉电呢?

多谢多谢

  • 在最新的协议栈中对End Device加入Child Aging功能,End Device会定期发送Data Request,当父节点连续一段时间没有收到以后Data Request,就认为节点掉线了。

    但Router没有加这样的功能,因为Router一直处于唤醒状态,所以你只要在Application加上类似的机制就可以了。

    关于Child Aging的定义在协议栈nwk_gloables.c文件中