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.

请教大神,ZigBee如何刷新路由路径

请教论坛中的各位大神,在发送数据给某个节点时,如何刷新路由路径,

应该是有个函数可以使用吧。

谢谢!

  • 目前协议栈内默认使用AODV routing,即发现式路由 

    AODV 会发送route request,等待route reply来建立路由信息存入路由表,再按此发送数据;

    所以建议读路由表来获取路径

     // Table of neighboring nodes (not including child nodes)
    neighborEntry_t neighborTable[MAX_NEIGHBOR_ENTRIES];

    //路由表,存储下一跳的地址,当然不仅如此。

    rtgEntry_t rtgTable[MAX_RTG_ENTRIES];

    这些都是网络层的概念,以库的形式提供,可以在IAR中watch看到.

    详细信息可以参考 Z-STACKdeveloper's Guide.pdf中5.2节。

  • 可以帮我看看这个问题吗?真的困扰了很久了,一直也没有找到解决的办法,谢谢你了!!!http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/p/105461/282327.aspx#282327