uart_read_bytes() concurrent behavior
Posted: Sun Sep 08, 2019 10:53 pm
Does uart_read_bytes() yield so other tasks can run before the timeout? If not, what is the best strategy to prevent starvation?
My goal is to read GPS data as soon as available (as done here: https://github.com/nkolban/esp32-snippe ... main/gps.c) without blocking other tasks.
My goal is to read GPS data as soon as available (as done here: https://github.com/nkolban/esp32-snippe ... main/gps.c) without blocking other tasks.