<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://blogs.forum.nokia.com/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
 <channel>
  <title>Open Source Bluetooth PAN&#039;s Forum Nokia Blog</title>
  <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog</link>
  <description>A Forum Nokia Blog</description>
  <pubDate>Mon, 23 Nov 2009 21:03:59 +0200</pubDate>
  <generator>http://www.lifetype.net</generator>
  <itunes:author>Forum Nokia</itunes:author>
  <itunes:category text="Technology">
    <itunes:category text="Tech News"/>
  </itunes:category>
  <itunes:image href="http://www.forum.nokia.com/piazza/blogs/imgs/forum_nokia_rss_logo.jpg"/>
    <item>
   <title>Reset S60-3rd emulator defaults</title>
   <description>
    &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;While pushing more and more Internet Access Points on the emulator, the CommDB database appeared to malfunction.&lt;/p&gt;&lt;p&gt;First of all, when deleted temporary IAP, some others have disappeared too.&lt;br /&gt;Next, when creating new entry, those which were gone can suddenly appear.&lt;br /&gt;In conclusion, after system attempts to retrieve connection data, it returns &amp;ldquo;General error -19&amp;rdquo; and &amp;ldquo;General error -20&amp;rdquo;&lt;/p&gt;&lt;p&gt;Undoubtedly the reason was in wrong DB&amp;rsquo;s records manipulation. During debug, some tables could be filled in, while the rest are untouched if the debug is stopped.&lt;/p&gt;&lt;p&gt;While searching for a method to reset the CommDB on emulator I&amp;rsquo;ve looked through an amount of posts and articles: &lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://symbian-freak.com/forum/viewtopic.php?t=6400&amp;amp;start=30&quot;&gt;symbian-freak.com/...&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://newlc.com/topic-7653&quot;&gt;newlc.com/topic-7653&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://developer.sonyericsson.com/thread.jspa?&amp;amp;threadID=2991&amp;amp;start=0&quot;&gt;developer.sonyericsson.com/...&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?t=117443&quot;&gt;discussion.forum.nokia.com/...&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.simplysymbian.com/2007/05/22/how-to-improve-the-nokia-n95-memory-issue/&quot;&gt;simplysymbian.com/...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;One can reset a real phone softly by combination: #*7870#&lt;br /&gt;And hardly (full) by combination: #*7370#&lt;br /&gt;Also one can go to main menu, select settings, general, factory settings.&lt;/p&gt;&lt;p&gt;After all this methods fail to function at win emulator, I was ready (with a heavy heart) to reinstall the SDK.&lt;/p&gt;&lt;p&gt;Mine is S60 3rd FP1 (Symbian 9.2).&lt;/p&gt;&lt;p&gt;But fortunately I&amp;rsquo;ve remembered that I have a backup copy of &amp;ldquo;Epoc32&amp;rdquo; folder stored when migrated from one machine to another. From one of the articles above I&amp;rsquo;ve learned that someone have installed the SDK to a different folder, then replaced old &amp;ldquo;Ecpoc32&amp;rdquo; with the fresh one.&lt;/p&gt;&lt;p&gt;So did I with backup&amp;rsquo;ed one. &lt;/p&gt;&lt;p&gt;With a sinking heart I was waiting while the emulator is starting again. After that I&amp;rsquo;ve unexpectedly found out former &amp;ldquo;cold&amp;rdquo; blue theme.&lt;br /&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_020_i01_themes.gif&quot; border=&quot;0&quot; width=&quot;299&quot; height=&quot;206&quot; /&gt;&lt;br /&gt;That was good. Emulator can start.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;All previously installed apps were not there. But CommDB database works fine now and the whole behavior is quite adequate.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/23/reset-s60-3rd-emulator-defaults</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/23/reset-s60-3rd-emulator-defaults</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/23/reset-s60-3rd-emulator-defaults</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>S60</category>
      
    <category>Testing</category>
         <pubDate>Wed, 23 Jan 2008 10:35:42 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Reset S60-3rd emulator defaults</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Attempt to create a CSY module</title>
   <description>
    &lt;p&gt;So yes.&lt;br /&gt;I&amp;#39;ve stand on the way of creating my own &lt;a href=&quot;http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/testing/2007/12/21/serial-protocol-modules&quot;&gt;CSY&lt;/a&gt; module.&lt;/p&gt;&lt;p&gt;It is some kind of a reckless scheme for me. I have no any assurance it will help me in my researches. Furthermore, the web-search on &amp;quot;create custom CSY module&amp;quot; brings me back to my own blog post about serial protocols. Cool.&lt;br /&gt;I call this adventure as a crazy attempt because it demands to throw together a lot of components without strong hope it will bring to essential result.&lt;/p&gt;&lt;p&gt;But the rays of hope are:&lt;/p&gt;&lt;p&gt;1. When creating new IAP, one of the Data Base fields is: &amp;quot;&lt;em&gt;MODEM_CSY_NAME&lt;/em&gt;&amp;quot;.&lt;br /&gt;Some previous adventurers used it to set as &amp;quot;BTCOMM&amp;quot;. Hmm good.&lt;br /&gt;2. It is possible to create new serial modules. How? The search returns me back to my posts. The discussion boards speak only about connecting to modules.&lt;br /&gt;3. There is a framework on Symbian OS called &amp;quot;&lt;strong&gt;Ecom&lt;/strong&gt;&amp;quot;. Ecom provides interaction between clients and polymorphic DLLs, which CSY modules, at my sight, are.&lt;/p&gt;&lt;p&gt;The Ecom&amp;#39;s (&lt;a href=&quot;http://www.symbian.com/developer/techlib/v9.2docs/doc_source/guide/System-libraries-subsystem-guide/ecom/EcomArchitecture/index.html&quot; target=&quot;_blank&quot; title=&quot;http://www.symbian.com/../v9.2docs/../EcomArch&quot;&gt;symbian.com/../v9.2docs/../EcomArch&lt;/a&gt;) so-called plug-ins are polymorphic DLLs. Those DLLs provide &lt;span style=&quot;color: #99cc00&quot;&gt;&lt;strong&gt;the interface&lt;/strong&gt;&lt;/span&gt;, &lt;span style=&quot;color: #ffcc00&quot;&gt;&lt;span style=&quot;color: #666699&quot;&gt;&lt;strong&gt;the implementation&lt;/strong&gt;&lt;/span&gt; &lt;/span&gt;and&amp;nbsp;&lt;span style=&quot;color: #800000&quot;&gt;&lt;strong&gt;the factory&lt;/strong&gt;&lt;/span&gt; functions (which instantiate concrete classes).&lt;/p&gt;&lt;p&gt;As it is said &lt;a href=&quot;http://www.forum.nokia.com/info/sw.nokia.com/id/c4536832-3dd0-45af-94be-1c4289cc3003/Symbian_OS_Overview_To_Networking_v1_0_en.pdf.html&quot;&gt;here&lt;/a&gt;, Serial protocol modules also have Service providers (interface &lt;span style=&quot;color: #333399&quot;&gt;&lt;strong&gt;implementations&lt;/strong&gt;&lt;/span&gt;), Protocol &lt;span style=&quot;color: #800000&quot;&gt;&lt;strong&gt;Factories&lt;/strong&gt;&lt;/span&gt; (that are called to instantiate serial service provider) as well.&lt;/p&gt;&lt;p&gt;Looks pretty familiar to understand the serial modules are finally polymorphic DLLs too.&lt;/p&gt;&lt;p&gt;Thus let&amp;rsquo;s try to accommodate my own DLL instead of &lt;strong&gt;BTCOMM.CSY&lt;/strong&gt;.&lt;br /&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_019_i01_mydll.gif&quot; border=&quot;0&quot; width=&quot;571&quot; height=&quot;188&quot; /&gt;&lt;/p&gt;&lt;p&gt;By these conditions I&amp;#39;ve imported the Ecom example from SDK to launch and explore.&lt;br /&gt;The example is situated in SDK folder:&lt;br /&gt;&lt;em&gt;/Symbian/9.2/S60_3rd_FP1/Examples/SysLibs/ECom/&lt;/em&gt;&lt;/p&gt;&lt;p&gt;and has 3 sub-folders:&lt;br /&gt;-&amp;raquo;&amp;nbsp;&lt;em&gt;InterfaceClient&lt;/em&gt;&lt;br /&gt;-&amp;raquo;&amp;nbsp;&lt;em&gt;InterfaceDefinition&lt;/em&gt;&lt;br /&gt;-&amp;raquo;&amp;nbsp;&lt;em&gt;InterfaceImplementation&lt;/em&gt;&lt;/p&gt;&lt;p&gt;After unsuccessful build I&amp;rsquo;ve noticed the given project depends on extra sources at the &amp;#39;examples&amp;#39; folder. &lt;br /&gt;It was &amp;#39;&lt;em&gt;CommonFramework&lt;/em&gt;&amp;#39; situated at &lt;em&gt;&amp;#39;/Symbian/9.2/S60_3rd_FP1/Examples/&amp;#39;&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;So I&amp;rsquo;ve copied entire &amp;#39;&lt;em&gt;CommonFramework&lt;/em&gt;&amp;#39; inside &amp;lsquo;&lt;em&gt;Ecom&amp;rsquo;&lt;/em&gt; and modified some paths.&lt;/p&gt;&lt;p&gt;In &lt;u&gt;&amp;#39;/InterfaceClient/InterfaceClient.mmp&amp;#39;&lt;/u&gt; &lt;br /&gt;&lt;em&gt;USERINCLUDE&amp;nbsp;&amp;nbsp; ../..CommonFramework&lt;/em&gt;&lt;br /&gt;to &lt;br /&gt;&lt;em&gt;USERINCLUDE&amp;nbsp;&amp;nbsp; ../CommonFramework&lt;/em&gt;&lt;/p&gt;&lt;p&gt;The familiar change at file: &lt;u&gt;&amp;#39;Ecom/.cdtproject&amp;#39;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;So to be exact with my creepy idea we need:&lt;br /&gt;-&amp;raquo; Create new IAP, &lt;br /&gt;-&amp;raquo; Go to CommDB database and change this IAP record field &amp;#39;MODEM_CSY_NAME&amp;#39; to newly-fledged polymorphic DLL.&lt;br /&gt;-&amp;raquo; See if there is any way DLL can be launched after user picks hackneyed IAP.&lt;br /&gt;-&amp;raquo; Maybe to rename DLL to CSY as well.&lt;br /&gt;-&amp;raquo; Of course, the final goal is that DLL to start working as serial module plug-in.&lt;/p&gt;&lt;p&gt;Besides there is work to divine the appropriate entry point to serial module DLL.&lt;/p&gt;&lt;p&gt;Meanwhile the project was built successfully and I&amp;#39;ve got two DLLs as a result.&lt;br /&gt;The &lt;u&gt;&amp;#39;ExampleResolver.dll&amp;#39;&lt;/u&gt; and the &lt;u&gt;&amp;#39;EComExample.dll&amp;#39;&lt;/u&gt;.&lt;br /&gt;As expected, they are not extension &amp;quot;.csy&amp;quot; provided.&lt;br /&gt;The &lt;em&gt;&amp;#39;ExampleResolver.dll&amp;#39;&lt;/em&gt; is an Interface Definition.&lt;br /&gt;The &lt;em&gt;&amp;#39;EComExample.dll&amp;#39;&lt;/em&gt; is an Interface Implementation.&lt;/p&gt;&lt;p&gt;Putting their names to CommDB records didn&amp;rsquo;t bring any results.&lt;br /&gt;Even giving them &amp;#39;&lt;em&gt;csy&lt;/em&gt;&amp;#39; extension wouldn&amp;#39;t help.&lt;/p&gt;&lt;p&gt;Being on this stage I&amp;#39;m still wondering if anybody knows:&lt;br /&gt;1. How to write a proper CSY module.&lt;br /&gt;2. How to create a Bluetooth Access Point. Which tables and rows of CommDB should be affected for this purpose.&lt;/p&gt;&lt;p&gt;I&amp;#39;ll appreciate any comments on this subjects.&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/10/attempt-to-create-a-csy-module</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/10/attempt-to-create-a-csy-module</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2008/01/10/attempt-to-create-a-csy-module</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>S60</category>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Thu, 10 Jan 2008 14:55:52 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Attempt to create a CSY module</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Serial protocol modules</title>
   <description>
    &lt;p&gt;Continuing the last blog entry I can say it is impossible attach to an existing interface (with help of RConnection) in such a way that I can listen to all passing packets (or rather those sockets that I don&amp;rsquo;t own). &lt;/p&gt;&lt;p&gt;What is keeping me busy is creating Bluetooth&amp;reg; IAP (internet access point) after what I can get all the TCP/IP packets incoming to that IAP. As you read my blog I need this to transfer TCP packets over Bluetooth.&lt;/p&gt;&lt;p&gt;As I try to create BT IAP I mostly face with articles and forums related to distant 6th and 7th versions of Symbian.&lt;br /&gt;Like &lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?t=33667&quot;&gt;this&amp;nbsp;one&lt;/a&gt;.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_018_i01_btcomm.gif&quot; border=&quot;0&quot; alt=&quot;Figure 1 &amp;ndash; list of IAPs.&quot; title=&quot;Figure 1 &amp;ndash; list of IAPs.&quot; width=&quot;240&quot; height=&quot;334&quot; /&gt;&lt;/p&gt;&lt;p&gt;Figure 1 &amp;ndash; list of IAPs.&lt;/p&gt;&lt;p&gt;In &lt;a href=&quot;http://www.forum.nokia.com/info/sw.nokia.com/id/c4536832-3dd0-45af-94be-1c4289cc3003/Symbian_OS_Overview_To_Networking_v1_0_en.pdf.html&quot;&gt;Symbian_OS_Overview_To_Networking&lt;/a&gt;&amp;nbsp;I&amp;rsquo;ve read that on Symbian OS there are &lt;strong&gt;&lt;span style=&quot;color: #666699&quot;&gt;Serial Protocol Modules&lt;/span&gt;&lt;/strong&gt; (CSY) that are used to implement software serial port services. The &lt;span style=&quot;color: #666699&quot;&gt;&lt;strong&gt;Serial Protocol Module API&lt;/strong&gt;&lt;/span&gt; (cs_port.h) allows &lt;strong&gt;developing new CSY modules&lt;/strong&gt;.&lt;br /&gt;Theoretically one can substitute the already existing &lt;em&gt;BTCOMM.CSY&lt;/em&gt; with new module.&lt;/p&gt;&lt;p&gt;So current questions are:&lt;/p&gt;&lt;ol start=&quot;1&quot;&gt;&lt;li&gt;&lt;div&gt;Is it really possible (I didn&amp;rsquo;t find yet) to create new serial protocol modules (CSY). And how-to.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;How to bind new IAP (see figure 1) with a new CSY so one can listen to all it&amp;rsquo;s packets.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;And yes, have a nice Holidays!&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/21/serial-protocol-modules</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/21/serial-protocol-modules</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/21/serial-protocol-modules</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>S60</category>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Fri, 21 Dec 2007 13:57:36 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Serial protocol modules</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Symbian Networking interface</title>
   <description>
    &lt;p&gt;I&amp;#39;ve spent some time to examine the Symbian&amp;#39;s networking architecture.&lt;br /&gt;Since the TCP/IP connection should be established over Bluetooth&amp;reg; the new entry to CommDB database should be entered.&lt;br /&gt;This can be performed by &lt;em&gt;CCommsDatabase&lt;/em&gt; class.&lt;br /&gt;After user selects the PAN record, all TCP traffic should be encapsulated into BNEP packets and transmitted over wireless link.&lt;/p&gt;&lt;p&gt;Inside the application, the &lt;em&gt;IAP&lt;/em&gt; (internet access point) is selected by RConnection class with &lt;em&gt;RConnection::Start()&lt;/em&gt; or &lt;em&gt;RConnection::Attach()&lt;/em&gt; methods.&lt;br /&gt;This methods associate the connection with &lt;strong&gt;underlying interface&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;But no documents can be found about creating those &lt;u&gt;underlying interfaces.&lt;/u&gt;&lt;br /&gt;In my mind that should be something like &lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_017_i01_device.gif&quot; border=&quot;0&quot; width=&quot;94&quot; height=&quot;70&quot; /&gt;&amp;nbsp;device or DLL library.&lt;/p&gt;&lt;p&gt;I asked for help from &lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?p=366874&quot;&gt;expert on FN Discussion Boards&lt;/a&gt;. This method was recently introduced. And now wait with the impatience.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/07/symbian-networking-interface</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/07/symbian-networking-interface</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/12/07/symbian-networking-interface</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Fri, 07 Dec 2007 15:57:38 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Symbian Networking interface</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Accomplish SSL connection from S60v3</title>
   <description>
    &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 9pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;The PAN profile defines how to enable Bluetooth devices to participate in a personal area network.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;One of the roles in PAN profile is a &lt;strong&gt;Network Access Point &lt;/strong&gt;(&lt;strong&gt;NAP&lt;/strong&gt;) that provides an Ethernet bridge to support network services to the PAN user. Read about it here: &lt;/span&gt;&lt;a href=&quot;http://www.bluetooth.com/NR/rdonlyres/279DC460-295E-42ED-8952-61B723620884/9%2084/PAN_SPEC_V10.pdf&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;PAN specification&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;For now I will try to simulate connection to a NAP from my phone. Why simulate? Because to achieve the real connection I need realization of &lt;strong&gt;BNEP&lt;/strong&gt; protocol class which will transmit Ethernet payloads via Bluetooth. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;Since Bluetooth can be eavesdropped in on, we want to use SSL as David said &lt;/span&gt;&lt;a href=&quot;http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/testing/2007/08/23/start-of-development-on-carbide#comments&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;here in comments&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;So the goal for now is to connect to some server using secure internet connection on my phone.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;I chose the &lt;/span&gt;&lt;a href=&quot;https://www.mozilla.org/&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;www.mozilla.org&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt; &lt;span&gt;&amp;nbsp;&lt;/span&gt;SSLv3 site as a server to connect to.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;I found the CSecureSocket example at &lt;/span&gt;&lt;a href=&quot;http://www.symbian.com/developer/techlib/v9.2docs/doc_source/examples/NetworkingEx/SSLExampleCode.guide.html#NetworkingEx%2eSSLExampleCode&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;symbian.com/.../v9.2docs/.../&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt; but not everything went of smoothly rather the connection was not established and system was completed with panics. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;It seems that that example is pretty old even not for 3&lt;sup&gt;rd&lt;/sup&gt; edition. But I can&amp;rsquo;t assert so.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;However I scoped the similar problems and documents over &lt;/span&gt;&lt;a href=&quot;http://kerncomputing.blogspot.com/2006_01_01_archive.html&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt; and &lt;/span&gt;&lt;a href=&quot;http://www.google.com/codesearch?hl=en&amp;amp;q=+CSecureSocket::NewL+show:EdUbb5Jsy2s:JmFNWp2ckDk:gpW0gb_U01s&amp;amp;sa=N&amp;amp;cd=3&amp;amp;ct=rc&amp;amp;cs_p=ftp://tent.xs4all.nl/pys60-1_3_12_src.zip&amp;amp;cs_f=src/ext/socket/e32socketmodule.cpp#first&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;When got tangled I used some parts of S60v3 Chat code example with insecure internet connection.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;The &amp;ldquo;&lt;span style=&quot;color: #666699&quot;&gt;guiSetBluspan&lt;/span&gt;&amp;rdquo; application that was initiated at previous posts looks like this now: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;you need to click &amp;ldquo;&lt;em&gt;Options&lt;/em&gt;&amp;rdquo; menu then pick &amp;ldquo;&lt;em&gt;Connect/Disconnect&lt;/em&gt;&amp;rdquo; item and then pick &amp;ldquo;&lt;em&gt;NAP&lt;/em&gt;&amp;rdquo; item.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_015_i01_connecting.png&quot; border=&quot;0&quot; width=&quot;525&quot; height=&quot;324&quot; align=&quot;middle&quot; /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Diagram 1 &amp;ndash; Connecting from application&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;After some seconds server will send SSL certificate. You need answer &amp;ldquo;&lt;span style=&quot;color: #666699&quot;&gt;Continue&lt;/span&gt;&amp;rdquo;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_015_i02_certificate.png&quot; border=&quot;0&quot; width=&quot;240&quot; height=&quot;323&quot; align=&quot;middle&quot; /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Diagram 2 &amp;ndash; Certificate question&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;After all steps of connection, handshaking, page request, getting server response and closing connection the notification will appear about successful operation.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_015_i03_connection_finished.png&quot; border=&quot;0&quot; width=&quot;242&quot; height=&quot;322&quot; align=&quot;middle&quot; /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Diagram 3 &amp;ndash; Connection finished&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;The objects of these routines were to establish connection to secure HTTPS connection where NAP&amp;rsquo;s authorization page will be. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;At next researches I need to connect to NAP server, provide user&amp;rsquo;s login and password. NAP is connected to Radius server which will verify user existence and will start accounting on him.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;The source codes of application above are provided by this link: &lt;/span&gt;&lt;a href=&quot;http://wiki.forum.nokia.com/images/b/b6/GuiSetBluspan.zip&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span style=&quot;font-size: small&quot;&gt;guiSetBluspan Zip archive &lt;/span&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;v 0.003&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;(Nokia&amp;rsquo;s wiki)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;See &lt;/span&gt;&lt;a href=&quot;http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/general/2007/11/02/get-project-from-cvs-to-carbide-c&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;this posts here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt; to know how to use sources.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;&quot;&gt;The Secure Connection engine in focused in /&lt;em&gt;Core&lt;/em&gt;/ folder and is called from &amp;ldquo;&lt;em&gt;guiSetBluspanSettingItemListView.cpp&amp;rdquo;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/19/accomplish-ssl-connection-from-s60v3</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/19/accomplish-ssl-connection-from-s60v3</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/19/accomplish-ssl-connection-from-s60v3</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>S60</category>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Mon, 19 Nov 2007 09:47:24 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Accomplish SSL connection from S60v3</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Insert Multiselection list into GUI</title>
   <description>
    &lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;One of my favorite classes that Symbian grants to build User Interface is &lt;u&gt;Multiselection List&lt;/u&gt;. I&amp;rsquo;ve learned about it recently. &lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;This is a type of Vertical lists which draws a set of elements each of them can be marked by checkbox.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;At &lt;u&gt;future BluSPAN GUI&lt;/u&gt; there is &amp;ldquo;Chat settings&amp;rdquo; view. User can determine which types of files can be accepted by chat. Example: .bmp, .jpeg, .avi, .mpeg,&lt;span&gt;&amp;nbsp; &lt;/span&gt;wav and so on. See diagram 1.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_014_i01_multiselection_list.jpg&quot; border=&quot;0&quot; width=&quot;550&quot; height=&quot;323&quot; align=&quot;middle&quot; /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt; text-align: center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt; text-align: center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt; text-align: center&quot;&gt;&lt;span&gt;Diagram 1 &amp;ndash; Multiselection list at Chat settings view.&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt; text-align: center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;To build Multiselection List into my application I had to read about a lot of stages how to use it.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;I divided this stages to:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&amp;raquo; Defining Multiselection List in resource (.rss) file&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&amp;raquo; Code implementation in source (.cpp) to Popup it.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&amp;raquo; Get results of user choice.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;span&gt;&lt;strong&gt;1. Defining Multiselection List in .rss file&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;strong&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;I&amp;rsquo;ve read the Resources_Dialogs.pdf at &lt;/span&gt;&lt;a href=&quot;http://www.forum.nokia.com/info/sw.nokia.com/id/0ef53656-8e0d-48f2-8b67-1ebed12d526d/S60_Platform_Avkon_UI_Resources_v1_1_en.zip.html&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;S60_Platform_Avkon_UI_Resources&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt; documentation series. Upon this I&amp;rsquo;ve formed the resource definition as below:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;padding-right: 5.4pt; padding-left: 5.4pt; padding-bottom: 0cm; padding-top: 0cm; background-color: transparent; border: windowtext 1pt solid&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Listing 1&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: #d4d0c8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;// Multiselection list query dialog&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;RESOURCE DIALOG r_accept_type_multiselection_query &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;flags = EGeneralQueryFlags; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;buttons = R_AVKON_SOFTKEYS_OK_CANCEL; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;items = &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DLG_LINE &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;type = EAknCtListQueryControl; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;id = EListQueryControl; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;control = AVKON_LIST_QUERY_CONTROL &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;listtype = EAknCtSingleGraphicPopupMenuListBox; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;listbox = LISTBOX &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;flags = EAknListBoxMultiselectionList; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;height = 3; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;width = 3; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;array_id = r_accept_types_multiselection_query_list_item; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;heading = &amp;quot;Select types:&amp;quot;; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;} &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;RESOURCE ARRAY r_accept_types_multiselection_query_list_item &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;items = &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LBUF { txt = &amp;quot;1t.Bmp&amp;quot;; }, &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LBUF { txt = &amp;quot;1t.Jpg&amp;quot;; }, &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LBUF { txt = &amp;quot;1t.Avi&amp;quot;; }, &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LBUF { txt = &amp;quot;1t.Mp3&amp;quot;; }, &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LBUF { txt = &amp;quot;1t.Wav&amp;quot;; } &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; line-height: 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;I have put this listing&lt;span&gt;&amp;nbsp; &lt;/span&gt;to [project_name].rss&lt;span&gt;&amp;nbsp; &lt;/span&gt;file. After that you can call ExecuteLD() function with Reference to this resource object. This will be shown below.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;2. Popuping list. Code implementation.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;With UI designer help, choose the Event tab for &amp;ldquo;Accept types&amp;rdquo; menu item. Double click on event to generate Handler function.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;In this function we need to create an Instance of &lt;em&gt;&lt;span style=&quot;color: #666699&quot;&gt;CAknListQueryDialog&lt;/span&gt;&lt;/em&gt; class and Execute it. The source code below shows it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;padding-right: 5.4pt; padding-left: 5.4pt; padding-bottom: 0cm; padding-top: 0cm; background-color: transparent; border: windowtext 1pt solid&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;Listing 2&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: #d4d0c8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;// Run a dialog of &amp;ldquo;Acceptance of data types&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;CArrayFixFlat&amp;lt;TInt&amp;gt;* indexArray = new(ELeave)CArrayFixFlat&amp;lt;TInt&amp;gt;(5); &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;CleanupStack::PushL(indexArray); &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;CAknListQueryDialog* dlg = new (ELeave) &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;CAknListQueryDialog(indexArray); &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;if ( dlg-&amp;gt;ExecuteLD(R_ACCEPT_TYPE_MULTISELECTION_QUERY ) ) &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;color: #666699&quot;&gt;&lt;span style=&quot;font-size: small&quot;&gt;Here we will take results of User&amp;rsquo;s choice&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;} &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;CleanupStack::PopAndDestroy();// indexArray&lt;/span&gt;&lt;/em&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;By this code the Multiselection List will Popup and user can mark preferable items.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;3. Geting results of user choice&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;That task was not easy due to Specific Array type of &lt;em&gt;&lt;span style=&quot;color: #666699&quot;&gt;CArrayFixFlat&amp;lt;TInt&amp;gt;&lt;/span&gt;&lt;/em&gt;. I could not retrieve data from it. I found a way with help of the similar &lt;/span&gt;&lt;a href=&quot;http://www.ok371.cn/html/11/0/785/1.htm&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;topic of this forum&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;The source code below should be placed at Listing 2 to the &amp;ldquo;&lt;em&gt;&lt;span style=&quot;color: #666699&quot;&gt;if ( dlg-&amp;gt;ExecuteLD)&lt;/span&gt;&lt;/em&gt;&amp;rdquo; branch. This source code takes result from List and shows indexes of selected items on screen (diagram 2).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;padding-right: 5.4pt; padding-left: 5.4pt; padding-bottom: 0cm; padding-top: 0cm; background-color: transparent; border: windowtext 1pt solid&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;Listing &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: #d4d0c8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent&quot; valign=&quot;top&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;if ( dlg-&amp;gt;ExecuteLD(R_ACCEPT_TYPE_MULTISELECTION_QUERY ) ) &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;{ &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TBufC&amp;lt;136&amp;gt; resultString;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TPtr ptr = resultString.Des();&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;//temporary string to convert from TInt to text&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TBufC&amp;lt;136&amp;gt; temporaryString;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TPtr ptrTemporaryString = temporaryString.Des();&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TInt intValue;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;//How much elements did user select from Multiselection list&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;TInt elementsAmount = indexArray-&amp;gt;Count(); &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;//Retrieve all element that user have picked up&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;for (TInt elementI = 0; elementI &amp;lt; elementsAmount; elementI++) {&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 18pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;intValue = (*indexArray)[elementI];&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 18pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;ptrTemporaryString.Format(_L(&amp;quot;%d &amp;quot;), intValue);&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 18pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;ptr.Append(temporaryString);&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;//Show the elements user have picked up&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;CAknInformationNote* Notelnformation; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Notelnformation = new (ELeave) CAknInformationNote; &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt 9pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;Notelnformation -&amp;gt;ExecuteLD(resultString);&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;} // If &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p align=&quot;center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/107609/post_014_i02_results.jpg&quot; border=&quot;0&quot; width=&quot;243&quot; height=&quot;322&quot; align=&quot;middle&quot; /&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;Diagram 2 &amp;ndash; Results of user&amp;rsquo;s choice. Indexes of selected items&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-indent: 36pt; text-align: center&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: center&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;Download source code here: &lt;/span&gt;&lt;a href=&quot;http://wiki.forum.nokia.com/images/7/71/GuiSetBluspan0002.zip&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span style=&quot;font-size: small&quot;&gt;guiSetBluspan Zip Archive &lt;/span&gt;&lt;span style=&quot;font-size: 10pt&quot;&gt;v 0.002&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 8pt&quot;&gt;(Nokia&amp;rsquo;s wiki)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small&quot;&gt;See &lt;/span&gt;&lt;a href=&quot;http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/general/2007/11/02/get-project-from-cvs-to-carbide-c&quot;&gt;&lt;span style=&quot;font-size: small&quot;&gt;this posts here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt; to know how to use sources.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/06/insert-multiselection-list-into-gui</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/06/insert-multiselection-list-into-gui</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/11/06/insert-multiselection-list-into-gui</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>S60</category>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Tue, 06 Nov 2007 11:09:53 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Insert Multiselection list into GUI</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Port of PAND (BlueZ) system</title>
   <description>
    &lt;div style=&quot;text-indent: 18pt&quot;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To build a system&amp;#39;s skeleton we decided to construct all the &lt;strong&gt;GUIs&lt;/strong&gt; which will be presented at final BluSPAN program. But after 20 days have passed, my Carbide License was expired and I could not use the UI designer. While the license gets outlined (via &lt;a href=&quot;https://pro.forum.nokia.com/&quot;&gt;https://pro.forum.nokia.com/&lt;/a&gt;)&lt;/div&gt;&lt;div&gt;I decided to look at the existing PAN and BNEP sources. The first I found was &amp;ldquo;BlueZ&amp;rdquo; linux bluetooth protocol stack (&lt;a href=&quot;http://www.bluez.org/&quot;&gt;http://www.bluez.org/&lt;/a&gt;).&lt;/div&gt;&lt;div&gt;It is written on C language, so I supposed&amp;nbsp;it will be a good attempt to port it into Carbide C++ as Symbian application.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I&amp;rsquo;ve downloaded two archives.&lt;/div&gt;&lt;div&gt;&amp;ldquo;&lt;em&gt;bluez-libs-3.18.tar.gz&lt;/em&gt;&amp;rdquo;&lt;span&gt;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;ldquo;&lt;/span&gt;&lt;em&gt;bluez-utils-3.18.tar.gz&lt;/em&gt;&amp;rdquo;&lt;/div&gt;&lt;div&gt;at &lt;a href=&quot;http://www.bluez.org/download.html&quot;&gt;http://www.bluez.org/download.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;As Carbide C++ &lt;u&gt;project base&lt;/u&gt; I chose &lt;u&gt;Bluetooth &lt;strong&gt;Chat &lt;/strong&gt;example&lt;/u&gt; that still available with expired license. I took &lt;u&gt;Chat example&lt;/u&gt;, because I thought it has all headers and libraries included to work with BT.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;To do that, I created new directory for future workspace, and copied &amp;ldquo;&lt;em&gt;S60ExChat&lt;/em&gt;&amp;rdquo;&amp;nbsp;folder there.&lt;/div&gt;&lt;div&gt;Then opened Carbide, switched workspace to which I recently made.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Next step was importing example.&lt;/div&gt;&lt;div&gt;Choose &lt;strong&gt;File-&amp;gt;Import-&amp;gt;Symbian OS Bld.inf -&amp;gt; Browse to &amp;ldquo;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;workspaceChatgroupbld.inf&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&amp;rdquo;&lt;/strong&gt;.&lt;/div&gt;&lt;div&gt;So Chat example is imported.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Then I created new files: &lt;em&gt;pand.h, bnep.h, bnep.c .... which are &lt;/em&gt;copy-pasted from BlueZ.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Now there was a time to see how Unix C code would be compatible with Symbian one. Of course, they were not so alike. I started porting, that means to make Unix source code and algorithms functioning. For that time my idea was to achieve just &lt;u&gt;out of error compilation&lt;/u&gt;.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The first problem I saw were type definitions undefined for carbide. So I wrote &amp;ldquo;&lt;em&gt;myPortedTypes.h&lt;/em&gt;&amp;rdquo; header file which typedefs some Bluetooth types known in Symbian. Some types were available from &amp;lt;&lt;em&gt;systypes.h&lt;/em&gt;&amp;gt; library.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I made some type definitions out of &amp;ldquo;&lt;em&gt;myPortedTypes.h&lt;/em&gt;&amp;rdquo; also.&lt;/div&gt;&lt;div&gt;At &lt;em&gt;bnep.c&lt;/em&gt; I defined&lt;/div&gt;&lt;div&gt;&lt;em&gt;#define AF_BLUETOOTH&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;#define PF_BLUETOOTH&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AF_BLUETOOTH&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;#define BTPROTO_BNEP&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;This types were expected at &amp;lt;&lt;em&gt;syssocket.h&lt;/em&gt;&amp;gt; library but were absent there. So I had to determine them.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;At bnep.h I defined&lt;/div&gt;&lt;div&gt;&lt;em&gt;#define ETH_ALEN&lt;span&gt;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;// &lt;/span&gt;&lt;/em&gt;That was expected at &lt;em&gt;&amp;lt;netethernet.h&amp;gt; &lt;/em&gt;lib&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;One more pain was connected with lib &amp;lt;&lt;em&gt;sys/ioctl.h&lt;/em&gt;&amp;gt;.&lt;/div&gt;&lt;div&gt;Carbide has a little different implementation of &amp;lt;&lt;em&gt;sys/ioctl.h&lt;/em&gt;&amp;gt; than BlueZ expected.&lt;/div&gt;&lt;div&gt;&amp;lt;&lt;em&gt;ioctl.h&lt;/em&gt;&amp;gt; has the macroses &lt;em&gt;_IOR&lt;/em&gt; and &lt;em&gt;_IOW&lt;/em&gt; which are used by &lt;em&gt;bnep.h&lt;/em&gt;.&lt;/div&gt;&lt;div&gt;But Carbide&amp;rsquo;s ones have 2 arguments , but BlueZ expects 3 arguments&amp;hellip;&lt;/div&gt;&lt;div&gt;I passed through 3 ways before solve this problem.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt&quot;&gt;&amp;raquo;&lt;/span&gt;The first.&lt;/div&gt;&lt;div&gt;I thought I have to use other source code of &amp;lt;&lt;em&gt;ioctl.h&lt;/em&gt;&amp;gt; (and &amp;lt;&lt;em&gt;ioctl.c&lt;/em&gt;&amp;gt;) library. I&amp;rsquo;ve found some sources in the web, and used them in my project. Everything seems to be ok. But there are 2 disadvantages:&lt;/div&gt;&lt;div&gt;1.&amp;nbsp;The Symbian&amp;rsquo;s one &lt;em&gt;ioctl&lt;/em&gt; should be much more effective, because it&amp;rsquo;s native to their phones.&lt;/div&gt;&lt;div&gt;2.&amp;nbsp;I&amp;rsquo;m not sure that new trouble will not appear because of possible conflicts with hardware.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt&quot;&gt;&amp;raquo;&lt;/span&gt;The Second.&lt;/div&gt;&lt;div&gt;Due to &lt;em&gt;_IOR&lt;/em&gt; is a macros declared with &lt;em&gt;#define&lt;/em&gt; directive, The &lt;em&gt;#undef&lt;/em&gt; directive is applicable to it. &amp;nbsp;In this case I can apply new definition to that macros using other source libraries.&lt;/div&gt;&lt;div&gt;By this manipulations I reached redefinition just of the part of &amp;lt;&lt;em&gt;ioctl.h&lt;/em&gt;&amp;gt; library. So it was more effective way.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt&quot;&gt;&amp;raquo;&lt;/span&gt;The Third.&lt;/div&gt;&lt;div&gt;The third way was to examine, how &lt;em&gt;Bnep.h &lt;/em&gt;uses those macros, and to transform the &lt;em&gt;Bnep.h&lt;/em&gt; code to use 2 arguments instead of 3.&lt;/div&gt;&lt;div&gt;During the code examination, I found out that the &lt;strong&gt;third &lt;/strong&gt;argument&lt;strong&gt; of &lt;/strong&gt;&lt;em&gt;_IOR&lt;/em&gt; macrosis not used. It was just drowned by useless &lt;em&gt;int&lt;/em&gt; type. So the only thing I had to do is to cut every third parameter from &lt;em&gt;_IOR&lt;/em&gt; macros call. This was a best way to leave standard &amp;lt;&lt;em&gt;ioctl.h&lt;/em&gt;&amp;gt; macros definition.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div style=&quot;text-indent: 35.4pt&quot;&gt;The current problems that brake porting are &lt;strong&gt;&lt;em&gt;signal&lt;/em&gt;&lt;/strong&gt; operations.&lt;/div&gt;&lt;div&gt;I created new file &amp;ldquo;&lt;em&gt;mySysSignal.h&lt;/em&gt;&amp;rdquo; which includes &amp;lt;&lt;em&gt;sys/signal.h&lt;/em&gt;&amp;gt; header and determines some definitions from &amp;lt;&lt;em&gt;signal.h&lt;/em&gt;&amp;gt;. Yes, they are different.&lt;/div&gt;&lt;div&gt;Furthermore, &amp;lt;&lt;em&gt;sys/signal.h&lt;/em&gt;&amp;gt; doesn&amp;rsquo;t want to declare &amp;ldquo;&lt;em&gt;sigaction&lt;/em&gt;&amp;rdquo; struct, because &lt;em&gt;_STRICT_ANSI &lt;/em&gt;was defined. So I had to &lt;em&gt;#undef&lt;/em&gt; it and then &lt;em&gt;#define&lt;/em&gt; back.&lt;/div&gt;&lt;div&gt;But I could not find the &lt;em&gt;sigaction() &lt;/em&gt;function implementation at this headers!&lt;/div&gt;&lt;div&gt;I tried to adopt other sources where &lt;em&gt;sigaction()&lt;/em&gt;is implemented, but no result. Those codes want more and more implementations. Does anyone know which &lt;em&gt;sigaction()&lt;/em&gt;implementation would be the best for Symbian? Please, write your comments if you do.&lt;/div&gt;&lt;div&gt;I downloaded some &lt;strong&gt;&lt;em&gt;sigaction&lt;/em&gt;&lt;/strong&gt; sources from:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.google.com/codesearch?hl=ru&amp;amp;q=+sigaction.c+sigvec+show:AgRC3LpYoiU:1H180pELpu8:1yxJZQz8fw8&amp;amp;sa=N&amp;amp;cd=1&amp;amp;ct=rc&amp;amp;cs_p=ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src.tar.gz&amp;amp;cs_f=tetex-src-3.0/libs/ncurses/ncurses/base/sigaction.c#a0&quot;&gt;http://www.google.com/codesearch?hl=ru&amp;amp;q=+sigaction.c+sigvec+show:AgRC3LpYoiU:1H180pELpu8:1yxJZQz8fw8&amp;amp;sa=N&amp;amp;cd=1&amp;amp;ct=rc&amp;amp;cs_p=ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src.tar.gz&amp;amp;cs_f=tetex-src-3.0/libs/ncurses/ncurses/base/sigaction.c#a0&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src.tar.gz/&quot;&gt;ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src.tar.gz/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I started &lt;strong&gt;CVS&lt;/strong&gt; project at Sourceforge.net.&amp;nbsp;You can download my sources and examine them here:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://bluspan.cvs.sourceforge.net/bluspan/pand_port/&quot;&gt;http://bluspan.cvs.sourceforge.net/bluspan/pand_port/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;You can checkout this source codes directly to Carbide C++. To do this look for my post: &lt;/span&gt;&lt;a href=&quot;http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/general/2007/11/02/get-project-from-cvs-to-carbide-c&quot;&gt;&lt;span style=&quot;font-size: small; font-family: Times New Roman&quot;&gt;Get project from CVS to Carbide C++&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small&quot;&gt;&lt;span style=&quot;font-family: Times New Roman&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p&gt;The source files I worked with are:&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;margin: auto auto auto 14.4pt; border-collapse: collapse; border: medium none&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;padding-right: 5.4pt; padding-left: 5.4pt; padding-bottom: 0cm; padding-top: 0cm; background-color: transparent; border: windowtext 1pt solid&quot; valign=&quot;top&quot;&gt;&lt;div&gt;&lt;em&gt;Bluetooth.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Bnep.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Getopt.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Hci_lib.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Hci.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;L2cap.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;myPortedTypes.h&lt;/em&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #d4d0c8; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent&quot; valign=&quot;top&quot;&gt;&lt;div&gt;&lt;em&gt;mySysLog.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;mySysSignal.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;pand.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;poll.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;sigaction.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;sigvec.h&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&amp;nbsp;and their *.cpp implemenation at &amp;quot;src/&amp;quot;.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The written code is pretty chaotic because of &lt;em&gt;Porting&lt;/em&gt; process. So don&amp;rsquo;t be wonder for that : -)&lt;/div&gt;&lt;div&gt;&amp;nbsp;Thanks&lt;/div&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/26/port-of-pand-bluez-system</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/26/port-of-pand-bluez-system</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/26/port-of-pand-bluez-system</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Wed, 26 Sep 2007 12:44:03 +0300</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Port of PAND (BlueZ) system</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>The Battle for BlueZ</title>
   <description>
    &lt;p&gt;&amp;#160;Last week I asked Kostya to install Fedora 7 and BlueZ. We have a big pile of parts so when ever &lt;br /&gt;
we need some cheesy unix box (no xwindows etc) we just make one from the parts lying around.&lt;/p&gt;
&lt;p&gt;Kostya is fresh out of college and hadn&#039;t really worked on UNIX that much, if at all, so, I figured &lt;br /&gt;
I&#039;d go ahead and work on the same task and play with it a bit.&lt;/p&gt;
&lt;p&gt;The last thing I wanted to do is get into a big argument with the programmers in the office &lt;br /&gt;
as to which *nix is better, besides, the whole idea was a simple machine that might work like &lt;br /&gt;
an out of the box bluetooth NAP, with the addition of radius.&amp;#160;&lt;/p&gt;
&lt;p&gt;My project was a $200-300 machine, booting from USB flash, no monitor, running BlueZ and SLAX &lt;a href=&quot;http://www.slax.org&quot;&gt;http://www.slax.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you haven&#039;t checked out SLAX, check it out. I have a couple machines in the office that run it, burn an ISO, &lt;br /&gt;
pop it in the CDrom and wala you are rolling.&lt;/p&gt;
&lt;p&gt;If you unpack that ISO onto a USB MSD, then write the boot sector using a utility called syslinux, you can &lt;br /&gt;
do without the cdrom and boot right from USB with a motherboard that supports it.&lt;/p&gt;
&lt;p&gt;pretty cool eh?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
In one of my emails to Kevin, I wrote that I started working on the NAP side to which he replied &lt;br /&gt;
&quot;Hey post about it&quot; mentioning that the road there is often as interesting as the destination and &lt;br /&gt;
part of the S2F blogs nature is the public display of trials and tribulations in the process of development.&lt;/p&gt;
&lt;p&gt;More likely this will be a post on how not to develop.&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
So, down to the store for some parts, I&#039;d need a motherboard (FOXCONN WINFAST), memory (256), a CPU(AMD SEMPERON), &lt;br /&gt;
and some cheesy case w/ PSU.&amp;#160; Grand total $150 or so in the local currrency.&lt;/p&gt;
&lt;p&gt;I took the base installation of SLAX as my starting point, I figured what i&#039;d wind up with in the end of it &lt;br /&gt;
all was a machine that would only be accessed via telnet and never rebooted. With Bluetooth, figure you can &lt;br /&gt;
connect any 7 devices so I was hoping that the machine I built would be enough.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
Downloaded SLAX, unpacked it, installed it, sys&#039;ed it and set the bios up for booting from USB.&amp;#160; This should have given &lt;br /&gt;
me a nice little UNIX environment that would let me configure a little OS that I could later pack back into an &lt;br /&gt;
ISO and distribute as a bootable CD or use in a virtual machine (like virtual box).&lt;/p&gt;
&lt;p&gt;SLAX uses a UNION file System, located in ramdisk. All the changed you make are saved to a second file system&lt;br /&gt;
and before you shut the system down, you can issue the command &#039;configsave&#039; which takes all your changes and &lt;br /&gt;
puts them in a special module file. Next time you boot, SLAX looks for this file in the root directory of all &lt;br /&gt;
your mounted drives and if it fonds it, loads it. Alternatively, you can save the file to the /modules directory&lt;br /&gt;
and have it loaded during boot.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pendrivelinux.com&quot;&gt;http://pendrivelinux.com&lt;/a&gt; is a good site for reference.&lt;/p&gt;
&lt;p&gt;everything up to this point was as advertised.&lt;/p&gt;
&lt;p&gt;You can make a module by installing software, then saving the changes. BlueZ, the Official Linux Bluetooth stack&lt;br /&gt;
has a module, so I used it, there were a few dependancies and some functionality added by these modules:&lt;/p&gt;
&lt;p&gt;blueproxy_1_13.mo&lt;br /&gt;
Bluetooth_1_1.mo&lt;br /&gt;
bluez_mo_1_0.mo&lt;br /&gt;
dbus_0_61.mo&lt;br /&gt;
gtk_2_10_6_i386.mo&lt;br /&gt;
PyGTK_2_6_2.mo&lt;br /&gt;
Python_2_4_3.mo&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
All of which you can get on the get on the SLAX repository.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
The PIN helper application complained a bit about not finding a library, got around that with&lt;/p&gt;
&lt;p&gt;&#039;ln /usr/lib/libbluetooth.so.1.0.25 /usr/liblibbluetooth.so.2&#039;&lt;/p&gt;
&lt;p&gt;BNEP is loaded in the kernel at runtime with&lt;/p&gt;
&lt;p&gt;&#039; modprobe bnep &#039;&lt;/p&gt;
&lt;p&gt;which I stuck in /etc/rc.local along with&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&#039; hciconfig hci0 up &#039;&lt;/p&gt;
&lt;p&gt;which turns on the USB Bluetooth DOngle and the service discovery protocol deamon&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;#160;&#039; sdpd &#039;&lt;/p&gt;
&lt;p&gt;and last but not least&lt;/p&gt;
&lt;p&gt;&#039; pand --listen --role NAP &#039;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://bluez.sourceforge.net/contrib/HOWTO-PAN&quot;&gt;http://bluez.sourceforge.net/contrib/HOWTO-PAN&lt;/a&gt; is a good link for explaining the actual workings.&lt;/p&gt;
&lt;p&gt;so far so good, I could see the SLAX machines from a windows notebook, SDP returned the existence of a NAP but when I tried to pair, nothing,.. a long timeout.&lt;/p&gt;
&lt;p&gt;Tried switching the PIN helper but that didn&#039;t seem to do much and further investigation revealed it was looking for x windows and couldn&#039;t open a window so it died.&lt;/p&gt;
&lt;p&gt;There is another version SLAX with X windows, but by the time I tried to connect with the new SLAX it seems my windows had been poisened with ad information or something, Couldn&#039;t ever get a connect from my notbook although from other machines, it connected but failed to give an IP address. I hadn&#039;t actually&amp;#160; considered the system fully configured, DHCP hadn&#039;t been turned on for BNEP0 nor had I set up any hotplug scripts yet.&lt;/p&gt;
&lt;p&gt;Prior to this, I had been booting the machine pretty regularly, changing the config, saving a module and rebooting to ensure the changes I made where being included in the regular boot. With the advent of a connection and the knowledge that&#039;s need to script hotplug for the devices, I went to lunch. Upon return - the machine had hung. Completely dead, no signs of life, and since everything is going on it a ramdisk, nothing to read later after a hard boot to give clues as to what had actually happened.&lt;/p&gt;
&lt;p&gt;Futher testing showed that the machine would hang regularly, often within an hour. Not very interesting for our purposes since a big part of the idea to set up the whole thing from boot to operation on a &quot;diskless&quot; system was to make it somewhat &quot;foolproof&quot; and reliable. Download, make a flash, or boot the ISO in a virtual machine.&lt;/p&gt;
&lt;p&gt;My first though was maybe the whole boot from a flash idea wasn&#039;t the best way.. Second thought was maybe SLAX wasn&#039;t the best solution, I grabbed the machine, grabbed a copy of Fedora-7-i386-DVD.ISO and went home figured I&#039;d have a project for the weekend, back in the office Monday to show my tricks to the boys.&lt;/p&gt;
&lt;p&gt;Back to the computer store, to pick up a hard drive to install Fedora on. Once you get a Linux installation you want, you can use the Linux Live scripts to make a ISO and that was my plan. ( &lt;a href=&quot;http://www.linux-live.org/&quot;&gt;http://www.linux-live.org/&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
I burned a DVD with the ISO I had, installed the hardrive and a DVD in my &quot;diskless&quot; machine&quot; and set off to install.&lt;/p&gt;
&lt;p&gt;&quot; INSERT BOOT DISK and PRESS ENTER &quot;&lt;/p&gt;
&lt;p&gt;Hmm, read the forums - &quot;Me too! and me, and me too&quot; I wasn&#039;t the only one not booting from the Fedora ISO, yet most of the suggestions where along the lines &quot;probably a bad disk try to burn another one&quot; or &quot;you should stop smoking crack and try again&quot;&lt;/p&gt;
&lt;p&gt;After 3 attempts on 2 different burners I finally figured out the software I was using was not writing the&amp;#160; El Torito boot system in sector 17 of the last session of the ISO.&lt;/p&gt;
&lt;p&gt;4th time was a charm, downloaded deepburner pro, it worked fine.&lt;/p&gt;
&lt;p&gt;Fedora wants some memory for it&#039;s GUI setup, with 256 MBs it whined and gave me text mode - fine with me, I didn&#039;t grab a mouse anyways. Obviously not your father&#039;s UNIX.&lt;/p&gt;
&lt;p&gt;A quick run through the standard options, pick a keyboard, pick a language, config your NIC, give a name and slice your disk into partitions. I didn&#039;t really expect to use 500 GB, I just wanted a big disk for my music collection later. I broke the disk up, gave myself 100 mb and mounted /boot there, and another 5 GB on / and 300 MB for swap.&lt;/p&gt;
&lt;p&gt;The system complained I didn&#039;t have enough ram and asked if it was alright if it turned on swap right away. I was suprised actually, gee, I didn&#039;t want X windows and didn&#039;t realy expect the text based installation to be memory intensive.&amp;#160; I clicked YES, and the set up went on execute the changes to the partition and format the disk.&lt;/p&gt;
&lt;p&gt;46% through the format, I got a red screen with a bunch of garbage and the hard drive was making terrible noises.&amp;#160;&lt;/p&gt;
&lt;p&gt;Hmm, ok, reboot, do it all again, this time, let it take the defaults for the partitions. No luck, same red screen,&amp;#160; same 46%.&lt;/p&gt;
&lt;p&gt;A friend of mine who had stopped watched the machine booting said, Gee, &quot;how can you read that fast&quot; I chuckled and answered &quot;That&#039;s why we make the big money. When he saw the red screen with all the garbage he asked, &quot;how can anyone understand what that means?&quot;&lt;/p&gt;
&lt;p&gt;By now the Seagate Barracuda 500GB SATA hard drive was making chirping and cracking sounds as if it was about to explode. I answered my friend, &quot;it means the drive is dead&quot;&lt;/p&gt;
&lt;p&gt;I figured i&#039;d found a bad sector and the OS wasn&#039;t dealing with it. Google noisy seagate and saw quite a bit about it, a few people had suggested adjusting some of the SMART settings, others just sent the drives back.&lt;/p&gt;
&lt;p&gt;Figured try that on a fresh head (err) and a another hard drive. &quot;Vodka - Connecting people&quot; was the motto for the rest of the night as I left my cyber endevors for the evening. The next morning I went down the the computer store and picked a $50 samsung 80G SATA drive. Nope, same red screen at 46%.&lt;/p&gt;
&lt;p&gt;By now, my cheesy $150 machine was already in the $500 range and things still didn&#039;t look any better. Checked the net for bios updates and when I couldn&#039;t find any I becames convinced I had been stuck with a cheap immitation chinese motherboard.&lt;/p&gt;
&lt;p&gt;Back to the computer store. ANother motherboard (ASUS), 512 MB of RAM, and promises that the board would boot from USB. Tried the Seagate, still chirped. tried to boot from USB, nope, and settled in on the 80 GB drive.&lt;/p&gt;
&lt;p&gt;Back to square one. I&#039;m going to still try to do it on SLAX, get the smallest ISO I can, and go from there. I learned some lessons:&lt;/p&gt;
&lt;p&gt;* Never trust a salesman, I don&#039;t care if the guy says the machine will boot from USB, &quot;Prove it&quot; will be my answer.&lt;/p&gt;
&lt;p&gt;* If your UNIX is flaking out, you can probably get it to fit on your system, recompile the kernel, nifty boot tricks etc,..&amp;#160; but why mess with it. My mistake was trying to get everything under a couple hundred bucks and picking a less than friendly motherboard in the process.&lt;/p&gt;
&lt;p&gt;* SLAX is plenty stable, if you boot it on a decent machine.&lt;/p&gt;
&lt;p&gt;* If your weekend project lasts until Thursday you are doing something wrong.&lt;/p&gt;
&lt;p&gt;* Even if you have been working on UNIX since 1989 you&#039;ll never know it all and sometimes the only way you&#039;ll find out is by actually doing it. UNIX is amazing, it&#039;s like you can do anything.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
I wouldn&#039;t write that it was a complete loss. I know everything that needs to be done and how to do it. I don&#039;t have the biggest choice of parts here in Ukraine, so, I&#039;m going to spend a little time shopping around for a decent motherboard and I&#039;m going to try again when I find it.&amp;#160; BTW, the CHillispot.org site is down, and has been for at least 2 weeks, anyone that has any suggestions for another NAS, please let me know. with so many WiFi Hotspots using it, I&#039;m hard pressed to believe that project is dead.&lt;/p&gt;
&lt;p&gt;Ohh and if you have read this far, please save the internet at &lt;a href=&quot;http://www.savetheinternet.org&quot;&gt;http://www.savetheinternet.org&lt;/a&gt; You really have to wonder what will happen to the open source world if you and millions like you don&#039;t do something to keep the internet free. Thanks in Advance.&lt;/p&gt;
&lt;p&gt;Kevin thought it would be interesting to know the behind the scenes, if S2F blogs where about the HOW-to&#039;s of development - let this be a how-not-to :)&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
David Stickney&lt;br /&gt;
Fishnest Ukraine&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/18/the-battle-for-bluez</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/18/the-battle-for-bluez</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/09/18/the-battle-for-bluez</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Connectivity</category>
      
    <category>Testing</category>
         <pubDate>Tue, 18 Sep 2007 13:14:01 +0300</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>The Battle for BlueZ</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>Start of development on Carbide</title>
   <description>
    &lt;p&gt;To develop programs for nokia phones running S60v3 I chose &lt;em&gt;Carbide C++ IDE&lt;/em&gt;.&lt;br /&gt;
Carbide C++ is a tool to create applications for &lt;em&gt;Symbian OS&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;My machine is running Windows XP SP2.&lt;/p&gt;
&lt;p&gt;There are several variants of Carbide C++. I&#039;ve chosen Professional Edition.&lt;/p&gt;
&lt;p&gt;So i downloaded &lt;strong&gt;Carbide c++ &lt;/strong&gt;v1.2 using this link:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.forum.nokia.com/info/sw.nokia.com/id/dbb8841d-832c-43a6-be13-f78119a2b4cb.html&quot;&gt;http://www.forum.nokia.com/info/sw.......&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To use IDE you first need to install:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;&amp;#187;ActivePerl 5.6.1.x&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&#039;ve downloaded ActivePerl 5.6.1.638&lt;/p&gt;
&lt;p&gt;Direct link is:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.activestate.com/store/download_file.aspx?binGUID=5f03b75f-2bf0-4380-99b2-d55cff4bc233&quot;&gt;http://www.activestate.com/store/.....&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download page is: &lt;a href=&quot;http://www.activestate.com/store/download.aspx?prdGUID=81fbce82-6bd5-49bc-a915-08d58c2648ca&quot;&gt;http://www.activestate.com/store/dow.....&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;&amp;#187;&lt;u&gt;Java Run-Time Environment&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;My choice was JRE v 1.4.2 by link:&lt;br /&gt;
&lt;a target=&quot;undefined&quot; href=&quot;http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2re-1.4.2_15-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg&quot;&gt;http://javashoplm.sun.com/ECom/......&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;&amp;#187;&lt;u&gt;Platform SDK&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;First of all we want to create application for &lt;strong&gt;S60v3&lt;/strong&gt; platform.&lt;/p&gt;
&lt;p&gt;So we need download &lt;strong&gt;S60 Platform SDK&lt;/strong&gt; by this link:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html&quot;&gt;http://www.forum.nokia.com/info/sw......&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;How to handle all of that.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I recommend to install all of we&#039;ve downloaded in this order:&lt;/p&gt;
&lt;p&gt;1. Install ActivePerl&lt;/p&gt;
&lt;p&gt;2. Install JRE&lt;/p&gt;
&lt;p&gt;3. Install Carbide c++&lt;/p&gt;
&lt;p&gt;4. Install S60 Platform SDK (install it to folder path which is out of white spaces)&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;My experience was successful and Carbide started correctly.&lt;/p&gt;
&lt;p&gt;To make my first steps I&#039;ve read Carbide.c++ Introduction&amp;#160;&lt;br /&gt;
&lt;a target=&quot;undefined&quot; href=&quot;http:// http://www.forum.nokia.com/info/sw.nokia.com/id/cae9ea59-eee0-4b98-aaa2-1b6ecd879222/Carbide_cpp_Introductory_White_Paper_V1_1_en.pdf.html&quot;&gt;http://www.forum.nokia.com/info/sw.....&lt;/a&gt;&amp;#160;&lt;br /&gt;
and found it&amp;#160;as an&amp;#160;excelent document.&lt;/p&gt;
&lt;p&gt;My first impression was: &quot;&lt;em&gt;Hey&lt;/em&gt;! The environment seems to be like &lt;strong&gt;Eclipse&lt;/strong&gt; Platform!&quot;.&lt;/p&gt;
&lt;p&gt;But after reading introduction PDF I knew that Carbide IDE is based on &lt;em&gt;Eclipse open source &lt;/em&gt;development platform.&lt;/p&gt;
&lt;p&gt;I started my first project, just using one of given wizards. After building and running project, the phone emulator appeared. And my program was available there in &quot;Installed&quot; folder. During development and emulating I discovered that my Pentium 4 2.6 GHz, 256 Ram notebook works slowly but stable. Now I&#039;m looking for some &lt;em&gt;hardware&lt;/em&gt; here, in my office to satisfy the needs of recently installed platforms. I&#039;ll tell you if I find optimum.&lt;/p&gt;
&lt;p&gt;I was told to use &lt;strong&gt;CVS&lt;/strong&gt; at &lt;strong&gt;SourceForge.net&lt;/strong&gt; for collaboration,&lt;/p&gt;
&lt;p&gt;the account is registered. I made a home page, there isn&#039;t much to see yet,&lt;/p&gt;
&lt;p&gt;but I will post the URL here and if you want to help on the project &lt;em&gt;&lt;font size=&quot;4&quot;&gt;you can join&lt;/font&gt;!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;S.F.&lt;/strong&gt; link: &lt;a href=&quot;http://bluspan.sourceforge.net/&quot;&gt;http://bluspan.sourceforge.net/&lt;/a&gt;&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/08/23/start-of-development-on-carbide</link>
   <comments>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/08/23/start-of-development-on-carbide</comments>
   <guid>http://blogs.forum.nokia.com/blog/open-source-bluetooth-pans-forum-nokia-blog/2007/08/23/start-of-development-on-carbide</guid>
      <dc:creator>Carbider</dc:creator>
      
    <category>Symbian C++</category>
      
    <category>Testing</category>
         <pubDate>Thu, 23 Aug 2007 13:09:48 +0300</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Start of development on Carbide</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=107609&amp;profile=rss20">Open Source Bluetooth PAN&#039;s Forum Nokia Blog</source>
     </item>
   </channel>
</rss>