ESP8266 Wifi setup using SoftAP, Captive Portal and EEPROM.
- booting and read Wifi config from EEPROM.
- if Wifi config is not found, starting SoftAP at SSID "ESP8266_SETUP".
- connect this Access point with your devices. (ex. iPhone, Android...)
- Wifi Settings page will automatically open by Captive Portal.
- select the SSID, enter the password.
- writing SSID and password to EEPROM, then reboot ESP8266 automatically.
- booting with STA(client) mode and get IP address from DHCP, then start web server.
- now you can connect from within the same LAN.
日本語の解説はブログを参照してください。