- Wed Feb 12, 2020 6:14 am
I am working on an Arduino project and adding WiFi to it by means of an ESP8266 module. I can switch seamlessly between AP mode and Station mode and use either DHCP or static addresses with the latter, but am having problems changing the IP address of the softAP. When I do that, the connection is dropped on the client as expected, but the ESP module does not come back up as expected with the new IP address. I figured that maybe the softAP stack needs to be restarted but there seems to be no method for this?
My question then, is whether after changing its configuration, is there a way of re-starting the softAP stack without resorting to ESP.reset() which power cycles the module?