I have a couple of things on a single program that could use this type of functionality. First, I would like to be able to connect to the ESP8266 to configure my home SSID (or change it as needed if I'm not near my home wifi)
Once the SSID is set, I want to then switch out of access point mode and connect to the 'known' network if possible. (if not, switch back to AP mode and wait for another connection)
I have another need that would require a similar ability to turn 'off' the softAP and connect to an existing wifi then switch back again.
Is this possible within the arduino ESP code?
SW