Flow control resets Esp8266

gusa
Posts: 1
Joined: Tue Feb 14, 2017 5:36 pm

Flow control resets Esp8266

Postby gusa » Mon Feb 20, 2017 8:53 pm

Hello,
I am using ESP8266EX :

Code: Select all

AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(656edbf)
compile time:Jul 19 2016 18:44:22


I want to use flow control to receive as fast as possible without data loss. I am using CTS pin to stop receiving when the program behind the ESP8266 can´t handle data. On this way when I want more data I enable CTS.

In order to do that I am using next AT commands in the ESP8266:

Code: Select all

AT+CWMODE=1
AT+CWJAP="MYWIFI","PASSWORD"
AT+UART_CUR=115200,8,1,0,2
AT+CIPSTART="TCP","MY_IP",MY_PORT


It is connecting to a NetCat to receive as much data as possible.

Code: Select all

type veryBigFile.txt | nc -l -p MY_PORT


In my program that is connected to the ESP using AT commands and serial port I see data until 25Kb are sent, more or less. After that the ESP-8266 lose the wifi connection. I think the Esp8266 is reset by some issue.

Code: Select all

CLOSED
WIFI DISCONNECT
WIFI CONNECTED
WIFI GOT IP


What am I missing? Is it possible to do in a different way?

Kind regards.

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

Re: Flow control resets Esp8266

Postby ESP_Faye » Fri Mar 24, 2017 9:39 am

Hi,

Sorry that we cannot duplicate your problem, could you provide UART1 log for debugging?

Thanks for your interest in ESP8266!

Who is online

Users browsing this forum: No registered users and 1 guest