chriscook8 / esp-arduino-apboot

ESP8266 wifi configurator in Arduino lang.. uses eeprom for configs, boots to AP mode if no working config found
152 stars 61 forks source link

WiFi Connection established even if the eeprom is clear #8

Open scifiswapnil opened 8 years ago

scifiswapnil commented 8 years ago

I was trying to clear the eeprom after which when i reset the ESP chip, the eeprom is cleared, but the ESP still connects to the previous WiFi. Something like this :

Output

Startup
Reading EEPROM ssid
SSID: 
Reading EEPROM pass
PASS: 
Waiting for Wifi to connect
66666666666663
WiFi connected
192.168.0.4
192.168.4.1
mDNS responder started
Server started

What might be the reason ?

gibo77 commented 6 years ago

I think the Arduino ESP8266 library reserve a space in the flash for previous ssid and password. You can just incorporate these functionality to your application.