espressif / esp-protocols

Collection of ESP-IDF components related to networking protocols
181 stars 126 forks source link

fix(modem): Fixed UART task to check for buffered data periodically #540

Closed david-cermak closed 5 months ago

david-cermak commented 6 months ago

If we're missing an UART DATA event, or more data than we read are coming from one event, we would never get another event with the buffered data.

Solution

Checking the data periodically (every 100ms) if no event's coming.

Closes

https://github.com/espressif/esp-protocols/issues/536