Hi,
Im not sure that im posting this in the correct location of the forum, but here it goes.
I am havving issues maintaining a stable tcp connection between the ESP and an android phone. The strange thing is that i've tried the android application on a number of devices, and only one of them are failing so far, a Huawei P10 plus.
Connecting to the AP from the android devices are all good.
The ESP acts as a server. It gets a connection from the P10 plus and the P10 plus sends an array of bytes over TCP. Then the esp proccesess the information, and sends back an array of bytes as a response.
This scenario is then repeated until the client(android app) ends the connection.
Although this wont work with the P10 plus as a client. They connect fine and the initiall packets are beeing transmitted as expected but after around 20 sec it always fails. The ESP sends an RST packet and on the android side a SocketException "Software caused connection abort" are thrown on reading from the inputstream.
I've made a packet capture of this on the phone.
Any help would be greatly appreciated.
Loosing TCP connection on some android devices
Who is online
Users browsing this forum: No registered users and 64 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.