SWRA625B August 2018 – February 2020 CC1352P , CC1352R , CC2652P , CC2652R , CC2652R7 , CC2652RSIP
After following the above steps, the ZC is connected to the computer and the ZED is connected and powered on with the DC Power Analyzer. To easily verify the commissioning process for both the ZC and ZED, it is recommended to use a packet sniffer to observe the OTA packets. For more information on setting up a packet sniffer, see the Packet Sniffer section inside the Z-Stack User's Guide[6].
In the first step, the Zigbee network must be formed with the ZC. To form the network, press button 1 (BTN-1), which automatically starts the BDB commissioning process, allowing other devices to join the newly formed network.
As soon as the network is formed, press BTN-1 on the ZED in order to start the ZED's commissioning process, which starts Steering Mode. When both are on the same network, the commissioning process will then execute Finding and Binding Mode, which sets both devices into Identify mode. The switch creates a bind, binding itself to the light. For more details, see the Running the Example Applications section in the Z-Stack User's Guide[6] or refer to the SimpleLink CC13X2/CC26X2 SDK's SimpleLink Academy [10].
To verify if the switch is correctly bound to the light, press button 2 (BTN-2) on the switch. The ZED switch sends out an On/Off Toggle command to the ZC light, which should turn on the light's LED (DIO6).
At this stage, both the ZED and ZC can be turned off and back on at any time, as both were compiled with NV_RESTORE set, and therefore have the NV items retained. When turned back on, the network will be able to restore itself (the ZED performs a re-join to the ZC).