Hi,
Yes my dataAvailable is:
Qt Code:
void PacketDriver::dataAvailable() { if (mSerialPort.isReadable()) readChar(mSerialPort.readAll()); } void PacketDriver::error() { qDebug()<<err; mSerialPort.clearError(); }To copy to clipboard, switch view to plain text mode
but I use readAll at end of open, because there is no signal. After I open the port and there are incoming data I have to read something with readAll.
I started this with QExtSerial, which can read after open, but it cannot send signals. QtSerial cannot read after open and cannot send signal
The hardware continuously send 80 bytes of frames at every 5 ms. Cutecom and gtkterm can read it.
Bookmarks