-->
Page 1 of 3

How to Bridge ESP's

PostPosted: Wed Oct 28, 2015 6:22 am
by Ashutosh choudhary
So, I have three ESPs (let's call it A, B, and C). All the three are connected in STATIONAP mode.
The first ESP (ESP A) connects to my Wifi router and broadcasts Net-A.
The second ESP (ESP B) connects to Net-A and broadcasts Net-B.
The third ESP (ESP C) connects to Net-B and brodcasts Net-C.
All these ESPs are connected in a series. I've been able to achieve this.

The IP that ESP A gets is assigned by my router. The ESP B gets IP from ESP A. And ESP C gets IP from ESP B.

I would like to program the ESP C to get the IP from ESP A instead of ESP B. But ESP C is not in direct range of ESP A. Is there a way to do it? Basically, I would like ESP B to act like a bridge for ESP A and C. Is this possible?

The idea is to control the GPIO pins of the ESP by staying connected to my Wifi router.

I have tried disabling DHCP for ESP B, but still no success.

Re: How to Bridge ESP's

PostPosted: Wed Oct 28, 2015 6:43 am
by eduperez
I would have a look to the "mesh network" posts in this forum.

Re: How to Bridge ESP's

PostPosted: Wed Oct 28, 2015 7:49 am
by trendchaster
Hello Ashutosh choudhary ,
Me too working on same concept to connect 3 - 4 devices for communication.But i cant find any suitable way for programming.Can you provide me the sample code or guide me to program for this devices.

Re: How to Bridge ESP's

PostPosted: Wed Oct 28, 2015 5:26 pm
by Me-no-dev
So you basically want is ESP=A to be ale to talk to ESP-C correct? That means that you have to act a router and the ESP can not do that thing. You ca proxy stuff from A to C through B though, if you set particular ports for that. Then wha A want to say something to C it will call B to relay the message to A
That is since as far as I remember UDB broadcasts do not go through the AP network, else at the starting point you can send a broadcast that every listener but not target can relay to is AP clients