* Kai Seidel ([EMAIL PROTECTED]) [000510 11:11]:
> Hi!
> 
> Can anyone tell me, how to switch the RTS-signal on and off by using the
> tcsetattr() function?

Not at all. 

RTS is not a real output line and randomly programmable, but a
handshake signal; RTS (request to send) is supposed to go inactive as
soon as the machine cannot handle any more data at that point (i. e.
input buffer full). 

You can switch off or on this handshake (aka. 7-wire or hardware
handshake), and IF that is on, and xon/xoff handshake is off, try
tcflow(fd, TCIOFF). See the tcsetattr(3) man page which also has
tcflow() references. No guarantees though, particularly when data is
present, never tried to abuse the serial port for those things.

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to