The function returns true if thereadyRead() signal is emitted and there is new data available for reading; otherwise it returns false (if an error occurred or the operation timed out). See alsowaitForBytesWritten(). [virtual protected]qint64QSerialPort::writeData(constchar*data,qint64maxSiz...
QSerialPort provides a set of functions that suspend the calling thread until certain signals are emitted. These functions can be used to implement blocking serial ports: waitForReadyRead() blocks calls until new data is available for reading. ...