-->
Page 1 of 1

+CWJAP:1 Error Every Time I try to Connect ESP8266 to Wifi

PostPosted: Sun Jan 06, 2019 8:35 am
by ifeeltoojumpy
Hi,

I'm new to ESP8266, but I am trying to simply connect my ESP8266 to the wifi...but I get this error (see attached file for a screenshot):

08:22:40.967 -> AT+CWJAP_DEF="wifi","password"
08:22:43.907 -> WIFI CONNECTED
08:22:55.999 -> +CWJAP:1
08:22:56.043 ->
08:22:56.043 -> FAIL
08:22:56.043 -> WIFI DISCONNECT
08:23:01.320 -> AT+CWJAP_DEF="wifi","password"
08:23:04.270 -> WIFI CONNECTED
08:23:16.386 -> +CWJAP:1
08:23:16.386 ->
08:23:16.386 -> FAIL
08:23:16.386 -> WIFI DISCONNECT
08:23:21.253 -> AT+CWJAP_DEF="wifi","password"
08:23:24.204 -> WIFI CONNECTED
08:23:36.338 -> +CWJAP:1
08:23:36.338 ->
08:23:36.338 -> FAIL
08:23:36.338 -> WIFI DISCONNECT

I have tried suggestions from other forms, such as reset my router, flash the ESP8266 with the latest firmware (https://www.espressif.com/en/support/download/at), and use a different ESP8266, but this error is persistent.

Any help will be appreciated!

Re: +CWJAP:1 Error Every Time I try to Connect ESP8266 to Wi

PostPosted: Mon Jan 07, 2019 11:28 am
by QuickFix
It has been a while since I played with AT commands, but please know that the SSID and password may not contain any spaces (or weird characters). :idea: