Skip to content

ESPhttpUpdate.update not work with ethernet #4914

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

Closed
namhtpyn opened this issue Jul 10, 2018 · 2 comments
Closed

ESPhttpUpdate.update not work with ethernet #4914

namhtpyn opened this issue Jul 10, 2018 · 2 comments

Comments

@namhtpyn
Copy link

Hi,
I use wemos d1 mini with ethernet module w5100. When using wifi, I can update firmware using ESPhttpUpdate.update just fine. However when switching to ethernet, the function ESPhttpUpdate.update just didn't work.

@devyte
Copy link
Collaborator

devyte commented Jul 11, 2018

@namhtpyn The issue template has been completely ignored. Please open a new issue and fill out the required info.
Closing.

@devyte devyte closed this as completed Jul 11, 2018
@devyte
Copy link
Collaborator

devyte commented Jul 11, 2018

BTW, the reason that it doesn't work is that the W5100 implementation is standalone, and not integrated into lwip, so the ethernet sockets are not compatible with the WiFi sockets. This is the same in Arduino.
Having said that, there is a prototype that integrates W5500 support into lwip, so that should work with other socket libs like the ESPhhtpUpdater. Whether it works with W5100 is unknown, but theoretically it should. I can provide further details in the new correctly opened issue.

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