Receive Buffer Clear TimeOut
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Receive Buffer Clear TimeOut
Postby Jan Kijonka » Fri Jul 07, 2017 9:16 pm
Hi,
I commonly read a presumed response of an AT command (e.g. "AT+CIPMUX=1\r\nOK\r\n"). In some cases, there stay some old characters in the receive buffe, so I read e.g. "ERROR\r\nAT+CIPMUX=1\r\nOK\r\n"). Is it possible to flush the receive buffer before the next AT command send ? When I wait for a while (e.g 2 seconds), the recive buffer is then empty. What is the TimeOut of the receive buffer auto flush ? Is this time guaranted and same at all cases ?
Thank you,
Jan
I commonly read a presumed response of an AT command (e.g. "AT+CIPMUX=1\r\nOK\r\n"). In some cases, there stay some old characters in the receive buffe, so I read e.g. "ERROR\r\nAT+CIPMUX=1\r\nOK\r\n"). Is it possible to flush the receive buffer before the next AT command send ? When I wait for a while (e.g 2 seconds), the recive buffer is then empty. What is the TimeOut of the receive buffer auto flush ? Is this time guaranted and same at all cases ?
Thank you,
Jan
Re: Receive Buffer Clear TimeOut
Postby pratik » Mon Jul 24, 2017 6:30 pm
You should not be getting this delayed data.
Are you using hardware flow control? Is that causing data to stay in buffer accidentally, maybe?
Are you using hardware flow control? Is that causing data to stay in buffer accidentally, maybe?
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Re: Receive Buffer Clear TimeOut
Postby Jan Kijonka » Thu Jul 27, 2017 9:14 pm
Hello,
I dont use hardware flow control. I saw connections only with Tx Rx. Do you have some recommended hardware design manual for better communication between MCU and ESP12-E module?
I dont use hardware flow control. I saw connections only with Tx Rx. Do you have some recommended hardware design manual for better communication between MCU and ESP12-E module?
Re: Receive Buffer Clear TimeOut
Postby pratik » Tue Aug 08, 2017 3:45 pm
The ESP-12 will manage all data in internal queues, so you cannot really overwhelm the UART unless you are REALLY forcing data on it.
Are you using the latest SDK?
Are you using the latest SDK?
Who is online
Users browsing this forum: No registered users and 160 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.