Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* use QSerialPortInfo do detect presence of a serial port (fix #836) * checking for existence of device file does not work on windows * instead: construct QSerialPortInfo from device name and check, if it is not null When constructing QSerialPortInfo from device name, this constructor finds the relevant serial port among the available ones according to the port name name, and constructs the serial port info instance for that port. (https://doc.qt.io/qt-5/qserialportinfo.html#QSerialPortInfo-2) * serial port: set device in error with a failure text, if device name is invalid Co-authored-by: heiko <heiko@bihr.internal>
- Loading branch information