Post links and attach files for documentation here, also chat about these docs freely

User avatar
By KDB
#67775 With AT+GMR I receive : Version 1.2.0.0. SDK Version 1.5.4.1 von Ai-Thinker Technology
After AT+CWMODE=1 I try connect with AT+CWJAP <ssid>,<password>
Answer of esp8266
WIFI DISCONNECT
+CWJAP:4

Who can help ?
:?: Thanks
User avatar
By QuickFix
#67778
KDB wrote:I try connect with AT+CWJAP <ssid>,<password>

Did you forget the equals sign (=) between AT+CWJAP and <ssid> perhaps?
Or to enclose the ssid and password between double qoutes (")?

Connecting to an AP is done with:
Code: Select allAT+CWJAP="MyAP","MyPassWord"


Otherwise, try to see if your AP is seen by issuing an AT+CWLAP first. :idea:
User avatar
By KDB
#67788 Sorry, I forgot the = in my post. I wrote in the same way you mentioned. The AP is seen in the list.
Is there anywhere a list of the error codes ?
Did you forget the equals sign (=) between AT+CWJAP and <ssid> perhaps?
Or to enclose the ssid and password between double qoutes (")?

Connecting to an AP is done with:
Code: Select allAT+CWJAP="MyAP","MyPassWord"


Otherwise, try to see if your AP is seen by issuing an AT+CWLAP first. :idea:[/quote]
User avatar
By QuickFix
#67792 Error "4" means "Connection failed", so that doesn't make things any more clear. :?
To what kind of AP (and with what algorithm & encryption method) are you trying to connect?

For quick reference I always use this page.
When I need to consult the complete manual, I have a look at the official Espressif AT-instruction set.