Flow control support is broken
Even though the flags to enable flow control (IXON | IXOFF
) are set here, there's no actual support for it, since the XON and XOFF characters themselves are not defined in the termios.c_cc
array (here you can find more details about it).
A way to fix the problem is to copy their values from oldPortSettings
.