-->
Page 1 of 1

WPS connection

PostPosted: Tue Mar 29, 2022 5:20 pm
by b4xt3r
Hello,

I can't find any solid documentation on WPS. Can someone point me to it?
I would like to know
Code: Select allWiFi.beginWPSConfig()

actually behaves.

1) Is it safe to have that function run in a loop? I want to fire it as long as status does not equal WL_CONNECTED

2) Do I HAVE to press the WPS on my router FIRST? Does this matter? What if I run that function 24//7 but press the WPS button of my router any time I want, later on. Will it succeed?

3) what happens if you run the following :
Code: Select allWiFi.begin("some wrong ssid", "some wrong password");
WiFi.beginWPSConfig();

basically i want to hard code a default ssid and password, but I also want to have WPS as a fallback option if i cannot connect anymore with the default credentials.

thanks

Re: WPS connection

PostPosted: Mon Apr 04, 2022 4:54 am
by rpiloverbd
Hi, have you tried the default example that is given here in this library?
https://github.com/esp8266/Arduino/issues/2628

Re: WPS connection

PostPosted: Tue May 24, 2022 9:19 am
by eriksl
Arduino stuff, not even advanced. Moving it.