Using an ESP8266: I have a simple timer to check that a WiFi connection is still in place (every 5 seconds). To test this (after being successfully connected and with a valid IP address) I turned off the hotspot which was being used as the router, but WiFi.IsConnected still kept returning True in the 5 second checking sub. However I noticed that now WiFi.LocalIP returned "(IP unset)". So I can use the latter as an extra check and force a WiFi Disconnect in that case but I'm curious about why WiFi.IsConnected still returns True even though clearly there can be no connection with the hotspot turned off. Anyone seen this behaviour before or have an idea as to why?