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.
Who is online
Users browsing this forum: No registered users and 8 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!