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

Error response codes #13

Open
BlueAndi opened this issue Jun 5, 2022 · 0 comments
Open

Error response codes #13

BlueAndi opened this issue Jun 5, 2022 · 0 comments

Comments

@BlueAndi
Copy link

BlueAndi commented Jun 5, 2022

This is not a bug report, just for information, because it confused me and may help others.

LwIP uses its own errno.h which provides error codes with a different meaning than the one from idf.
This confuses in case you try to analyze the reported errors.

I found this, which confirms it: espressif/esp-idf#8546 (comment)

Example:
If you try to connect to a host, which doesn't exists, the error 113 is reported.
The provided errno.h for Arduino v2.x provides "Software caused connection abort" for 113, which is wrong. It should be "Host is unreachable".

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

1 participant