Bug: WiFiAccessPoint.enable(true) works only in init()
Posted: Wed Feb 03, 2016 2:34 am
I am using SMING ver2.1
To enable Access Point, I have the following code in init();
However, I do not want to do this during initialization stage. I want to do this when the state machine goes into a AP state. When I run the code outside of init(), ESP8266 does not become an AP.
Not sure if it is a SMING bug or just my fault. Did someone else encounter the same problem?
To enable Access Point, I have the following code in init();
Code: Select all
WifiAccessPoint.enable(true);
WifiAccessPoint.config("TestAP", "", AUTH_OPEN);
However, I do not want to do this during initialization stage. I want to do this when the state machine goes into a AP state. When I run the code outside of init(), ESP8266 does not become an AP.
Not sure if it is a SMING bug or just my fault. Did someone else encounter the same problem?