ESP8266 Developer Zone The Official ESP8266 Forum 2021-06-18T15:49:18+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=75136 2021-06-18T15:49:18+08:00 2021-06-18T15:49:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=75136&p=99997#p99997 <![CDATA[Re: What conditions are cause of "CLOSED" with AT+CIPSEND?]]> Statistics: Posted by Her Mary — Fri Jun 18, 2021 3:49 pm


]]>
2021-06-04T17:53:04+08:00 2021-06-04T17:53:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=75136&p=99960#p99960 <![CDATA[What conditions are cause of "CLOSED" with AT+CIPSEND?]]>
Occasionally, when I send data with "AT+CIPSEND" for "AT+CIPSENDBUF", I received below return.

Recv xx bytes
CLOSED

After sending data, it takes 7 sec until receive "CLOSED" return.
I wonder my codes have some timing issues or other problems.
So, I want to check conditions why ESP returns "CLOSED" and avoid these conditions.
Would you share why ESP returns "CLOSED" or how I can check problem conditions?

If I need to check "error code" in this condition, please let me know how I can check it.
I try to input "AT+SYSLOG=1" or "AT+SYSLOG?", ESP only returns "ERROR".

Thanks.

p.s. I used ESP-WROOM-02D and please refer below firmware information.

AT+GMR
AT version:1.7.3.0(Mar 19 2020 18:15:04)
SDK version:3.0.3(8427744)
compile time:Mar 24 2020 16:16:12
Bin version(Wroom 02):3.0.3
OK

Statistics: Posted by Good Day — Fri Jun 04, 2021 5:53 pm


]]>