1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Extend uart: with rx_buffer_size: (#1006)

* Extend `uart:` with `rx_buffer_size:`

This allows to configure `rx_buffer_size:`
to efficiently receive big payloads over UART

* lint

* remove old default value

* add test

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Kamil Trzciński
2020-06-10 02:22:06 +02:00
committed by GitHub
parent 64bd33a94e
commit cd7af19e7c
6 changed files with 20 additions and 5 deletions

View File

@@ -135,6 +135,7 @@ uart:
parity: NONE
data_bits: 8
stop_bits: 1
rx_buffer_size: 512
ota:
safe_mode: True