Shery Posted March 28, 2016 Share Posted March 28, 2016 Does anyone know what code to use to to make the ESP reconnect to a WiFi network if the router restarts? Link to comment Share on other sites More sharing options...
fiveworlds Posted March 28, 2016 Share Posted March 28, 2016 (edited) Would you not use a timer?? Say every 10 seconds if you aren't connected to the router then connect to the router. Such a program is known as a daemon. Edited March 28, 2016 by fiveworlds Link to comment Share on other sites More sharing options...
Shery Posted March 28, 2016 Author Share Posted March 28, 2016 well i'm not familiar with the coding of ESP-8266 so there for unable to create any code of it.. Link to comment Share on other sites More sharing options...
fiveworlds Posted March 28, 2016 Share Posted March 28, 2016 (edited) I'm sure the documentation is on google https://m.reddit.com/r/esp8266/comments/3rnytf/esp8266_arduino_reconnect_on_wifi_loss/ The manufacturer also has documentation on their site http://espressif.com/en/products/hardware/esp8266ex/resources Edited March 28, 2016 by fiveworlds Link to comment Share on other sites More sharing options...
Shery Posted March 28, 2016 Author Share Posted March 28, 2016 thnx for that.. the code in http://espressif.com/en/products/hardware/esp8266ex/resources i have to place them in Arduino Addon or any other environment..?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now