-
Notifications
You must be signed in to change notification settings - Fork 13.3k
UART RX BUFFER SIZE #1683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Software managed UART buffer has been removed in favor of hardware RX buffer, which is 128 characters long. |
So there is no chance to receive more than 128 chars by Hardware Serial? |
You I'll have to grab the characters more often and maintain your own bigger software buffer. The main purpose of the uart buffer is to catch characters while your software is busy doing other things. |
It is working this way, but in my opinion - having a possibilty to change a buffer size will be a nice feature :) |
You only need is to listen hw buffer overrun interrupt . |
In connection with: esp8266#2237 esp8266#2037 esp8266#1683
Hi,
In 2.0.0 version there were two definitions of UART's buffer size in HardwareSerial.h file:
define SERIAL_TX_BUFFER_SIZE 256
define SERIAL_RX_BUFFER_SIZE 256
After 2.1.0 it is gone and buffer size can't be changed.
I can't receive more than 128 chars which is default value.
I found also in uart.h file:
define UART_TX_FIFO_SIZE 0x80
But it is only for TX and I am not sure is this works.
Cheers.
The text was updated successfully, but these errors were encountered: