Skip to content

Wifi credentials are not store to flash #6747

@ondratu

Description

@ondratu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions