Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?

YimingLi

Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?

Postby YimingLi » Mon Apr 10, 2017 7:59 pm

Hi Espressif,

Can you please share a little more detailed description about those errors such as ESPCONN_IF and ESPCONN_ARG?

The SDK document explain them too rough and simple, just saying hardware error or parameter error. Actually with the print debug, these two errors are often or occasionally, but not always, encountered. However, we don't know what hardware error, what invalid paramters, and it seems that not related to invalid paramters sometimes. Not like a memory error, and cause is same to it's name.

Can you please give a little more details or guide about these errors, since these error are returned from your SDK libs? So we could process then in a more correct way other than just avoid them or repeate.

Thanks in advance.

Yiming

pratik

Re: Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?

Postby pratik » Tue Apr 11, 2017 1:02 pm

Hi Yiming,

You can find all the error codes, along with complete source code in Lwip template project (in examples directory) of any SDK. The espconn interface to the lwip library is available openly as C source code and you may trace your issues down from there. You can compile the lwip library from there as well.
The SDK manual does not specify anything because the error codes are actually lwip codes and you need to look up the code. There are hundreds of codes and it is not convenient to document them all as many are rarely encountered.

Who is online

Users browsing this forum: No registered users and 60 guests