Do you not need to send data to your device to get a response?
Try something like this:
QString cmd
("a command for your device");
deneme->write(cmd.toAscii(), cmd.length());
deneme->waitForReadyRead();
qDebug() << "Bytes availible:" << deneme->bytesAvailible() << "data:" << deneme->readAll();
QString cmd("a command for your device");
deneme->write(cmd.toAscii(), cmd.length());
deneme->waitForReadyRead();
qDebug() << "Bytes availible:" << deneme->bytesAvailible() << "data:" << deneme->readAll();
To copy to clipboard, switch view to plain text mode
Bookmarks