HW flow-control on serial ports?

Hi,

is RTS/CTS flow control supported at all for serial ports
in RTP? I ported some working serial code from Linux but
CRTSCTS is not defined in <termios.h>. Any ideas?


Mats

Yes it’s supported. The flags are listed as IHFLOW and OHFLOW in the control
modes section to be used with tcsetattr()/tcgetattr() (see docs). You may also
want to check out tcflow() as that’s what’s used to “un-stick” a port that’s
currently flow-controlled.

-Warren


“Mats Byggmastar” <mats.byggmastar@multi.NOJUNK.fi> wrote in message
news:92ctcj$42g$1@inn.qnx.com
|
| Hi,
|
| is RTS/CTS flow control supported at all for serial ports
| in RTP? I ported some working serial code from Linux but
| CRTSCTS is not defined in <termios.h>. Any ideas?
|
|
| Mats
|
|
|
|

Yes it’s supported. The flags are listed as IHFLOW and OHFLOW in the
control
modes section to be used with tcsetattr()/tcgetattr() (see docs). You may
also
want to check out tcflow() as that’s what’s used to “un-stick” a port
that’s
currently flow-controlled.

-Warren

Thanks!


Mats