Ursescu / m365_esp_dashboard

Xiomi M365 BLE dashboard replacement based on esp32
Other
10 stars 1 forks source link

Ignore information sent on UART #4

Open Ursescu opened 5 years ago

Ursescu commented 5 years ago

Right now, using only one UART with diode on TX, the information sent is also received.

Solve only software which can fail, because the sent packet can be corrupted and the length can missmatch.

Solve hardware, use two UART one for TX and one for RX.

Try to disable the buffer when doing TX (clearing the buffer after TX is not fast enough -> it will cause losing valuable data).