hyperion.ng/libsrc/leddevice/dev_serial
heikobihr e365a2839d
fix: Windows serialport detection (fix #836) (#837)
* 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>
2020-06-28 22:45:43 +02:00
..
LedDeviceAdalight.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceAdalight.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceAtmo.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceAtmo.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceDMX.cpp Windows compilation support (#738) 2020-05-12 19:51:19 +02:00
LedDeviceDMX.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceKarate.cpp Fix #676 (#679) LedDevice Open() did not initialised the device correctly. 2020-02-14 21:58:10 +01:00
LedDeviceKarate.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceSedu.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceSedu.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceTpm2.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceTpm2.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
ProviderRs232.cpp fix: Windows serialport detection (fix #836) (#837) 2020-06-28 22:45:43 +02:00
ProviderRs232.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00