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

关于install code入网

你好,我想请问下有没有install code方式入网的资料,最好有一些例程,网上关于这部分的资料太少了,谢谢!

YiKai Chen:

Z-Stack 3.0.1裡面的例程都有實做install code方式入网

Viki Shi:

资料确实不多,参考下Z-Stack 3.0 Developer’s Guide 10.5.2

user4976959:

回复 YiKai Chen:

你好,请问下有Install code入网的流程吗,例程里只有单独的函数,但是并没有详细的操作流程,谢谢!

Alvin Chen:

回复 user4976959:

10.1 Install codes This section describes the out of band process for establishing pre-configured Trust Center link keys, the format of the Install Code required, and the hashing function  used to derive the pre-configured link key from the Install Code. Note that Install Codes SHALL be random but MAY NOT be unique.As portrayed in Figure 11, during the manufacturing process a random Install Code is created for each of the nodes. This Install Code is provided for the node in a  manufacturer-specific way (labeling, etc.) and referred to during installation. The  space of Install Codes SHOULD possess the same randomness properties as a key  space. Knowing a set of Install Codes SHOULD NOT yield any knowledge of another  Install Code and each Install Code SHOULD be equally probable.

具体流程请去ZigBee Alliance 下载Base-Device-Behavior-Specification

user4976959:

回复 user4976959:

如果此方法有什么问题,望指出!谢谢!

Alvin Chen:

回复 user4976959:

参照light和switch里面的ui文件中有使用实例.

user4381970:

回复 Alvin Chen:

请问有抓包文件吗?终端配置都对,但是不能入网呢?抓包只有Association Request和应答。应该是什么过程呢

123.zip

YiKai Chen:

回复 user4381970:

终端應該要發出device annoucement吧,你的终端沒看到發出來

user4381970:

回复 YiKai Chen:

我就是按上楼说的,修改BDB_INSTALL_CODE_DERIVED_PRECONFIGURED_LINK_KEY
bdb_setActiveCentralizedLinkKey(FALSE, uiInstallCode);
还需要别的操作吗?
协调器开启入网前加入code了呀
不知道为啥没有announce

赞(0)
未经允许不得转载:TI中文支持网 » 关于install code入网
分享到: 更多 (0)