Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By helpme
#40334 I am using SMING ver2.1

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?