Currently in the middle of investigating a long standing issue that others have found:
Once a WiFi connection is lost, it can only be re-instigated by a reset.
This is bad.
I note that this issue was seemingly solved here: [SOLVED] WiFi Reconnection Issue - Is there a solution?) based on @rickkas7 WiFi State Machine technique.
So, why has it not remained solved for me?
THEORY is that it has something to do with the SPI interface. Am now using the SDFAT 0.7 library, but before was not… More to follow on this as I progress
In the mean time, to assist with the investigation, can anyone respond to what causes the following [hal] and [hal.wlan] traces?
====== ETH cable pulled ============== 0000379927 [hal.wlan] TRACE: connect cancel 0000379928 [hal] TRACE: 20015b1c socket list: 0 active sockets closed 0000379928 [hal] TRACE: 20015b24 socket list: 0 active sockets closed 0000390242 [app] WARN: WiFi.ready()=0 WiFi.localIP()=0