ESP8266 Developer Zone The Official ESP8266 Forum 2017-04-11T13:02:54+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3790 2017-04-11T13:02:54+08:00 2017-04-11T13:02:54+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3790&p=12190#p12190 <![CDATA[Re: Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?]]>
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.

Statistics: Posted by Guest — Tue Apr 11, 2017 1:02 pm


]]>
2017-04-10T19:59:50+08:00 2017-04-10T19:59:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3790&p=12172#p12172 <![CDATA[Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?]]>
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

Statistics: Posted by Guest — Mon Apr 10, 2017 7:59 pm


]]>