ESP8266 Developer Zone The Official ESP8266 Forum 2015-11-04T13:55:04+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=1248 2015-11-04T13:55:04+08:00 2015-11-04T13:55:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1248&p=4443#p4443 <![CDATA[Re: ESP8266 Unreliable TX (occasional "SEND FAIL" message, then stops working)]]>
Here is the documentation about AT commands: http://bbs.espressif.com/viewtopic.php?f=51&t=1022.

Set the parameter <TCP keep alive> in command "AT+CIPSTART" means that ESP8266 will send packets to detect if the TCP connection broke every XXX time.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed Nov 04, 2015 1:55 pm


]]>
2015-11-02T19:16:14+08:00 2015-11-02T19:16:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1248&p=4417#p4417 <![CDATA[Re: ESP8266 Unreliable TX (occasional "SEND FAIL" message, then stops working)]]>
This is very interesting! But how to use it? Where can I read on How to use it properly?

Thank you for the answer.

Alberto

Statistics: Posted by Alberto — Mon Nov 02, 2015 7:16 pm


]]>
2015-11-02T17:12:56+08:00 2015-11-02T17:12:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1248&p=4414#p4414 <![CDATA[Re: ESP8266 Unreliable TX (occasional "SEND FAIL" message, then stops working)]]>
There is a parameter <TCP keep alive> when you create a TCP connection by command "AT+CIPSTART".

It can detect if the TCP connection broke unexpectly.

Please set it and have a try, if your problem is still unsolved, please provide the AT logs for debugging.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Mon Nov 02, 2015 5:12 pm


]]>
2015-10-20T01:42:49+08:00 2015-10-20T01:42:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1248&p=4164#p4164 <![CDATA[ESP8266 Unreliable TX (occasional "SEND FAIL" message, then stops working)]]>
When we send data (~100 to 200KB in 2048KB chunks) from the 8266 - many times everything sends correctly, but sometimes (25% of the time), we will be halfway through sending data when the ESP8266 gives a "SEND FAIL" message and just stops working.

Our test is a direct connection to an iPhone (they are sitting physically next to each other), with the ESP8266 acting as the AP.
We have tried various delays between each CIPSEND (100ms, 200ms ,1000ms, 2000ms) - not much difference.
We have also tried reducing the AT+RFPOWER - just wondering if the TX was drawing too much current.
On the packet sniffer I saw a # of retransmissions from the ESP8266 before the SEND FAIL.

Is there a list of the errors that cause SEND FAIL - and how can we reduce the chance of this happening?
How do we re-start transmission upon receiving SEND FAIL from the ESP8266?

Statistics: Posted by AndrewNode — Tue Oct 20, 2015 1:42 am


]]>