Skip to content

Error response codes #13

@BlueAndi

Description

@BlueAndi

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions