[Qt-interest] enter key event to serial communication
Yuvraj
yuvraj.ragupathi at indieontech.com
Mon Feb 22 07:39:22 CET 2010
Bradley T. Hughes wrote:
> On 02/19/2010 02:56 PM, Yuvraj wrote:
>> Hi all
>>
>> How do i send a enter key event to serial communication devices?
>
> No offense, I don't see how this relates to Qt? Perhaps your question
> is best asked somewhere else (like a forum/mailing-list/news-group
> that specializes in serial communications?)
>
No, my problem is sending enter key value( QT related). when i am
pressing the push-button i am doing below mentioned task..
QString crlf;
crlf = 0x0d; // enter key value
QString data1 = ui->send_text->text().append(crlf);
com.writeData(data1.toLatin1(),100);
ui->send_text->clear();
but in receiver side it is waiting for enter key value ,once it get
enter key value , Then only it will do something
Please help me
Thanks
Yuvraj
More information about the Qt-interest-old
mailing list