Page 1 of 1

retrieve credentials after WPS

Posted: Thu Mar 28, 2019 9:40 pm
by crc1021
After completing WPS, I see that the application can call esp_wifi_sta_get_ap_info() to get the SSID of the AP as part of the wifi_ap_record_t structure.
How can the application retrieve the WPA key so it can be stored in NVS for later use?

Eric

Re: retrieve credentials after WPS

Posted: Mon Apr 01, 2019 12:33 pm
by crc1021
does the silence mean no function exists to do that?

Re: retrieve credentials after WPS

Posted: Mon Apr 01, 2019 1:36 pm
by WiFive
esp_wifi_get_config ?

Re: retrieve credentials after WPS

Posted: Mon Apr 01, 2019 4:45 pm
by crc1021
thanks, that works,
I should have tried that

Eric