TCP connections hopelessly unreliable.
TCP connections hopelessly unreliable.
Postby dmarkey » Tue Oct 13, 2015 12:38 am
Hi there,
I've tried using Sming and the Arduino spin for ESP8266 (and all SDK versiobns) and they all suffer very unreliable TCP connections.
Referenced bugs are here:
https://github.com/SmingHub/Sming/issues/198
https://github.com/SmingHub/Sming/issues/222
It seems TCP retransmissions aren't handled very well. Is there a bug here?
David
I've tried using Sming and the Arduino spin for ESP8266 (and all SDK versiobns) and they all suffer very unreliable TCP connections.
Referenced bugs are here:
https://github.com/SmingHub/Sming/issues/198
https://github.com/SmingHub/Sming/issues/222
It seems TCP retransmissions aren't handled very well. Is there a bug here?
David
Re: TCP connections hopelessly unreliable.
Postby ESP_Faye » Fri Oct 16, 2015 9:49 am
Hi,
Please have a try with our latest esp_iot_sdk_v1.4.0.
We optimized TCP to make the connection more reliable in sdk_v1.4.0.
Thanks for your interest in ESP8266 !
Please have a try with our latest esp_iot_sdk_v1.4.0.
We optimized TCP to make the connection more reliable in sdk_v1.4.0.
Thanks for your interest in ESP8266 !
Re: TCP connections hopelessly unreliable.
Postby ESP_Faye » Mon Oct 19, 2015 10:46 am
Hi,
Bad network environment may cause "random disconnections".
Or you can capture the WiFi packets for debugging.
Thanks for your interest in ESP8266 !
Bad network environment may cause "random disconnections".
Or you can capture the WiFi packets for debugging.
Thanks for your interest in ESP8266 !
Re: TCP connections hopelessly unreliable.
Postby dmarkey » Mon Oct 19, 2015 6:35 pm
What kind of traces are you looking for?
A tcpdump race can be found here: https://github.com/SmingHub/Sming/issues/222
A tcpdump race can be found here: https://github.com/SmingHub/Sming/issues/222
Re: TCP connections hopelessly unreliable.
Postby ESP_Faye » Tue Oct 20, 2015 9:43 am
Hi,
Please capture the WiFi network packets by "wireshark" or "omnipeek" when the disconnection happen.
We will analyse the packets for debugging.
Thanks for your interest in ESP8266 !
Please capture the WiFi network packets by "wireshark" or "omnipeek" when the disconnection happen.
We will analyse the packets for debugging.
Thanks for your interest in ESP8266 !
-
- Posts: 8
- Joined: Sat Jan 03, 2015 11:34 pm
Re: TCP connections hopelessly unreliable.
Postby MikeBolton » Sat Oct 31, 2015 3:54 am
We too are having a problem with the TCP. This is with incoming messages - from a Smartphone app. As this is a control application we need the message to be sent via the UART as soon as possible. We have a reliable connection to the TCP channel but the messages appear on the UART with a very variable delay and sometimes not at all. Much of the time the delay is small (we only send at about one second intervals, one message of a few bytes at a time) but quite often we get no output and then a burst of the 'missing' messages. Sometimes we get no UART output at all. (No blue LED). This is no use for critical 'real time' control from the Smartphone to the system.
Have others experienced this problem and are there any ways round it?
Mike Bolton
Have others experienced this problem and are there any ways round it?
Mike Bolton
Who is online
Users browsing this forum: No registered users and 83 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.