This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
3.2.2 Sample SampleDoorLock, SampleDoorLockController
1. Power on the SampleDoorLock and SampleDoorLockController boards. Once powered up, LCD will show “Texas Instruments”, the MAC address, and the device name. When the coordinator has formed a network, screen will appear as shown in Figure 28 and the devices will be ready for EZ-Mode pairing.
2. To pair the devices using EZ-Mode, press SW2 on both devices; after which, EZMODE will display on the 2nd line of the LCD screen. If pairing is successful, the 2nd line will display: “EZMODE: SUCCESS”. If the device is the EZ-Mode “initiator”, the “target” device’s information will be displayed on the initiator’s 2nd line. LED1 will blink throughout this process until EZ-Mode pairing has finished. Refer to Figure 29. EZMODE device’s information or status will disappear after few seconds.
3. Once the devices have been successfully paired, door lock toggle command can be sent from the controller to the door lock by pressing SW1 (Figure 33)
4. Master PIN is stored on the SampleDoorLock. Both devices have a default PIN of “1234”. This PIN must match in order for the SampleDoorLockController to successfully lock/unlock the SampleDoorLock. To change the default pin, consult section 2.4.2. Figure 32 shows change pin snapshot. If the PIN sent to the SampleDoorLock is invalid, the display will appear as shown in Figure 34
参见:Z-Stack Home Sample Application User's Guide.pdf