[Qt-interest] enter key event to serial communication

Yuvraj yuvraj.ragupathi at indieontech.com
Tue Feb 23 13:25:10 CET 2010


Thiago Macieira wrote:
> 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.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   
Hi All

I am QextSerial Port for my serial communication..

Do they are removing line feed and carriage return before sending data? 
I didn't get those characters on my receiver side

Help me

Thanks

Yuvraj




More information about the Qt-interest-old mailing list