Chat freely about anything...

User avatar
By ikuyad
#38993 // Nevermind Sorry! I realised the next day that my syntax for the ssid had a mistake.. I was working late and wasn't thinking straight.. CWJAP Definitely works.

Hi, I'm having the same issue..
It was working until a moment.

Now for both

AT+CWJAP?

ERROR
and

AT+CWJAP="",""

FAIL

mainly with my home wifi.

When I hotspot from my mobile phone it works.. Anyone know why this might be?
I've made sure AT+CWMODE=3, no spacing after the comma in CWJAP, enough characters and spelling..
:?
User avatar
By atexit8
#45124
317andrew317 wrote:Got it! The problem was simply putting a space in between the comma and the second set of quotation marks. I was always typing AT+CWJAP="example", "12345678" rather than AT+CWJAP="example","12345678". Could have sworn the AT command list put a space in between, which is why I kept putting a space. Well, maybe this will help someone else out in the future.



Thank you for this information.

I hadn't realized what a difference a space made. :shock:
User avatar
By JMCol
#46539 I have the same kind of error.
Code: Select allAT+GMR

AT version:0.25.0.0(Jun  5 2015 16:27:16)
SDK version:1.1.1
compile time:Jun  5 2015 21:03:10

OK

AT+CWJAP_DEF="SSID router","" return an ERROR
AT+CWLAP is OK.
I tried the AT+CWMODE with 1, 2 or 3.
The voltage is 3.32 and is given by an old PC power supply. It is taken on the entry of the ESP module.
I tried two ESP8266 on the specific router (a Tenda whis is at 75 cm away from the ESP).
I also tried to join the router which I use for Internet (a TP-LINK which is 8 m from the ESP).
Both routers have no password.
I check the spelling of the AT command and looked for spaces within the command (see above).
Everything returned an ERROR but it worked 2 days ago.
I really don't know what to do.
Do you have any idea ?
User avatar
By maalogy
#49021 Hey dear Friend, I had the same error.
my Solution step was:
first type AT+CWMODE=1 (1,2 OR 3 UP TO U) AND
type AT+CWJAP="ASAD","2312"
it did work.
Have a joyful works.