Two ESP8266 can communicate with each other continuously

tejani_hiren
Posts: 1
Joined: Mon Sep 19, 2016 2:36 pm

Two ESP8266 can communicate with each other continuously

Postby tejani_hiren » Mon Sep 19, 2016 2:38 pm

Hello Every one , i'm new with ESP8266 and don't understand other language so i use Nodemcu1.0 in Arduino IDE for my work. From that i First Set ESP8266 as AP and and it work and than i set it to client it also work but now i want to Set TWO ESP8266 such that it communicate with each other continuously, For that i spent lots of day on that but nothing found can anyone help me to do that.if any Sample code ready than please send me.Thanks ..

ESP_Alen

Re: Two ESP8266 can communicate with each other continuously

Postby ESP_Alen » Mon Sep 19, 2016 5:52 pm

tejani_hiren wrote:Hello Every one , i'm new with ESP8266 and don't understand other language so i use Nodemcu1.0 in Arduino IDE for my work. From that i First Set ESP8266 as AP and and it work and than i set it to client it also work but now i want to Set TWO ESP8266 such that it communicate with each other continuously, For that i spent lots of day on that but nothing found can anyone help me to do that.if any Sample code ready than please send me.Thanks ..


Hi,
You can set one device as Server (TCP/UDP), and other one as Client.
Client connects Server, then communicates each other.
1. Client sample code:
viewtopic.php?f=31&t=232
2. Server sample code:
viewtopic.php?f=31&t=763

Who is online

Users browsing this forum: No registered users and 294 guests