When sending 2 Bytes (a QByteArray) through a QTcpSocket, using the methods write(QByteArray) and readAll.
In the write side, the debugger shows the values:
In the read side, the debugger shows the same values, as expected.
But When the same Bytes are sent through the QSerialPort, using the methods write(QByteArray) and readAll, a difference is noted.
In the write side, the debugger shows the values as above.
And in the read side, it shows:
Why? How to convert from to ?
Thanks for the attention
Bookmarks