QSerialPort and non-canonical mode on Linux
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?
kuzulis Qt Champions 2020 last edited by
You can use QSerialPort::handle() and do what you want.
Btw: QSerialPort always opens in RAW mode by default.
bq. Btw: QSerialPort always opens in RAW mode by default.
I have found it (((. Thank you kuzulis for your reply.