-
Notifications
You must be signed in to change notification settings - Fork 7.6k
2.0.0-rc2 - Serial.setRxBufferSize() is missing #5580
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
@szerwi buffer size can be set using begin(...) Function. It is one of the parameters. It has not been included because UART is now implemented using IDF. There is no IDF API to change RX internal buffer size. One work around is to end() it and then begin(...) It using a new RX buffer size in the begin parameters. |
@SuGlider how can I set it in the |
@szerwi, @atanisoft parameter exposed in PR #5583 void begin(unsigned long baud, uint32_t config=SERIAL_8N1, int8_t rxPin=-1, int8_t txPin=-1, bool invert=false, unsigned long timeout_ms = 20000UL, uint8_t rxfifo_full_thrhd = 112, |
HardwareSerial::setRxBufferSize(size_t newSize) has been added and commited. |
Hardware:
Board: ESP32 Dev Module
Core Installation version: 2.0.0-rc2
IDE name: Arduino IDE
Flash Frequency: 40Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10
Description:
Serial.setRxBufferSize()
function is missing in HardwareSerial library in 2.0.0-rc2.The text was updated successfully, but these errors were encountered: