cnunes wrote:I apologize if the question is too silly.
Don't worry, this is the "** Newbie Corner **" where there are no silly questions.
You have to do everything yourself in code: connect, disconnect and re-connect when a connection is dropped.
https://github.com/esp8266/Arduino/issues/2735
Problem manually handling WiFi reconnect
I'm trying to handle WiFi auto/reconnects in WIFI-STA mode but having troubles.
Setting WiFi.setAutoConnect ( true ) to auto connect on power up works just fine.
Setting WiFi.setAutoReconnect ( false ) on the other hand have issues. ...
(Thanks rudy, I'll keep that in mind, next time I'm having connect/reconnect issues)