Search found 5 matches

by Miksior
Tue Jun 16, 2020 10:36 pm
Forum: ESP32 Arduino
Topic: TCP/IP communication between few ESP32 - memory crash with client.remoteIP()
Replies: 4
Views: 4600

TCP/IP communication between few ESP32 - memory crash with client.remoteIP()

Hello everyone! I am trying to find solution to my problem for few days but i almost gave up... i try to set up communication via TCP/IP between few ESP32 modules, (1 is server and rest are clients sending data). I did it succesfully but when i try to recognize each ESP32 by IP (by calling client.re...
by Miksior
Fri Jan 10, 2020 6:56 pm
Forum: ESP32 Arduino
Topic: EPS - ESP communication via TCP/IP
Replies: 3
Views: 4727

Re: EPS - ESP communication via TCP/IP

Sure: here you have the code: Server : #include <ESP8266WiFi.h> #include <WiFiUdp.h> WiFiUDP Udp; unsigned int localUdpPort = 4210; // local port to listen on char incomingPacket[255]; IPAddress ip(192, 168, 4, 1); void setup() { Serial.begin(115200); Serial.println(); WiFi.begin("ESP32", "123456789...
by Miksior
Thu Jan 09, 2020 7:55 pm
Forum: ESP32 Arduino
Topic: EPS - ESP communication via TCP/IP
Replies: 3
Views: 4727

EPS - ESP communication via TCP/IP

Hello everyone! I am looking for an example/guide how to use TCP/IP protocol to set up connection between few ESP modules. So far i prepared UDP communication between 3 esp modules and it works, now i am looking for TCP/IP example. I would be grateful if u could help me and show me the example/code ...