TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2530: 您好,请教两个故障问题, NWK route request 报文问题和 协调器发报文 终端不回应问题,具体见详情描述

Part Number:CC2530Other Parts Discussed in Thread:Z-STACK

1、请问, NWK route request 报文什么时候会发?我看NWK link Status 中有相应的路由表项了,协调器还是一直发 route request,这是什么原因呢? 这个情况会导致下面问题2吗?

2、请问,协调器给一个终端发报文,终端一直没有回应,可能是什么原因呢?终端电量正常

user6588287:

此附件为故障抓包

我司RTU-2不上功图.psd

,

Kevin Qiu1:

你使用的zstack 版本是多少?

Routes are discovered by using request/response packets. A source device requests a route for a destination address by broadcasting a Route Request (RREQ) packet to its neighbors. When a node receives an RREQ packet it in turn rebroadcasts the RREQ packet. But before doing that, it updates the cost field in the RREQ packet by adding the link cost for the latest link and makes an entry in its Route Discovery Table.

This way, the RREQ packet carries the sum of the link costs along all the links that it traverses. This process repeats until the RREQ reaches the destination device. Many copies of the RREQ will reach the destination device traveling via different possible routes. Each of these RREQ packets will contain the total route cost along the route that it traveled. The destination device selects the best RREQ packet and sends back a Route Reply (RREP) back to the source.

The RREP is unicast along the reverse routes of the intermediate nodes until it reaches the original requesting node. As the RREP packet travels back to the source, the intermediate nodes update their routing tables to indicate the route to the destination. The Route Discovery Table, at each intermediate node, is used to determine the next hop of the RREP traveling back to the source of the RREQ and to make the entry in to the Routing Table

具体可查看:Z-Stack 3.0 Developer's Guide Routing章节

只有在router request得到回复确认后才能进行数据传输

,

user6588287:

您好 。 zstack 版本 2.5.1a 。 

能否麻烦帮看一下,附件中的报文。问题1 的原因是什么呢? 协调器的NWK link Status 报文中有 0x0001和0x584a 两个终端的路由表项了, 协调器,还是一直在给这两个终端发router request ,是我这边协议栈哪里设置的不对吗? 。(现网换上另一个厂家的协调器,数据正常,并且抓包没有发现 有router request 报文。)   

 问题2 :  从上层应用看, 0x0001和0x584a 两个终端,0x584a 终端数据有交互, 0x0001 终端跟协调器数据交互不正常。 (协调器一直在给这两个不断发router request)

0434.我司RTU-2不上功图.psd

赞(0)
未经允许不得转载:TI中文支持网 » CC2530: 您好,请教两个故障问题, NWK route request 报文问题和 协调器发报文 终端不回应问题,具体见详情描述
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1