-->
Page 1 of 2

communication between two ESP8266 without router

PostPosted: Mon Apr 22, 2019 8:49 pm
by milankpaul
I want to use two ESP8266 to communicate with each other without router..for that one esp in server mode and another in client mode..Client ESP will read sensor data and will send server. accordingly server will turn on/off a motor. Please help how I can do that? any piece of code will really help

Re: communication between two ESP8266 without router

PostPosted: Wed May 08, 2019 9:57 am
by eriksl
The "router" is only to obtain an ip adres + netmask (DHCP). If you assign static IP adresses (+ netmask) to your devices, you don't need the router. You will still need an access point though. If you put either one of the devices into "access point mode", you don't even need an access point. It's all in the documenation. You will need some understanding of the SDK API if you're going to do anything, so let's start there.

Re: communication between two ESP8266 without router

PostPosted: Thu May 16, 2019 8:43 am
by mercan001
eriksl wrote: If you put either one of the devices into "access point mode", you don't even need an access point. It's all in the documenation. You will need some understanding of the SDK API if you're going to do anything, so let's start there.


Did you do this?

Re: communication between two ESP8266 without router

PostPosted: Fri May 17, 2019 6:12 am
by eriksl
Yes.