Stuart Hodgkinson
Software Engineer.
>is this, I open the serial port in my application,the appication is using
>flow control as it is set in the termios structure using CRTSCTS. A call to
>stty reports that the flow control is on, stty -a --file=/dev/ttyS0. I have
The answer to this is quite simple as I found out today (I was in need
of RTS/CTS too)
The POSIX termios interphase is not fully implemented!
You do not set anything when you set the CRTSCTS in the termios!!
You can see it if you go through all the termios.h includes in the
various include directories...
In the termios structure the c_cflag is an unsigned short (16bit) and
the CRTSCTS is defined as an 48bit constant, that adds 0 to the 16bit
variable...
Either someone have screwed up, or POSIX hardware flowcontrol is not
implemented in Linux on purpose...
I am right now trying the Solaris 7 Posix implementation on the same
hardware to see if it worsk there... then a solution will be to port
the solaris version...
- Mazzachre