I'm using your source code with some modification for my specific application, I whould like to switch OFF wifi some time to save power, but I don't see where the first connexion is done in code, I'm using only HTTPD server
I only this code in user_init()
#if HTTPD_SERVER
/*Initialize DNS server for captive portal*/
captdnsInit();
/*Initialize espfs containing static webpages*/
espFsInit((void*)(webpages_espfs_start));
/*Initialize webserver*/
httpdInit(builtInUrls, 80);
#endif
I fact I understand why I don't found where the connexion was not fount in my code : the module was in autoconnect then the connexion is done by the espressif lib by reading internal configuration.
Good evening,
I'm using your source code with some modification for my specific application, I whould like to switch OFF wifi some time to save power, but I don't see where the first connexion is done in code, I'm using only HTTPD server
I only this code in user_init()
Could you please help me?
Thanks
THierry,