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.

关于终端节点的问题

请教一个问题:

终端节点的在线的时候会发送Data request向父节点请求数据,如果Data request没有返回,就会发送orphan notification数据包。我想请问一下,终端发送Data request数据包,之后的等待时间是多少,在这个时间到达之后,没有收到反馈,然后继续下一步操作。多少次收不到返回,节点开始发送orphan notification数据包?发送orphan notification数据包之后,多久开始发送Beacon request?我想了解一下这个准确时间,感谢!!

  • /* The maximum number of retries allowed after a transmission failure */
    #define APSC_MAX_FRAME_RETRIES 3

    orphan notificatio 发出后不一定会Beacon reques  如果有原来的父设备回复了Coord Realignment则不需要重新入网。

    如果没有收到则会 切换到DEV_INIT状态开始运行ZDO_StartDevice开始扫网即Beacon request具体时间没有测过。

  • 那么Data request的等待返回时间呢?节点判断自己需要重新加入网络,是没有收到的Data request的情况下,请问是怎样判断的呢?如果第一条Data request没有收到返回,那么多久之后,节点发送第二条Data request呢?
  • 这取决于你的接收端的poll rate. 当你的节点发送失败三次(/* The maximum number of retries allowed after a transmission failure */
    -DAPSC_MAX_FRAME_RETRIES=3)即没有返回ACK ,则认为lost parent。
    这个时间不是固定。
  • 正好遇到相同的问题,通过这个帖子学习了一下,了解了更多的知识,并解决了一直困扰的问题。