Fast communication between two ESPs
Posted: Sat Jul 02, 2016 1:01 pm
Hello,
I am trying to make two ESP8266 communicate in a network hosted on one of them. I need the one that does not host the network to send around 300bits of information each second to the second ESP8266. I found three major ways to do this, but each of them has its own problem.
1) UDP - almost works, but some requests are omitted
2) TCP - completely does not work (works only for the first three to ten requests and then the server says that there is no client
3) HTTP requests - works, but not fast enough
Am I doing something wrong and are there other alternatives for this communication?
Thank you in advance!!!
I am trying to make two ESP8266 communicate in a network hosted on one of them. I need the one that does not host the network to send around 300bits of information each second to the second ESP8266. I found three major ways to do this, but each of them has its own problem.
1) UDP - almost works, but some requests are omitted
2) TCP - completely does not work (works only for the first three to ten requests and then the server says that there is no client
3) HTTP requests - works, but not fast enough
Am I doing something wrong and are there other alternatives for this communication?
Thank you in advance!!!