Unknown answer +CWMODE_CUR:(1-3) did I discover a new ESP8266 variation

serge
Posts: 2
Joined: Fri Jan 06, 2017 9:43 pm

Unknown answer +CWMODE_CUR:(1-3) did I discover a new ESP8266 variation

Postby serge » Fri Jan 06, 2017 10:41 pm

New to try ESP8266 and on this forum
Here the status of communication after initial AT+RST and received all text information

WIFI DISCONNECT !!!!!

AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04

AT+CIPSTATUS
STATUS:5 5 : Wi-Fi connection fail

AT+CWJAP?
No AP

AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:d7:bb:92"
+CIFSR:STAIP,"0.0.0.0"
+CIFSR:STAMAC,"18:fe:34:d7:bb:92"

AT+CWJAP_CUR ="TNCAPA13F8D","xxxxxxxxxxxxx"

ERROR

AT+CWMODE?
+CWMODE:3

AT+CWMODE_CUR=?
+CWMODE_CUR:(1-3) !!!!!!!!!!!!!!!

AT+CWDHCP?
+CWDHCP:3


What does that mean +CWMODE_CUR:(1-3) and what would be the solution to go on, testing this product?

Serge

ESP_Xutao
Posts: 134
Joined: Tue Sep 27, 2016 5:42 pm

Re: Unknown answer +CWMODE_CUR:(1-3) did I discover a new ESP8266 variation

Postby ESP_Xutao » Mon Jan 09, 2017 3:27 pm

Hi
AT+CWMODE_CUR,this command is set wifi work mode,for example:AT+CWMODE_CUR=1,this is station mode.If you want connect wifi,you should set station mode.you can consult AT example document. http://espressif.com/sites/default/file ... les_en.pdf

serge
Posts: 2
Joined: Fri Jan 06, 2017 9:43 pm

Re: Unknown answer +CWMODE_CUR:(1-3) did I discover a new ESP8266 variation

Postby serge » Mon Jan 09, 2017 7:02 pm

Thanks for answer.

Has I did not succed to connect as a station I did not well understand what the answer means

After a AT+RESTORE, I succedded to connect and set the different modes:

After AT+RST:
ready
WIFI CONNECTED
WIFI GOT IP

Who is online

Users browsing this forum: No registered users and 182 guests