<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SerialDriver Instanciation functions</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>Recent changes to SerialDriver Instanciation functions</description><atom:link href="https://sourceforge.net/p/coronissdk/wiki/SerialDriver%20Instanciation%20functions/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 12 May 2012 19:30:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/coronissdk/wiki/SerialDriver%20Instanciation%20functions/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage SerialDriver Instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>&lt;pre&gt;--- v7 
+++ v8 
@@ -2,7 +2,7 @@
 
 Before using a SerialDriver implementation, an instance of the implementation must be created:
 
-* In C API, 2 methods are available to create or destroy an instance
+* In C API, 2 methods are defined to create or destroy an instance
 * In Java API, native constructor of Java classes must be used
 
 **C source API extract**
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Sat, 12 May 2012 19:30:01 -0000</pubDate><guid>https://sourceforge.netd90ee427bf4e9dfcf974d78d96eabec6f69425af</guid></item><item><title>WikiPage SerialDriver Instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -5,7 +5,7 @@
 * In C API, 2 methods are available to create or destroy an instance
 * In Java API, native constructor of Java classes must be used
 
-**C API**
+**C source API extract**
 
     /**
      * Create a new serial driver instance
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 13:31:53 -0000</pubDate><guid>https://sourceforge.netc05e4d41158de68143f48151ecccdb55608efa4f</guid></item><item><title>WikiPage SerialDriver Instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -5,7 +5,7 @@
 * In C API, 2 methods are available to create or destroy an instance
 * In Java API, native constructor of Java classes must be used
 
-### C API ###
+**C API**
 
     /**
      * Create a new serial driver instance
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 13:28:01 -0000</pubDate><guid>https://sourceforge.netccfa35d11bb3531ec99fa185497f8d785bab16d3</guid></item><item><title>WikiPage SerialDriver Instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -1,25 +1,21 @@
-**Load functions**
-
-    /**
-     * Create default driver(port) instance
-     */
-    void* driver_create ()
-    
-Return: a descriptor to created driver. Null if driver failed to be created.
-Code Example: [Driver Create and Destroy example]
-    
-    /**
-     * Close and destroy driver(port)
-     */
-    int driver_destroy ( const void* driver )
-Parameter driver: Driver descriptor to destroy.
-Return : the operation completion status [Serial Driver status codes].
-
-Possible status codes:
-~~~~~~
-    OK_SERIALDRIVER_SUCCESS
-    KO_PARAM_NOT_VALID
-    KO_SERIALPORT_UNEXPECTED_ERROR
-~~~~~~
-
-Code example: [Driver Create and Destroy example]
+##Instanciation functions##
+
+Before using a SerialDriver implementation, an instance of the implementation must be created:
+
+* In C API, 2 methods are available to create or destroy an instance
+* In Java API, native constructor of Java classes must be used
+
+### C API ###
+
+    /**
+     * Create a new serial driver instance
+     * @return a pointer to created serial driver.&lt;code&gt;NULL&lt;/code&gt; if driver failed to be created.
+     */
+    WAVENIS_API void* driver_create();
+    
+    /**
+     * Destroy the serial driver instance. It will automatically close the current connection
+     * @param driver The SerialDriver instance
+     * @return &lt;code&gt;0&lt;/code&gt; if succeed, a positive number otherwise
+     */
+    WAVENIS_API int driver_destroy( const void* driver );
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 13:14:00 -0000</pubDate><guid>https://sourceforge.neteb9a27b1efa62da5f23085b1567bba9dacabd5bd</guid></item><item><title>WikiPage SerialDriver Instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Instanciation%2520functions/</link><description>&lt;pre&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 13:07:33 -0000</pubDate><guid>https://sourceforge.net08b6c56e95450f59bce171dba3715421fff6b578</guid></item><item><title>WikiPage SerialDriver instanciation functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520instanciation%2520functions/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -1,4 +1,3 @@
-
 **Load functions**
 
     /**
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 12:53:08 -0000</pubDate><guid>https://sourceforge.net18c3bd7e13115877a0dd8c4aa070c50270e97725</guid></item><item><title>WikiPage Serial Driver Load Functions modified by vmacari</title><link>https://sourceforge.net/p/coronissdk/wiki/Serial%2520Driver%2520Load%2520Functions/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -1,4 +1,4 @@
--------------------------------------------------------------------
+
 **Load functions**
 
     /**
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vmacari</dc:creator><pubDate>Tue, 08 May 2012 12:43:02 -0000</pubDate><guid>https://sourceforge.netf3c2aeef7c8699c9a115d0372bfea692cf0955f4</guid></item><item><title>WikiPage Serial Driver Load Functions modified by vmacari</title><link>https://sourceforge.net/p/coronissdk/wiki/Serial%2520Driver%2520Load%2520Functions/</link><description>-------------------------------------------------------------------
**Load functions**

    /**
     * Create default driver(port) instance
     */
    void* driver_create ()
    
Return: a descriptor to created driver. Null if driver failed to be created.
Code Example: [Driver Create and Destroy example]
    
    /**
     * Close and destroy driver(port)
     */
    int driver_destroy ( const void* driver )
Parameter driver: Driver descriptor to destroy.
Return : the operation completion status [Serial Driver status codes].

Possible status codes:
~~~~~~
    OK_SERIALDRIVER_SUCCESS
    KO_PARAM_NOT_VALID
    KO_SERIALPORT_UNEXPECTED_ERROR
~~~~~~

Code example: [Driver Create and Destroy example]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vmacari</dc:creator><pubDate>Tue, 08 May 2012 12:42:25 -0000</pubDate><guid>https://sourceforge.net9e4119957b1e3a66c77e15642bc491c53f583552</guid></item></channel></rss>