ESP8266 SmartConfig
来自Jack's Lab
(版本间的差异)
(→快速尝试) |
(→概述) |
||
第6行: | 第6行: | ||
* 手机先从无线路由断开,连上设备的 WiFi 热点 | * 手机先从无线路由断开,连上设备的 WiFi 热点 | ||
− | * 在 APP / WeChat | + | * 在 APP / WeChat 里输入设备需要连接的无线路由的 SSID 和 Password |
2015年11月12日 (四) 09:56的版本
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