Re: How to re-connect Wifi with a non-blocking fashion ?
Posted: Mon Oct 23, 2017 1:01 am
philbowles wrote:The process that begins the reconnection lies deep within the ESP core code. Try this: remove the WiFi,begin and any reference to WL_CONNECETED from your code and relaod. It will still connect to your WiFi....
Ok, if it is the price for having such a feature of the event handler, we can live with that. I just wanted to have control over the other wifi settings ( dns , gateway ) during reconnection, but perhaps it will be assumed the value originally set at Setup(), anyway I'll make some experiments.
Thank you.