Can't get the sample WPS to work

tom1803
Posts: 4
Joined: Fri Sep 29, 2017 4:01 am

Can't get the sample WPS to work

Postby tom1803 » Fri Sep 29, 2017 4:14 am

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

tom1803
Posts: 4
Joined: Fri Sep 29, 2017 4:01 am

Re: Can't get the sample WPS to work

Postby tom1803 » Thu Oct 05, 2017 11:31 pm

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.

Cellie
Posts: 45
Joined: Sat Feb 27, 2016 9:47 pm

Re: Can't get the sample WPS to work

Postby Cellie » Sun Oct 08, 2017 2:17 pm

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Can't get the sample WPS to work

Postby kolban » Sun Oct 08, 2017 3:52 pm

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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

tom1803
Posts: 4
Joined: Fri Sep 29, 2017 4:01 am

Re: Can't get the sample WPS to work

Postby tom1803 » Sun Oct 08, 2017 10:31 pm

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

Who is online

Users browsing this forum: ghmyers and 78 guests