-->
Page 1 of 2

ESP8266 connecting to other router

PostPosted: Fri Mar 25, 2016 12:10 pm
by shery
assume there are two WiFi router..on the same network.. I've connected ESP8266 connected to 1st router after i moved the chip to other room and it come under the range of 2nd router.. so thus the esp8266 does automatically connect it self or i have to re-configure again manually..??
plz help me..

Re: ESP8266 connecting to other router

PostPosted: Wed Apr 27, 2016 9:33 am
by Dang Kieu
Hello, in my opinion we can put the code to check connection status into the loop function instead of setup. Because, after a circle of code life, it will check status and again and then choose the router which it can connect in case of losing connecting with current wifi. Sorry, because it's only my opinion. I don't have two routers so I can't carry on the experiment :D I hope my idea can help you otherwise we can discuss deeper about ESP8266 because I have some problems as well ^^

Re: ESP8266 connecting to other router

PostPosted: Thu Apr 28, 2016 9:49 am
by eduperez
As a general rule, your ESP should check the wifi connection periodically, and reconnect if needed.

Re: ESP8266 connecting to other router

PostPosted: Thu Apr 28, 2016 11:18 pm
by Dang Kieu
eduperez wrote:As a general rule, your ESP should check the wifi connection periodically, and reconnect if needed.

I don't think so, because he actually wants to change to another access point automatically but the same.