ESP8266 Developer Zone The Official ESP8266 Forum 2019-01-29T17:26:48+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=1779 2019-01-29T17:26:48+08:00 2019-01-29T17:26:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1779&p=37094#p37094 <![CDATA[Re: AT+WPS command example]]> Statistics: Posted by Her Mary — Tue Jan 29, 2019 5:26 pm


]]>
2019-01-03T04:47:57+08:00 2019-01-03T04:47:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1779&p=36550#p36550 <![CDATA[Re: AT+WPS command example]]>
**** POWER UP HARDWARE ****
AT+GMR
AT version:1.7.0.0(Aug 16 2018 00:57:04)
SDK version:3.0.0(d49923c)
compile time:Aug 23 2018 16:58:12
Bin version(Wroom 02):v1.7.0
OK

AT+CWMODE_CUR=1
OK

AT+CIPMUX=1
OK

AT+CWAUTOCONN=1
OK

AT+WPS=1
wps started
OK
*** PRESS WPS BUTTON ON ROUTER ****
WIFI DISCONNECT
wps success,connecting ap ...
WIFI CONNECTED
WIFI GOT IP

AT+CWJAP_CUR?
+CWJAP_CUR:"CARL","a4:91:b1:46:db:57",1,-62,0
OK

AT+CIPSTATUS
STATUS:2
OK

AT+CIPSTART=4,"UDP","103.47.1.15",5002,5002,0
4,CONNECT
OK

AT+CIPSTA_CUR?
+CIPSTA_CUR:ip:"192.168.1.145"
+CIPSTA_CUR:gateway:"192.168.1.254"
+CIPSTA_CUR:netmask:"255.255.255.0"
OK

********* RESET ESO8266 HARDWARE HERE ********

AT+GMR
AT version:1.7.0.0(Aug 16 2018 00:57:04)
SDK version:3.0.0(d49923c)
compile time:Aug 23 2018 16:58:12
Bin version(Wroom 02):v1.7.0
OK

AT+CWMODE_CUR=1
OK

AT+CIPMUX=1
OK

AT+CWAUTOCONN=1
OK

AT+CWJAP_CUR?
No AP

OK

**** WAIT MINUTES STILL NO CONNECTION ****

AT+CWJAP_CUR?
No AP

OK

Statistics: Posted by carlnorman — Thu Jan 03, 2019 4:47 am


]]>
2016-02-16T11:30:27+08:00 2016-02-16T11:30:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1779&p=5757#p5757 <![CDATA[AT+WPS command example]]>
Do you have an example showing the usage of the WPS command?

Basically a flow of how to use it, like you have for some other commands in your 'Command Examples' document.
Something like this?
1. Set device to STA mode
2. Press the WPS button on the AP
3. AT+WPS=1 on the ESP8266
4. Returns OK. Is that it? If it returns OK means the STA is associated with the AP?

Thank you.

Statistics: Posted by sarodeoa — Tue Feb 16, 2016 11:30 am


]]>