eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.36k stars 613 forks source link

mraa_uart_set_flowcontrol(): rogue XOFF byte #1094

Open ric96 opened 1 year ago

ric96 commented 1 year ago

HI, I am trying to setup uart on a DragonBoard410c, and I've set flow-control to off. but as soon as I call mraa_uart_set_flowcontrol() it sends a XOFF byte on the tx line.

unsigned int ctsrts = 0, xonxoff = 0;
status = mraa_uart_set_flowcontrol(uart, xonxoff, ctsrts);
    if (status != MRAA_SUCCESS) {
        goto err_exit;
    }