Hello Everyone,
I am using esp idf v3.3( LTS ). I am facing an issue related to wifi security. I have written code for wifi sta mode.
ESP32 is working fine with OPEN and WPA2-PSK security. but when I have configured ESP32 to WEP or WPA-PSK it also connects to WPA2-PSK Access point. I was facing same with the esp-idf v3.2.2 also.
Please help me out resolve this issue.
Thanks,
Somesh Burkule
Wifi Authentication not working
Wifi Authentication not working
Thanks,
Somesh Burkule
Somesh Burkule
Re: Wifi Authentication not working
Hello esp forum,somesh wrote: ↑Thu Nov 07, 2019 1:26 pmHello Everyone,
I am using esp idf v3.3( LTS ). I am facing an issue related to wifi security. I have written code for wifi sta mode.
ESP32 is working fine with OPEN and WPA2-PSK security. but when I have configured ESP32 to WEP or WPA-PSK it also connects to WPA2-PSK Access point. I was facing same with the esp-idf v3.2.2 also.
Please help me out resolve this issue.
Thanks,
Somesh Burkule
Please help me to resolve this. awaiting your reply.
Thanks,
Somesh Burkule
Somesh Burkule
Re: Wifi Authentication not working
Hello Somesh,
Means, Issue which you are facing is like authenticity but still wifi is able to connect with configured router.
Correct?
Would you please share logs of wifi connect and disconnect logs?
Means, Issue which you are facing is like authenticity but still wifi is able to connect with configured router.
Correct?
Would you please share logs of wifi connect and disconnect logs?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Wifi Authentication not working
Yes, esp connects to router with WPA2-PSK even when esp wifi auth set to WEP or WPA-PSK.
we'll share you the logs soon.
Thanks,
Somesh Burkule
Somesh Burkule
Re: Wifi Authentication not working
Hello WiFive,
I have not set the threshold value. what is the default setting.
Thanks,
Somesh Burkule
Somesh Burkule
Re: Wifi Authentication not working
What are you setting then?
Re: Wifi Authentication not working
thanks for quick reply. below are the settings I am using.
wifi_config_t wifi_config = {
.sta = {
.ssid = "test",
.password = "1234567890",
.bssid_set = false,
.channel = 0,
.threshold.authmode = WIFI_AUTH_WPA2_PSK
},
};
Thanks,
Somesh Burkule
Somesh Burkule
Re: Wifi Authentication not working
Ok so you are setting the threshold. It will still choose the most secure AP available. If you want to connect to a specific AP set BSSID.
Who is online
Users browsing this forum: Baidu [Spider], biakss and 265 guests