Unsolved Show outgoing serial ports only
-
Hello,
Is it possible to get only the outgoing com ports?I found how to get all available com ports
Is it possible to filter results to get only outgoing com port? Thanks
-
@wbadry
Not that I know, but.... There is no parameter toQSerialPortInfo::availablePorts()
for port direction type. On aQSerialPort
there is https://doc.qt.io/qt-5/qserialport.html#Direction-enum, but I only see that being used for reading/writing the baud rate on a port.... ? -
In the RS232/422/485 world there is no such thing. the physical layer expects bidirectional IO and unidirectional is a specialization that is at the discretion of a higher level in the stack and is thus undefined as far as the COM port itself is concerned.