AT+CIPSEND= ....SEND FAIL

cesar.guevara
Posts: 5
Joined: Sat Jan 23, 2016 4:20 am

AT+CIPSEND= ....SEND FAIL

Postby cesar.guevara » Mon Feb 08, 2016 4:42 am

Hi everyone,

I'm configuring my ESP8266 as a TCP Server, everything works great except when I try to send data to a client.

As a comment I am using as power source an Arduino UNO, but I'm conifguring the module via AT commands through a USB-UART Connected to my computer.

This is the error I got:

1,CONNECT
CIPSEND=1,10
OK
>
Recv 10 bytes
1,CONNECT FAIL
SEND FAIL


I'm using the lastest firmware for 4mb Flash, v1.4, sometimes the module let me send 3 frames, some others no one, I imagine maybe the power source can generate this disconnection,

Could you confirm if this is the reason?

ESP_Faye
Posts: 1549
Joined: Mon Oct 27, 2014 11:08 am

Re: AT+CIPSEND= ....SEND FAIL

Postby ESP_Faye » Tue Mar 01, 2016 10:51 am

Hi,

When ESP8266 runs as TCP server, it will disconnect to the TCP clients who did not communicate with it until time out.

Command "AT+CIPSTO" can set the timeout. You can try to set the timeout to be longer.

Thanks for your interest in ESP8266 !

kurtisulrich
Posts: 2
Joined: Fri Feb 17, 2017 12:18 am

Re: AT+CIPSEND= ....SEND FAIL

Postby kurtisulrich » Fri Feb 17, 2017 12:26 am

i am having the same problem, i have tried every thing.

i have a esp8266-01 with

AT+GMRAT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04

works fine

but i bought another esp8266-01 and updated the firmware to the latest and i get send failed error

i have tried every thing

AT+CIPSTO=0
AT+CIPSTO=10
AT+CIPSTO=7200

NOTHING WORKS
NEED HELP

kurtisulrich
Posts: 2
Joined: Fri Feb 17, 2017 12:18 am

Re: AT+CIPSEND= ....SEND FAIL

Postby kurtisulrich » Fri Feb 17, 2017 12:32 am

0,CONNECT
CIPSEND=0,1400
OK
>
Recv 1400 bytes
0,CONNECT FAIL
SEND FAIL

I have an esp8266-01 that has old firmware on it
AT+GMRAT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
and this works great

i bought another esp8266-01 and updated to the latest firmware and i keep getting this messasge

0,CONNECT
CIPSEND=0,1400
OK
>
Recv 1400 bytes
0,CONNECT FAIL
SEND FAIL

i have tried everything
AT+CIPSTO=0
AT+CIPSTO=10
AT+CIPSTO=7200

nothing works
need help

Who is online

Users browsing this forum: No registered users and 1 guest