Hi,
I am using QextSerialPort.I mean I would like to use it.
I have a "QextSerialPort port" variable.
I sent a message like this:
port->write(message.constData());
But I have problem to get the answer.
I want to get 64 bytes in 200ms.
So I did this:
port->bytesWritten(64);
if (port->waitForBytesWritten(200)){
} else {
}
Of course it didn’t work. ByteWritten is protected. I don’t know how I can use these functions.
Thank you for any kind of help.
David.
Bookmarks