retrieve credentials after WPS

crc1021
Posts: 3
Joined: Thu Mar 28, 2019 9:29 pm

retrieve credentials after WPS

Postby crc1021 » Thu Mar 28, 2019 9:40 pm

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

crc1021
Posts: 3
Joined: Thu Mar 28, 2019 9:29 pm

Re: retrieve credentials after WPS

Postby crc1021 » Mon Apr 01, 2019 12:33 pm

does the silence mean no function exists to do that?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: retrieve credentials after WPS

Postby WiFive » Mon Apr 01, 2019 1:36 pm

esp_wifi_get_config ?

crc1021
Posts: 3
Joined: Thu Mar 28, 2019 9:29 pm

Re: retrieve credentials after WPS

Postby crc1021 » Mon Apr 01, 2019 4:45 pm

thanks, that works,
I should have tried that

Eric

Who is online

Users browsing this forum: No registered users and 134 guests