Hi,
this is important different wifi think between ESP8266 and ESP32. ESP8266 store wifi credentials by default with ESP API, but for ESP32 you need to call esp_wifi_set_storage with right value, end call esp_wifi_set_auto connect, which is not call in modnetwork.c en ESP32 port.
So, it will be fine, when this additional API for ESP32 will be wrapped to python library. Many flash area overwriting crash the flash, but without storing credentials to flash devices will be more vulnerable.
And mainly, this can be documented well in examples, because, code for ESP8266, which do auto-connect with stored credentials not work on ESP32!
Hi,
this is important different wifi think between ESP8266 and ESP32. ESP8266 store wifi credentials by default with ESP API, but for ESP32 you need to call
esp_wifi_set_storagewith right value, end callesp_wifi_set_auto connect, which is not call in modnetwork.c en ESP32 port.So, it will be fine, when this additional API for ESP32 will be wrapped to python library. Many flash area overwriting crash the flash, but without storing credentials to flash devices will be more vulnerable.
And mainly, this can be documented well in examples, because, code for ESP8266, which do auto-connect with stored credentials not work on ESP32!