My esp-8266 is running in softap + station mode. I am trying sleep mode for soft AP and disconnect all the stations/clients connected to this AP.
1. Which sleep (modem sleep/light sleep/deep sleep) should be effective in my case. (as doc is not clear about this). I tried modem sleep but that doesn't seems to work with softAP mode.
2. what is the difference between "WiFi.disconnect()" and "WiFi.mode(WIFI_OFF)". Are these two work the same way and switch off the Wifi.
thanks,
Rupak