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

Z-Stack 3.0.2 终端设备入网失败

环境:

一个终端设备,一个协调器设备,协调器开放网络后,终端设备通过按键请求加网,但是加网网络后,后离开了网络,如果换成路由设备就可以加入网络。

日志文件如下:

endpoint_join_faild.rar

user4041165:

YiKai Chen:

回复 user4041165:

試試把 補丁補上去再试看看

Alvin Chen:

回复 user4041165:

因为缺少了 key confirm,加上补丁试试看:
NWK/APS packet retries/failure when ZED polls during commissioning (Transport Key, Simple Descriptor Request, etc)
Issue description:
Sometimes ZC will fail to send out a NWK/APS layer packet during network commissioning, e.g. Transport Key, to a joining ZED, and this requires the ZED to poll again to get the packet. This will not cause functionality issues for the joining device since it will retry and eventually get the packet, but it is not ideal to need to retry to receive the same packet multiple times. This issue is caused by a race condition involving a blocking NV write operation that happens on the ZC after a new device joins the network.

Proposed Fix:
Change the value of ZDAPP_UPDATE_NWK_NV_TIME from it's default of 700 (ms) to a larger value, like 3500. This will cause the NV write operation to start at a later time and thus not interfere with network commissioning.

user4041165:

回复 Alvin Chen:

ZDAPP_UPDATE_NWK_NV_TIME  改为6000 ,还是一样,无法入网,和上面的现象一样

Alvin Chen:

回复 user4041165:

请你用light和switch 试下,这个demo 是好的,不知道你做了什么修改。

user4041165:

回复 Alvin Chen:

我是基于GenericApp修改的

Alvin Chen:

回复 user4041165:

你入网不要修改入网控制,可以参考:
e2echina.ti.com/…/146528

user4041165:

回复 Alvin Chen:

使用MT层开放网络命令算吗?ZDP_MgmtPermitJoinReq

user4041165:

回复 user4041165:

使用未修改过的版本,终端模式下入网还是会出现上面的情况,没有ZHA1.2.2稳定。

Alvin Chen:

回复 user4041165:

z-stack3.0.2已经发布很久了,没遇见类似情况,建议你重新安装sdk试试。怀疑你做了什么更改导致无法confirm key。
一个正常的入网流程如下:
dev.ti.com/…/

赞(0)
未经允许不得转载:TI中文支持网 » Z-Stack 3.0.2 终端设备入网失败
分享到: 更多 (0)