Page 1 of 1

Can't get the sample WPS to work

Posted: Fri Sep 29, 2017 4:14 am
by tom1803
Hi all,

I'm having problems getting the sample WPS code to work.

I'm fairly certain that I had it working about a month ago when I first received my ESP32 Dev. board. I've since re-installed ESP-IDF and toolchain (latest as of 2017/9/28). The problem now is when I press the WPS button on my router, I get the message "SYSTEM_EVENT_STA_DISCONNECTED" repeatedly until timeout on the serial monitor.

I noticed that there's an Arduino version of the sample, so I tried that, but with same result.

I know it's not the router because WPS works perfectly with my ESP8266 projects.

Any help would be most appreciated.

Cheers,
Tom

Re: Can't get the sample WPS to work

Posted: Thu Oct 05, 2017 11:31 pm
by tom1803
OK. Since there are no replies, I guess no one knows the answer.

Then let me ask another question.

Are there anyone who has tried this sample code and have it working?

Your reply will help me greatly.

Cheers.

Re: Can't get the sample WPS to work

Posted: Sun Oct 08, 2017 2:17 pm
by Cellie
There seems to be a problem with the low level WiFi code atm.
I opened an issue on GitHub about these issues.
Could very well be this is a related problem.

Re: Can't get the sample WPS to work

Posted: Sun Oct 08, 2017 3:52 pm
by kolban
We should also not forget that the code for the ESP-IDF on Github master is a work in progress. While I personally choose to develop against this, I can't be too upset when something breaks but worked fine in the release version (2.1 as of this time). Have you tested with a 2.1 build of ESP-IDF? Does it work there?

Re: Can't get the sample WPS to work

Posted: Sun Oct 08, 2017 10:31 pm
by tom1803
Thank you for your replies.

I'm happy to wait until things get sorted. I was just worried if it was me doing something wrong.

Cheers,
Tom