Ti工程师:
为了验证网络的多跳功能,想把数据传输的路由路径显示出来,比如ABCDE四个节点,E通过那些节点最终传输到A这个路由信息串口输出打印,这是为了调试过程中充分验证路由器的路由过程,希望给予指点,具体一点不要拉一个文档,责任和态度是第一位的,十分感谢!
再次感谢!
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.
// Table of neighboring nodes (not including child nodes)
neighborEntry_t neighborTable[MAX_NEIGHBOR_ENTRIES];
//路由表,存储下一跳的地址,当然不仅如此。
rtgEntry_t rtgTable[MAX_RTG_ENTRIES];
这些都是网络层的概念,以库的形式提供,你可以在IAR中watch.
这些如需详细了解,参考zigbee规范,或者买本钟永锋的《zigbee无线传感器网络》,另外,Z-STACK developer's Guide.pdf中5.2节也有介绍。