QextSerialPort and bytesWritten(qint64) signal
How can I detect, is all data sended?
signal bytesWritten(qint64) not emit after data writing complete.
If my memory serves me, the bytesWritten() is not implemented in QextSerialPort.
Try another library:
Get the source code here:
But bear in mind that bytesWritten () returns only the number of bytes that were sent to the port driver. ie not the fact that they are actually sent to the Tx line.
Which verison of QextSerialPort are you using now? note that bytesWritten(qint64) only works in EventDriven mode.
These is a related issue: http://code.google.com/p/qextserialport/issues/detail?id=103 but I am not sure whether it is valid or not.
Thanks for answers.
to 1+1=2: Yes i forgot turn EventDriven mode.
to kuzulis: Thanks for link. I think in future i`ll use this one.