mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
d13e87b5b5497c98060ab9c336346b8282ac0548
The rx_full_threshold is only meaningful for ESP32 native UARTs where it controls the hardware FIFO interrupt threshold. On other platforms (USB UART, Arduino, etc.) it was left at the default of 1, causing the long_rx_buffer_delay_ms calculation to produce a tiny value (~1-2ms). This caused false timeouts on partial responses when data arrives in USB packets with inherent USB-level latency, leading to cascading CRC failures as the remaining bytes were parsed as garbage. Change the default rx_full_threshold to 0 (unset sentinel) and use 50ms when unset, matching the previous hardcoded timeout behavior.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
596 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
