Search found 1 match
- Thu Sep 05, 2024 10:05 am
- Forum: General Discussion
- Topic: How to have something similar to "uart_write_bytes" but with timeout?
- Replies: 1
- Views: 737
How to have something similar to "uart_write_bytes" but with timeout?
Hi, I'm trying to send some data using UART with the following config const uart_config_t uart_config = { .baud_rate = BMS_BAUD_RATE, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .stop_bits = UART_STOP_BITS_1, .flow_ctrl = UART_HW_FLOWCTRL_CTS_RTS, .rx_flow_ctrl_thresh = 122, .sourc...