Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Where in source code the Wifi is activated #15

Open
ThierryC49 opened this issue Jun 9, 2019 · 1 comment
Open

Where in source code the Wifi is activated #15

ThierryC49 opened this issue Jun 9, 2019 · 1 comment

Comments

@ThierryC49
Copy link

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()

#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

Could you please help me?

Thanks

THierry,

@ThierryC49
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant