Esp_wifi_get_config returns empty station ssid and password

imdahisaria
Posts: 6
Joined: Thu Sep 29, 2016 7:40 am

Esp_wifi_get_config returns empty station ssid and password

Postby imdahisaria » Sun Jun 30, 2024 1:25 pm

Hello, I have an old project that was complied using ESPIDF - d60ba848-dirty
The project stored Station wifi credentials using esp_wifi_set_config api and later recovered it using esp_wifi_get_config.

I am now building a new project using the espidf v5 where I plan to do a OTA update and recover the wifi credentails.
when I call esp_get_wifi_config, the ssid and password are empty


Question:
1 .Is this command no longer available ?
2. where is the location of function esp_wifi_get_config located in esp-idf ?
3. Is there any other way i can recover the ssid and password contents ?

Who is online

Users browsing this forum: No registered users and 256 guests