已经读取成功路由表了,请问如何分析呢?怎么知道从0x0000到达目的节点经过的路由节点
RoutingTableEntries=13
StartIndex=0
RoutingTableListCount=10
RoutingTableList[0].DstAddr=0x8683
RoutingTableList[0].Status=0
RoutingTableList[0].NextHop=0x6ED6
RoutingTableList[1].DstAddr=0x9DF5
RoutingTableList[1].Status=0
RoutingTableList[1].NextHop=0x6ED6
RoutingTableList[2].DstAddr=0x42B3
RoutingTableList[2].Status=0
RoutingTableList[2].NextHop=0x6ED6
RoutingTableList[3].DstAddr=0x8836
RoutingTableList[3].Status=0
RoutingTableList[3].NextHop=0xBC47
RoutingTableList[4].DstAddr=0x91F5
RoutingTableList[4].Status=56
RoutingTableList[4].NextHop=0x91F5
RoutingTableList[5].DstAddr=0x6ED6
RoutingTableList[5].Status=0
RoutingTableList[5].NextHop=0x6ED6
RoutingTableList[6].DstAddr=0xBC47
RoutingTableList[6].Status=0
RoutingTableList[6].NextHop=0xBC47
RoutingTableList[7].DstAddr=0xA725
RoutingTableList[7].Status=0
RoutingTableList[7].NextHop=0xA725
RoutingTableList[8].DstAddr=0xDAAE
RoutingTableList[8].Status=0
RoutingTableList[8].NextHop=0xDAAE
RoutingTableList[9].DstAddr=0x5E89
RoutingTableList[9].Status=0
RoutingTableList[9].NextHop=0x5E89
RoutingTableEntries=13
StartIndex=1
RoutingTableListCount=10
RoutingTableList[0].DstAddr=0x9DF5
RoutingTableList[0].Status=0
RoutingTableList[0].NextHop=0x6ED6
RoutingTableList[1].DstAddr=0x42B3
RoutingTableList[1].Status=0
RoutingTableList[1].NextHop=0x6ED6
RoutingTableList[2].DstAddr=0x8836
RoutingTableList[2].Status=0
RoutingTableList[2].NextHop=0xBC47
RoutingTableList[3].DstAddr=0x91F5
RoutingTableList[3].Status=56
RoutingTableList[3].NextHop=0x91F5
RoutingTableList[4].DstAddr=0x6ED6
RoutingTableList[4].Status=0
RoutingTableList[4].NextHop=0x6ED6
RoutingTableList[5].DstAddr=0xBC47
RoutingTableList[5].Status=0
RoutingTableList[5].NextHop=0xBC47
RoutingTableList[6].DstAddr=0xA725
RoutingTableList[6].Status=0
RoutingTableList[6].NextHop=0xA725
RoutingTableList[7].DstAddr=0xDAAE
RoutingTableList[7].Status=0
RoutingTableList[7].NextHop=0xDAAE
RoutingTableList[8].DstAddr=0x5E89
RoutingTableList[8].Status=0
RoutingTableList[8].NextHop=0x8C60
RoutingTableList[9].DstAddr=0x8C60
RoutingTableList[9].Status=0
RoutingTableList[9].NextHop=0x8C60
xiaoming huang1:
从路由表可以看出 只包含 1目的地址 2状态 3下一跳 不能获取完整路径 ,智能抓包看出来,或者从下一跳的路由表继续找
miffy:
回复 xiaoming huang1:
智能抓包只能使用ubiqua抓,看拓扑结构图了,目前可以使用ubiqua,即使最新2.1版本,似乎显示的不是很准确,不知从路由表分析如何进行
Viki Shi:
xiaoming huang1:
回复 miffy:
我打错字了,只能抓包。你可以看看Souce Routing 协调器会保存整个路由路径e2echina.ti.com/…/360220
user5496088:
请问,您怎么获取到的路由表的信息。还有就是您知道邻接表的信息怎么获取嘛? 我尝试过获取不过获取不到东西。万分感谢
YiKai Chen:
回复 user5496088:
路由表的信息可以透過ZDP_MgmtRtgReq获取, 邻接表的信息可以透過ZDP_MgmtLqiReq获取,詳細資訊可以參考 Z-Stack API.pdf
user5496088:
回复 YiKai Chen:
谢谢。我先看看