Chat freely about anything...

User avatar
By PhillyNJ
#26157 Does the ESP8266 store the the SSID and Password in EEPROM? If so, is there a number of writes to that EEPROM? I ask, because I see lots of examples where the (e.g. Arduino) ESP82666 is reset and SSID and Password are continually set. On a project that posting every data to a url every minute or so, the number of writes will expire over a relatively short period of time.

In my projects, I set the SSID and Password via serial once and its done.
User avatar
By kolban
#26161 The ESP8266 provides an SDK that can be used by application programmers to write applications. There are two APIs available for supplying an SSID and Password. They differ only in that one API uses these items immediately without saving and the other API uses these items immediately and also saves the values to system data in flash memory. These can then subsequently be retrieved on a device restart (again by programmatic control).

So the answer appears to be "both" ... one can supply SSID and password and it will not be saved and ALSO one can supply SSID and password and it will be save. The choice is up to the ESP application programmer.
User avatar
By eriksl
#26334 The "traditional" and default version (which most people use) writes in flash though.

But don't worry, it will only write when it's changed.

When I changed to SDK 1.2.0 I couldn't manage to have the SSID/password combo stored successfully (it was always gone after reset, even though 0x3c000 was clear), so I now store it myself.