From 2d15697de46cb87fd7ec0107b80414872eb42c87 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 9 Oct 2022 17:59:27 +0200 Subject: [PATCH] Increase serial console fixed input buffer size from 520 to 800 --- CHANGELOG.md | 1 + tasmota/include/tasmota.h | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bf0a61f3..da4e5c951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. ### Changed - ESP32 LVGL library from v8.3.0 to v8.3.2 +- Increase serial console fixed input buffer size from 520 to 800 ### Fixed diff --git a/tasmota/include/tasmota.h b/tasmota/include/tasmota.h index 02949ce9e..1271c64a3 100644 --- a/tasmota/include/tasmota.h +++ b/tasmota/include/tasmota.h @@ -196,8 +196,9 @@ const uint8_t OTA_ATTEMPTS = 10; // Number of times to try fetching t const uint8_t OTA_ATTEMPTS = 5; // Number of times to try fetching the new firmware #endif // ESP8266 -const uint16_t INPUT_BUFFER_SIZE = 520; // Max number of characters in Tasmota serial command buffer -const uint16_t MIN_INPUT_BUFFER_SIZE = 256; // Max number of characters in Tasmota serial command buffer +//const uint16_t INPUT_BUFFER_SIZE = 520; // Max number of characters in Tasmota serial command buffer +const uint16_t INPUT_BUFFER_SIZE = 800; // Max number of characters in Tasmota serial command buffer +const uint16_t MIN_INPUT_BUFFER_SIZE = 256; // Max number of characters in Tasmota serial command buffer const uint16_t MAX_INPUT_BUFFER_SIZE = 2048; // Max number of characters in Arduino serial command buffer const uint16_t FLOATSZ = 16; // Max number of characters in float result from dtostrfd (max 32) const uint16_t CMDSZ = 24; // Max number of characters in command