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
Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?
Can Espressif give more detailed description about those errors of ESPCONN_IF and ESPCONN_ARG?
Postby YimingLi » Mon Apr 10, 2017 7:59 pm
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.
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
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.