Page 1 of 1

ESP8266 AT question

Posted: Wed Oct 02, 2019 9:02 pm
by Pactor
Hello
Just playing around with this module and when you connect to an AP it returns "OK"
But when it fails to connect it returns "+CWJAP:1" but the component seems to accept this as a valid connection also.
Just wondering if its because its seeing the 1 coming back from the module.
Is there anyway of changing the responses that the component expects to see.
I can work around but I had a feeling I had the same problem before and found an easy way to get around it but can't remember what I did.


Wemos Mega +WiFi R3 ATmega2560+ESP8266 USB-TTL CH340G Arduino Mega NodeMCU
Wemos Mega +WiFi R3 ATmega2560+ESP8266 USB-TTL CH340G Arduino Mega NodeMCU.JPG
Wemos Mega +WiFi R3 ATmega2560+ESP8266 USB-TTL CH340G Arduino Mega NodeMCU.JPG (38.41 KiB) Viewed 1531 times

Re: ESP8266 AT question

Posted: Mon Oct 07, 2019 5:19 pm
by Benj
Hello,

I beleive I have fixed this iss e already for v8 but I'll have another look and compare.

Maybe try and collect the IP and if you get a valid address then you should be connected ok.