(配套源码、软件、开发板等资源,可移步博客同名QQ群:拿破仑940911)
Base Device Behavior has defined the procedure in which a device has to commission itself into a network from a factory new state:
1. The joining device performs the discovery of the available networks in multiple channels
2. It fallbacks to discover additional networks in the remaining channels (described in《Z-Stack 3.0 Developer's Guide》section 15.5)
3. Once the device has selected a suitable network, the joining device will perform an unsecure association (this term refers to a joining device does not have the network key).
4. The joining device will wait to receive the network key, from which the joining device will determinate if it has joined a Centralized security network or a Distributed security network.
These networks use different keys to encrypt the APS Transport command containing the network key.
(配套源码、软件、开发板等资源,可移步博客同名QQ群:拿破仑940911)