QSerialPort and non-canonical mode on Linux
-
Hello.
I need to set my QSerialPort in non-canonical (raw) mode. When I work with native API I use open() function, and struct termios with cfmakeraw() for changing mode. How can I do it for QSerialPort. Maybe I have to get file descriptor (like open() result)? Or is there another way?
-
You can use QSerialPort::handle() and do what you want.
Btw: QSerialPort always opens in RAW mode by default.