I am using the Non-OS SDK developing ESP8266 modules. I have two features to be implemented:
(1) Anytime, once the ESP8266 as STA connecting to an routers, somework such as a beep would happen at once.
(2) Anytinme, once the ESP8266 as AP conneccted by an STA, somework such as a beep would happen at once.
It is something like an event in OS enviroment, but this is an NON-OS.
Any hints or undocumented APIs from Non-OS SDK would do this?