JAndrassy / WiFiEspAT

Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
GNU Lesser General Public License v2.1
271 stars 44 forks source link

Communication with WiFi module failed! #113

Open JEAPI-DEV opened 7 months ago

JEAPI-DEV commented 7 months ago

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!

JAndrassy commented 7 months ago

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

JEAPI-DEV commented 7 months ago

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.

JAndrassy commented 7 months ago

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

JEAPI-DEV commented 7 months ago

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
JAndrassy commented 7 months ago

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

JEAPI-DEV commented 7 months ago

Would it be possible to update the firmware to 1.7?

JEAPI-DEV commented 7 months ago

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