<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - display TBuf8 - Comments</title>
 <link>http://www.newlc.com/forum/display-tbuf8</link>
 <description>Comments for &quot;display TBuf8&quot;</description>
 <language>en</language>
<item>
 <title>Re: display TBuf8</title>
 <link>http://www.newlc.com/forum/display-tbuf8#comment-46284</link>
 <description>&lt;p&gt;Thanks for the reply, but still, it is not working. Any more ideas?&lt;/p&gt;</description>
 <pubDate>Fri, 09 May 2008 16:57:12 +0200</pubDate>
 <dc:creator>marshalsh</dc:creator>
 <guid isPermaLink="false">comment 46284 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: display TBuf8</title>
 <link>http://www.newlc.com/forum/display-tbuf8#comment-46264</link>
 <description>&lt;p&gt;Little bit change may solve your problem as&lt;/p&gt;

&lt;p&gt;if (readBuffer[i]==TChar(0x68))&lt;br /&gt;
   {&lt;br /&gt;
   UpdateListBox(_L&quot;get data i want&quot;);&lt;br /&gt;
    } &lt;/p&gt;

&lt;p&gt;i.e. use Hex value in TChar wrapper&lt;/p&gt;</description>
 <pubDate>Fri, 09 May 2008 08:30:03 +0200</pubDate>
 <dc:creator>jupitar</dc:creator>
 <guid isPermaLink="false">comment 46264 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: display TBuf8http://www3.symbian.com/faq.nsf/0/D5889EFF80ED8</title>
 <link>http://www.newlc.com/forum/display-tbuf8#comment-46259</link>
 <description>&lt;p&gt;Marshalsh,&lt;/p&gt;

&lt;p&gt;Have a look at:&lt;br /&gt;
&lt;a href=&quot;http://www3.symbian.com/faq.nsf/0/D5889EFF80ED87B780256C290051923C?OpenDocument&quot;&gt;http://www3.symbian.com/faq.nsf/0/D5889EFF80ED87B780256C290051923C?OpenDocument&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 19:25:00 +0200</pubDate>
 <dc:creator>maxxxpayne</dc:creator>
 <guid isPermaLink="false">comment 46259 at http://www.newlc.com</guid>
</item>
<item>
 <title>display TBuf8</title>
 <link>http://www.newlc.com/forum/display-tbuf8</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Back here with problem again. &lt;/p&gt;

&lt;p&gt;I get some data from the serial port which i sent as 0x68 ( h )&lt;/p&gt;

&lt;p&gt;However, when i read the buffer string that is defined in TBuf8 to compare with 0x68&lt;/p&gt;

&lt;p&gt;Code is follows:&lt;/p&gt;

&lt;p&gt;commPort.Read(readState,KSeconds,readBuffer);&lt;br /&gt;
...&lt;br /&gt;
for(TInt i=0; i&lt;readBuffer.Length( );i++)&lt;br /&gt;
{&lt;br /&gt;
    if (readBuffer[i]==0x68)&lt;br /&gt;
    {UpdateListBox(_L&quot;get data i want&quot;);} &lt;br /&gt;
} &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/display-tbuf8&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/display-tbuf8#comments</comments>
 <category domain="http://www.newlc.com/forums/uiq-phones">UIQ Phones</category>
 <pubDate>Thu, 08 May 2008 12:34:39 +0200</pubDate>
 <dc:creator>marshalsh</dc:creator>
 <guid isPermaLink="false">20897 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
