SoftAP does not change the ssid and password via sdkconfig.
Posted: Wed Sep 18, 2024 8:35 am
Hi!
I am mastering ESP-WROOM-32 at first everything was fine, but after some manipulations
(I will not determine exactly which ones now- I experimented with NVS, wifi_prov_mgr)
, my ssid and password stopped changing via sdkconfig.
I download a simple SoftAP- if I first clear the flash (esptool --chip esp 32 --port COM3 --baud 921600 erase_flash),
then I connect to ESP perfectly. But it is worth changing the ssid in the sdk config further, the connection does not occur until you clear the flash.
The same thing happens when changing the password.(however, when I change my password, I can connect to the access point using the old password).
The terminal displays the new ssid and password
(1125) wifi softAP: wifi_init_softap finished. SSID:32154 password:12345678 channel:1
It seems that after a successful connection, the ssid and password are written to NVS, but when changing the ssid and password, he does not bet them from sdkconfig,
but the old ones from NVS. Is there a flag somewhere?
Can you tell me where to look?
Many thanks in advance.
I am mastering ESP-WROOM-32 at first everything was fine, but after some manipulations
(I will not determine exactly which ones now- I experimented with NVS, wifi_prov_mgr)
, my ssid and password stopped changing via sdkconfig.
I download a simple SoftAP- if I first clear the flash (esptool --chip esp 32 --port COM3 --baud 921600 erase_flash),
then I connect to ESP perfectly. But it is worth changing the ssid in the sdk config further, the connection does not occur until you clear the flash.
The same thing happens when changing the password.(however, when I change my password, I can connect to the access point using the old password).
The terminal displays the new ssid and password
(1125) wifi softAP: wifi_init_softap finished. SSID:32154 password:12345678 channel:1
It seems that after a successful connection, the ssid and password are written to NVS, but when changing the ssid and password, he does not bet them from sdkconfig,
but the old ones from NVS. Is there a flag somewhere?
Can you tell me where to look?
Many thanks in advance.