Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By rossati
#9331 Hello

I have a problem on CIPSTART command: I receive 0,closed and I have not found in documentation so that means.
This happens on second send; in the first send maybe I did not sent the data correctly?

best regards

John Rossati
User avatar
By platforma
#9357 Hi John!

This forum branch is for hardware specific problems of the esp8266. For general help, please use the "General discussion" board!

I assume you've started your connection using something similar to:
Code: Select allAT+CIPSTART="TCP","192.168.0.4",3912

and then you used AT+CIPSEND=x to send some data.

If you look carefully at the output of the ESP, after sending your data, the last message is "CLOSED" meaning that the ESP has closed the link after successfully sending the message. In order to send the second message, you need to CIPSTART the link again, or the ESP will tell you "link is not"

Otherwise, make sure that you actually have a running TCP server on what you're trying to connect to. If the other PC is not set up to listen for incoming TCP connections, the ESP will return "x,CLOSED", where x is the number of your connection if you had CIPMUX set to 1.

Hope this helps!
User avatar
By rossati
#9630 Thank
After many attempts (partly caused by my grandchildrens that changed the Access Point), I Used another ESP8622 that worked.
But what makes me puzzled is the fact that the older ESP8622 is working: here the answer to AT+GMR:
Working
Code: Select all[Vendor:www.ai-thinker.com Version:0.9.2.4]
ready
Firmware version
AT+GMR
0018000902-AI03

Not Working
Code: Select allFirmware version
AT+GMR
0020000903
compiled @ Dec 15 2014 19:43:31


So my question if I can modify the firmware and where cn I found the correct firmare.

Best regards

Giovanni Rossati