|
好的,我用Linux命令复制出来,还有我对这个工程存在一些疑问:
1.这些代码的button,具体在哪里可以查看,我读了开发手册,介绍得不是很详细
代码中的readme.md:
| Name | Function | Description |
| :------- | :--------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ |
| Button 1 | Factory reset | Perform factory reset to forget currently commissioned Thread network and return to a decommissioned state (to activate, push the button 3 times) |
| Button 2 | Toggle Contact State | Manually triggers the Contact Sensor State |
| Button 3 | NA | NA |
| Button 4 | Open commission window | The button is opening commissioning window to perform commissioning over BLE
这个button对应板子哪个按键(sw), 因为我按下sw2,sw3,sw4,s5,没有一个改变门磁的状态;
或者说从代码可以找到在哪个位置配置它,谢谢 |
|