Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lan8720 #39

Closed
workpage2 opened this issue Oct 16, 2020 · 2 comments
Closed

lan8720 #39

workpage2 opened this issue Oct 16, 2020 · 2 comments

Comments

@workpage2
Copy link

I tested your library and it works fine with wifi. But doesn't work with lan8720 (ethernet).
Lan8720 uses wifi.h too and I don't understand why it doesn't work.

bool updatedNeeded = esp32FOTA.execHTTPcheck();

return 0

@workpage2
Copy link
Author

I found what the problem is. In the library, you use:

if ((WiFi.status() == WL_CONNECTED))

You can't do that. Because only wifi will work.

@IoTThinks
Copy link
Contributor

Nice discovery.
May be need to put in more code if using LAN.

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

No branches or pull requests

2 participants