本文参考CSDN博文链接
- ESP create a hotspot named ESPWebConifg.
- SmartPhone connect to the ESP hotspot.
- SmartPhone visit a webpage inside ESP automatically.
- Input the target SSID/PSWD in webpage and submit.
- ESP get the SSID/PSWD and save to EEPROM.
- ESP connect to the SSID with PSWD.
- ESP read SSID/PSWD from EEPROM and connect to hotspot of SSID after next reboot.