Other Parts Discussed in Thread: Z-STACK
疑问包括2 个:
1. ZigBee联盟规定了 默认TCLK 为:5A 69 67 42 65 65 41 6C 6C 69 61 6E 63 65 30 39
10.6 Joining a Network with TCLK For devices that want to join a network that is using Trust Center Link Key, it is required that all devices have a preconfigured Trust Center Link Key (TCLK) and that the network key is delivered to joining devices secured with that link key. There are basically 2 joining scenarios for a joining device:
在开发文档中 描述 通过TCLK 来加密 分发 network key。
既然ZigBee 联盟 都规定了默认 TCLK,那就表明这是众多周知的, 用一个大家都知道的KEY 来加密 重要的network key 。
那么这个加密的操作有何意义???
2. 关于 TCLK 类别的问题, 它分为ZG_GLOBAL_LINK_KEY 和 ZG_UNIQUE_LINK_KEY ,开发文档中这样描述
If zgApsLinkKeyType is set to ZG_UNIQUE_LINK_KEY, unique pre-configured trust center link keys are used between the Trust Center and each individual device joining the network. If zgApsLinkKeyType is set to ZG_GLOBAL_LINK_KEY, all devices are using the same pre-configured trust center link key to join the network. The Global Link Key Type provides a simplified alternative procedure to set up the network.
如果使用ZG_GLOBAL_LINK_KEY ,大家都使用相同的默认TCLK, 但是描述中 说ZG_UNIQUE_LINK_KEY 是unique , each
是不是意味着,如果是ubiqua, 那么 协调器上面 会为 每个设备 都存一个TCLK ????
这样的话 ZigBee 联盟 规定的默认TCLK 又有何意义?
使用什么type 是 由Trust Center 决定 还是用入网设备决定呢? 比如 ZC 是用 global 但是入网的ZED 带 了一个 奇怪的unique ,那是不是 它就不能入网了?