ESP8266 SmartConfig
来自Jack's Lab
(版本间的差异)
(→概述) |
(→快速尝试) |
||
第34行: | 第34行: | ||
<source lang=bash> | <source lang=bash> | ||
− | |||
$ cd ../example/smart-config | $ cd ../example/smart-config | ||
+ | |||
$ make flash | $ make flash | ||
</source> | </source> |
2015年11月12日 (四) 09:54的版本
1 概述
所谓 SmartConfig 就是乐鑫(ESP8266 芯片厂家)为配置 WiFi SSID 和 Password 提供了一种快速配置技术
原有配置 WiFi 步骤:
- 手机先从无线路由断开,连上设备的 WiFi 热点
- 在 APP / WeChat 里需要输入 SSID 和 Password
SmartConfig 将其过程简化为无须断连无线路由,直接在 微信/APP 里输入 Password 即可,步骤大大简化,用户体验提升明显
2 快速尝试
下载 SDK:
# clone the whole sdk $ git clone git://github.com/icamgo/noduino-sdk.git noduino-sdk # fetch the toolchain of esp8266 $ cd noduino-sdk $ git submodule init $ git submodule update $ cd toolchain $ ./gen.py # generate the toolchain (you need Python 2.7)
插上开发板,编译上传一步完成:
$ cd ../example/smart-config $ make flash