Switch between softAP and client mode?
Posted: Sat Jul 30, 2016 3:08 pm
Is it possible in the arduino code support to software switch the ESP8266 between softAP server and wifi client?
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
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