[Qt-interest] enter key event to serial communication
Thiago Macieira
thiago at kde.org
Mon Feb 22 12:13:51 CET 2010
Em Segunda-feira 22 Fevereiro 2010, às 10:37:59, Yuvraj escreveu:
> >>>> QString crlf;
> >>>>
> >>>> crlf = 0x0d; // enter key value
> >>>> QString data1 = ui->send_text->text().append(crlf);
> >>>> com.writeData(data1.toLatin1(),100);
> >>>> ui->send_text->clear();
> yes, problem with setup only. i solved that issue. but still problem
> with CRLF
What CRLF?
You're sending only CR. The LF is missing in your code.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100222/cd78788c/attachment.bin
More information about the Qt-interest-old
mailing list