Other Parts Discussed in Thread: CC2530, Z-STACK
基于ti 的cc2530 zigbee 2007 pro协议栈
协调器里面是否有有一张表格,记录着其下面挂着几个子设备?
如果有的话,怎么读取出来?我想实时画出整个网络的拓扑图。
谢谢!
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.
这个表格叫Associate List
关于获取网络拓扑结构的问题,我们协议栈里面有现成的API可以使用的。
你可以参考协议栈安装目录下的Application Note《Method for Discovering Network Topology.pdf》在C:\Texas Instruments\Z-Stack Home 1.2.0\Documents
上面的API可以获取网络的拓扑结构里面的父子关系,无法得到邻居关系。
ZDP_MgmtLqiReq()/ZDP_MgmtLqiRsp()可以获取相互间的邻居关系,也包括父子关系。