ESP8266 Developer Zone The Official ESP8266 Forum 2017-10-12T15:05:55+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=6839 2017-10-12T15:05:55+08:00 2017-10-12T15:05:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6839&p=16387#p16387 <![CDATA[Re: WPS: No way to get key after successful connection]]> Statistics: Posted by Her Mary — Thu Oct 12, 2017 3:05 pm


]]>
2017-10-11T04:39:05+08:00 2017-10-11T04:39:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6839&p=16345#p16345 <![CDATA[Re: WPS: No way to get key after successful connection]]> To force being offline, you could use NULL_MODE. With the NONOS SDK I'd just do
wifi_set_opmode(NULL_MODE);

Statistics: Posted by blubb — Wed Oct 11, 2017 4:39 am


]]>
2017-10-09T09:57:56+08:00 2017-10-09T09:57:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6839&p=16314#p16314 <![CDATA[WPS: No way to get key after successful connection]]> And we can get SSID by "AT+CWJAP?".
But there's no way to get key.

We are creating product without auto reconnection.
Then we need to keep both SSID & key retrieved by WPS.

Unless we could get key, WPS is just as useless with ESP8266...
Then we need to abandon to use it in our product...

We are appreciated if you could plan to add functionality to get the key.
Thank you very much.

P.S. followings are sample we are successful to get WPS done. And we need to continue to get key...

AT+WPS=1

wps started

OK
WIFI DISCONNECT
wps success,connecting ap ...
WIFI CONNECTED
WIFI GOT IP
AT+CWJAP?
+CWJAP:"myaccesspoint","a4:12:42:xx:xx:xx",4,-52

OK

Statistics: Posted by Niz — Mon Oct 09, 2017 9:57 am


]]>