Chat freely about anything...

User avatar
By piet
#15612 Hello,
I had the same problem.
The command "AT+CWJAP="SSID","password" send 'FAIL'.
The SSID is 12 char.
The version is 0.9.2.4.
I have welding a capacitor of VCC and GND (470µF)

My module respond when i dont send the command "AT+CWJAP="SSID","password" but when i do :
Code: Select all
   wifiCommande( "AT+CWMODE=1",2)
   wifiCommande( "AT+RST", 5, 'ready')   
   err = wifiCommande( "AT+CWLAP",10)
   while err.count('ERROR')>=1:
       err=wifiCommande( "AT+CWLAP",10)   
   err = wifiCommande( "AT+CWJAP?",30)
   err = wifiCommande( "AT+CWJAP?",30)
   while err.count('ERROR')>=1:
       err = wifiCommande( "AT+CWJAP?",30)

Then, when he answers me (after more or less 50 to 100 request), I send "AT+CIFSR" and the module answers me an address IP...?
The mmodule is capricious!
User avatar
By piet
#19428 Hi,
Small back.

I connected the module ESP use a stick usb (Male USB 2.0 to TTL UART Module Serial Converte) and the software Docklight : it'ok. My module respond OK and when I send the command "AT+CWJAP?", it respond OK too.
I do a program on Arduino mini and OK too.

However, my program on Python with my board beaglebone black, it do always the error...?
To be continued.
User avatar
By piet
#20192 I have finding my error.
The ESP respond me 'Fail' when I doing this line in python :
wifiCommande( "AT+CWJAP=\"toto\",\"1234\"",30)

By against, the ESP respond me 'ok' when i doing this lines in python :
ssid = "toto"
pwd = "1234"
wifiCommande( "AT+CWJAP=\"" + ssid + "\",\"" + pwd + "\"",20)

Why?? This is the same line but it work! :shock:

"toto" and "1234" are exemples