uart_set_sw_flow_ctrl() function
Set software flow control.
Arguments
uart_num
UART port number, the max port number is (UART_NUM_MAX -1)
rx_thresh_xon
low water mark
rx_thresh_xoff
high water mark
Return value
- ESP_OK Success - ESP_FAIL Parameter error