WiFiEspAT icon indicating copy to clipboard operation
WiFiEspAT copied to clipboard

Communication with WiFi module failed!

Open JEAPI-DEV opened this issue 1 year ago • 7 comments

Hey

I'm using this module: https://www.seeedstudio.com/Grove-UART-WiFi-V2-ESP8285.html. I know the chip (ESP8285) isn't officially supported by this library. Any tips on making it work with this module?

When printing out the WiFi.status, I get the value 255. Maybe that can tell you something, maybe not.

Thanks!

JEAPI-DEV avatar Nov 23 '23 14:11 JEAPI-DEV

I have it working with that module. https://github.com/JAndrassy/WiFiEspAT#logging

JAndrassy avatar Nov 23 '23 15:11 JAndrassy

Hi!

I checked with enabled debug, and here's the output:

esp INFO: soft reset
esp> AT+RST ...sent
esp INFO: soft reset
esp> AT+RST ...sent
esp> ?
esp> ?
esp> ?
esp ERROR: AT firmware not responding
esp> ATE0 ...sent
esp> ?
esp> ?
esp> ?
esp ERROR: AT firmware not responding

Thanks for your response btw.

JEAPI-DEV avatar Nov 24 '23 08:11 JEAPI-DEV

https://github.com/JAndrassy/WiFiEspAT#getting-started

JAndrassy avatar Nov 24 '23 08:11 JAndrassy

Thank you for you patience.

While checking the bound rate, I came across an error that seems to suggest the firmware might be outdated.

Firmware version is 1.6.0.0

Sending baud rate change...
esp>  ...ignored
esp INFO: soft reset,
esp> AT+RST ...sent
esp> AT+RST ...ignored
esp> OK ...ignored
esp> WIFI DISCONNECT ...ignored
esp> bB׆QR���ȤRN�ȤRN�H��NECcpc��d�� ...ignored
esp> �.I�t�p�˓�C��ڇYv�� ...ignored
esp> ready ...matched
esp> ATE0 ...sent
esp> ATE0 ...ignored
esp> OK ...matched
esp> AT+CIPMUX=1 ...sent
esp> OK ...matched
esp> AT+CIPRECVMODE=1 ...sent
esp> ERROR ...error
esp ERROR: expected OK got ERROR
esp INFO: fw version
esp> AT+GMR ...sent
esp> AT version:1.6.0.0(Feb  3 2018 12:00:06) ...matched
esp> SDK version:2.2.1(f42c330) ...ignored
esp> compile time:Feb 12 2018 16:31:26 ...ignored
esp> Bin version(Wroom 02):1.6.1 ...ignored
esp> OK ...matched
Baud rate 9600 baud is working.
Firmware version is 1.6.0.0

JEAPI-DEV avatar Nov 24 '23 08:11 JEAPI-DEV

https://github.com/JAndrassy/WiFiEspAT#why-a-new-wifiesp-library :-)

JAndrassy avatar Nov 24 '23 08:11 JAndrassy

Would it be possible to update the firmware to 1.7?

JEAPI-DEV avatar Nov 24 '23 08:11 JEAPI-DEV

And sorry seems like you documented everything perfectly and I'm just asking questions you already answered.

JEAPI-DEV avatar Nov 24 '23 08:11 JEAPI-DEV