Multi serial port application
Unsolved
General and Desktop
-
@veera said in multi serial port application:
ubuntu 16.04 LTS ,i opened serial port now if i choose the run in terminal its opening please help how to set sudo password in qt instead of choosing run in terminal directly need to open
If you need the sudo password than setting yourself into dialout group did not work!
Have your rebooted your PC after you put yourself into dialout?
Hint: call
error()
when opening the serial port fails to get more information about the error. -
@veera
Hi
Hex is a notation and not a format.
The bytes are still just bytes.
QByteArray has
QByteArray::fromHex
http://doc.qt.io/qt-5/qbytearray.html#fromHex
and
http://doc.qt.io/qt-5/qbytearray.html#toHex