Chat freely about anything...

User avatar
By alonewolfx2
#8953 your ssid name to short. can you try to change more than 10 char?
User avatar
By Gorsha
#9422 I've had similar problems today with ESP-12. AT+CWJAP failed with code 4. I could scan APs with AT+CWLAP and my network was found OK. I've flashed new SDK (0.9.5), tried with my custom firmware, but no success (wifi_station_get_connect_status() always returned STATION_CONNECT_FAIL).

At last I figured it out: I've added 220uF capacitor on power supply output (VTX-214-003-103), and problem was solved! It seems that ESP8266 is very sensitive to voltage fluctuations.

Interesting thing is that my other board, ESP-01, works ok with the same power supply and no cap. They are probably little different, ESP-12 maybe draws more current...
User avatar
By dexterkhm
#9928 A t last i have a connction.
But I have a problem my esp8266 connects to only one open AP from 4 Open AP available?
Code: Select all wdt reset
load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a

2nd boot version : 1.1
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size : 4Mbit
jump to run user1

r
ready
AT+CWLAP +CWLAP:(4,"YUNASKO",-78,"f8:d1:11:2b:dd:7c",1)
+CWLAP:(0,"ID03",-91,"00:27:22:9a:41:66",9)
+CWLAP:(3,"Hotels3d.com",-75,"d8:50:e6:f4:6f:48",11)

OK
AT+CWJAP="ID03",""
OK
AT+CIFSR +CIFSR:STAIP,"172.17.2.103"
+CIFSR:STAMAC,"18:fe:34:98:51:d8"

OK
AT+CIFSR +CIFSR:STAIP,"172.17.2.103"
+CIFSR:STAMAC,"18:fe:34:98:51:d8"

OK
AT+CIFSR +CIFSR:STAIP,"172.17.2.103"
+CIFSR:STAMAC,"18:fe:34:98:51:d8"

OK
AT+CIFSR +CIFSR:STAIP,"172.17.2.103"
+CIFSR:STAMAC,"18:fe:34:98:51:d8"

OK



But I have a problem my esp8266 connects to only one open AP, from 4 Open AP available! Why?

Code: Select allready
AT+CWLAP +CWLAP:(4,"YUNASKO",-80,"f8:d1:11:2b:dd:7c",1)
+CWLAP:(0,"ID03",-86,"00:27:22:9a:41:66",9)
+CWLAP:(3,"Hotels3d.com",-77,"d8:50:e6:f4:6f:48",11)

OK
AT+CWJAP="YUNASKO","" +CWJAP:1

FAIL
_____________________________________________________

ready
AT+CWLAP +CWLAP:(4,"YUNASKO",-81,"f8:d1:11:2b:dd:7c",1)
+CWLAP:(4,"TP-LINK_F6B362",-92,"f4:ec:38:f6:b3:62",1)
+CWLAP:(0,"ID03",-89,"00:27:22:9a:41:66",9)
+CWLAP:(3,"Hotels3d.com",-68,"d8:50:e6:f4:6f:48",11)

OK
AT+CWJAP="TP-LINK_F6B362","" +CWJAP:2

FAIL
___________________________
ready
AT+CWLAP +CWLAP:(4,"YUNASKO",-70,"f8:d1:11:2b:dd:7c",1)
+CWLAP:(4,"TP-LINK_F6B362",-91,"f4:ec:38:f6:b3:62",1)
+CWLAP:(4,"Alyx mobile",-90,"d4:6e:5c:6e:65:78",6)
+CWLAP:(0,"ID03",-86,"00:27:22:9a:41:66",9)
+CWLAP:(4,"REN_WiFi",-90,"f0:7d:68:9d:02:30",9)
+CWLAP:(3,"Hotels3d.com",-72,"d8:50:e6:f4:6f:48",11)

OK
AT+CWJAP="Alyx mobile","" +CWJAP:1

FAIL
________________________________________________
User avatar
By smitex
#13140 Hello,

I had the same problem, I tried AT+CWMODE=2 did't work
then I tried AT+CWMODE=3 did't work

Then I finally tried AT+CWMODE=1, these settings worked for me,
First AT+RST (reset the ESP-8266) and then AT+CWJAP"ssid","pwd" this worked for me, I hope you can do something with it,

Greetz , Smitex :D :D :D