I have a device connected to my PC with a usb converted serial port (FTDI). I'm using qextserialport and altogether it works great. However, waitForReadyRead() doesn't wait for data to arrive, but returns immidiately with false. I'm using it like this:

Qt Code:
  1. void Serial::checkForData()
  2. {
  3. port = new QextSerialPort("COM3");
  4. port->setBaudRate(BAUD115200);
  5. port->setFlowControl(FLOW_OFF);
  6. port->setParity(PAR_NONE);
  7. port->setDataBits(DATA_8);
  8. port->setStopBits(STOP_1);
  9. port->open(QIODevice::ReadWrite);
  10.  
  11. sendSomething();
  12.  
  13. if (port->waitForReadyRead(1000))
  14. {
  15. // Device replied within 1 second
  16. }
  17. else
  18. {
  19. // Device didn't reply.
  20. }
  21. }
To copy to clipboard, switch view to plain text mode 

The waitForReadyRead call returns immidiately with false, without waiting for 1 second.
Any ideas?