Search found 2 matches

by tondar20
Sun Aug 08, 2021 5:02 pm
Forum: ESP32 Arduino
Topic: ESP32; Disable saving wifi credentials in nvs
Replies: 2
Views: 4270

Re: ESP32; Disable saving wifi credentials in nvs

Thank you. The problem was solved:

calling

Code: Select all

WiFi.persistent(false);
before calling

Code: Select all

WiFi.begin();
by tondar20
Sat Aug 07, 2021 12:18 pm
Forum: ESP32 Arduino
Topic: ESP32; Disable saving wifi credentials in nvs
Replies: 2
Views: 4270

ESP32; Disable saving wifi credentials in nvs

I encrypted my ssid & password (hard coded). When I read whole flash by esptool.py read_flash command, I can find the credentials in the flash file as a plaintext. I want to protect my wifi ssid & password. Any solution? #include <WiFi.h> #include "mbedtls/aes.h" char ssid[17], pass[17]; const char ...