Hello brains. This is my messed up hardware:
A nodemcu (RX) controlling a P10 panel and receiving a String from the TX (esp01s) via port 80 of my home wifi. The only part of the code that is relevant is this one because it deals with communication between the two esp's:
if(WiFi.status() == WL_CONNECTED) {
if(bytebotaodir == 1) {
client.connect(server, 80);
client.println("ABCDEF");
client.flush();
client.stop();
}
To test how fragile this communication is I downloaded a small TCP Client app from the play store. I entered the same IP and port 80 in it and clicked connect.
That alone was enough for my RX-TX duo to stop communicating.
Not even closing the APP did communication return between the two esp's. I can't go through with it like this. The RX (esp01s) will be a few meters away from the TX within the same wifi network. But it can't be that easy to interrupt this communication.
What can I try here without increasing the complexity so much ?
NOTE: I will research how to make the IP invisible. But I don't even know if that's possible. Maybe on to use port 443. But what would it look like ?
Anybody know ? ...Thanks