hyperion.ng/libsrc/leddevice
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
..
dev_hid fix: small collection of bugfixed debugger hints and warnings (#801) 2020-05-25 21:51:11 +02:00
dev_net Nanoleaf Feature Request #827 2020-06-12 11:16:39 +02:00
dev_other fix: small collection of bugfixed debugger hints and warnings (#801) 2020-05-25 21:51:11 +02:00
dev_rpi_pwm Fix #676 (#679) LedDevice Open() did not initialised the device correctly. 2020-02-14 21:58:10 +01:00
dev_serial fix: Windows serialport detection (fix #836) (#837) 2020-06-28 22:45:43 +02:00
dev_spi Fix LedDeviceLpd8806 2020-06-11 23:10:22 +02:00
dev_tinker Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
schemas Nanoleaf Feature Request #827 2020-06-12 11:16:39 +02:00
CMakeLists.txt add Hue EntertainmentAPI + Forwarder & other Fixes (#592) 2020-05-22 19:40:50 +02:00
LedDevice.cpp add Hue EntertainmentAPI + Forwarder & other Fixes (#592) 2020-05-22 19:40:50 +02:00
LedDeviceFactory.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceSchemas.qrc Change Aurora device support to cover additional Nanoleaf devices 2019-04-08 23:22:33 +02:00
LedDeviceTemplate.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceTemplate.h Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00
LedDeviceWrapper.cpp Disentangle LedDevice/LinearColorSmoothing, Bug Fixes & Test support (#654) 2020-02-10 15:21:58 +01:00