ESP8266 TCP server stops
ESP8266 TCP server stops
Postby Amir_H » Tue Apr 17, 2018 1:54 pm
I'm working with the ESP8266 module, and i have a strange problem, when i communicate with the device over a android tablet, i have a connection, also i can communicate, but the problem is that in the middle of the communication it stops, for few seconds and starts again. I've checked the code on the tablet application, it's fine, also i've checked the code on the MCU which drives the ESP module, it's also ok. What could it be that the communication with the server stops.

Re: ESP8266 TCP server stops
Postby Diceus » Fri Jun 08, 2018 7:22 pm
Probably lwip (leightweight IP stack) keeps allocating packets. Even closed connections remain in a WAITING state before being deallocated. So you'll eventually run out of memory (~40kB heap on the esp8266) or TCP packet buffers
There are only two tragedies in life: one is not getting what one wants, and the other is getting it.
General project of this past year Diceus Start from spring 2019
General project of this past year Diceus Start from spring 2019
Who is online
Users browsing this forum: No registered users and 2 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.