ESP8266 Developer Zone The Official ESP8266 Forum 2021-04-22T19:48:47+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=74872 2021-04-22T19:48:47+08:00 2021-04-22T19:48:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74872&p=99691#p99691 <![CDATA[Re: REUSEPORT FAIL / LINGER FAIL errors, while connecting to tcp server]]> https://github.com/espressif/esp-at/com ... 53488ffb2d .

Statistics: Posted by Her Mary — Thu Apr 22, 2021 7:48 pm


]]>
2021-04-06T17:33:29+08:00 2021-04-06T17:33:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74872&p=99602#p99602 <![CDATA[REUSEPORT FAIL / LINGER FAIL errors, while connecting to tcp server]]> I used ESP8285 in my design. From the datasheet I got that UART pins are GPIO1/3. But i didnt notice that AT-commands pins are GPIO13/15. Actualy there is no word in the datasheet about it. And we've already ordered 200 pcbs, but i pulled GPIO15 hard to the gnd under qfn package 8285.
I recompilled firmware. And as it is said here https://docs.espressif.com/projects/esp-at/en/latest/Compile_and_Develop/How_to_set_AT_port_pin.html I changed UART pins to GPIO3/1. And everything works fine. But when I connect to my Server, ESP throws this errors:

Code:

AT+CIPSTART="TCP","<ip>",23341
REUSEPORT FAIL

LINGER FAIL

CONNECT

OK


But everything works fine! Connecting/disconnecting, sending data..
Does anyone know what the errors are: REUSEPORT FAIL, LINGER FAIL? and why does esp work despite errors?
This is a commercial project, so, although it works, it is scary to send it to release with some errors ..

Start info from chip:

Code:

phy_version: 1163.0, 665d56c, Jun 24 2020, 10:00:08, RTOS new
module_name:WROOM-02

max tx power=78,ret=0

2.0.0

ready


Code:

AT+GMR
AT version:2.2.0.0-dev(875d40c - ESP8266 - Mar 31 2021 03:50:00)
SDK version:v3.4-rc
compile time(4920382):Apr  5 2021 18:02:09
Bin version:2.0.0(WROOM-02)

OK


Also, I downloaded my firmware to module WROOM-02 - the errors are the same and everything works the same.

Statistics: Posted by Alehandro — Tue Apr 06, 2021 5:33 pm


]]>