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

zstack3.0.2中,我想让设备随时可以入网怎么实现?

1、我的设备不预定义NV_RESTORE,想让终端设备能一直入网,所以需要让协调器或者路由器一直允许入网,我调用如下语句:NLME_PermitJoiningRequest(255);发现经过254秒后,让然会禁止其他设备入网,请问怎么更改才能让设备一直入网?在zstack 2.5.1中执行NLME_PermitJoiningRequest(255);会允许设备一直入网。

2、分布式网络是否可以使用zgApsUseExtendedPANID建立、加入网络?如果可以请问该如何配置实现?

Alvin Chen:

2.6 Changes to Network Joining
Permit join can no longer be enabled forever as networks will automatically close joining after a maximum
of 254 seconds. To extend the time the network is open, you may send out permit join requests
periodically to restart the timer. Requests to open the network without enabling joining at the trust center
are no longer supported.

定时去重新设定即可

user4711142:

回复 Alvin Chen:

问题1 已经实现了,定时开启,达到永久允许入网。
请问2中,用扩展PANID建立、加入分布式网络该怎么实现?

Viki Shi:

回复 user4711142:

This network type can be formed by network-forming router devices. In this network topology, all the nodes have the ability to open the network for joining and any router device can deliver the network key to a joining device. The network key will be encrypted at APS layer with a Default Distributed Global key (detailed in Distributed Security Global Link Key). This network key will be delivered via an APS Transport Key Command in which the TC address will be set to 0xFFFFFFFFFFFFFFFF, which tells the joining device that it is joining a distributed security network. The application can consult the value of AIB_apsTrustCenterAddress to see if it has joined a distributed network.

赞(0)
未经允许不得转载:TI中文支持网 » zstack3.0.2中,我想让设备随时可以入网怎么实现?
分享到: 更多 (0)