<?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 Connection functions</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Connection%2520functions/</link><description>Recent changes to SerialDriver Connection functions</description><atom:link href="https://sourceforge.net/p/coronissdk/wiki/SerialDriver%20Connection%20functions/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 12 May 2012 19:35:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/coronissdk/wiki/SerialDriver%20Connection%20functions/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage SerialDriver Connection functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Connection%2520functions/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -1,42 +1,43 @@
 ##Connection functions##
 
-After having made the configuration of a SerialDriver instance, serial driver could be open or close:
-
+After having made the configuration of the serial driver instance, it could be open or close:
+
 * open method to open the connection
 * close method to close the opened connection
 * isOpen to get the open status of a serial driver instance
 
+------------------------
 **C source API extract**
 
     /**
      * Open the SerialDriver connection with the serial port id,
      * and configure the serial port parameters
      * @param driver The SerialDriver instance to open
      * @return the open status (serial_driver_status)
      *         OK_PROTOCOL_SUCCESS if opening succeed
      *         KO_SERIALPORTID_NOT_EXIST if id does not exist from the OS point of view
      *         KO_SERIALPORT_NOT_AVAILABLE if port is not available (already in use, broken down, etc.)
      *         KO_PARAM_XXXX_NOT_VALID if parameters configuration fails
      */
     WAVENIS_API int driver_open( const void* driver );
     
     /**
      * Close the SerialDriver connection,
      * @param driver The SerialDriver instance to close
      * @return the close status (serial_driver_status)
      *         OK_SERIALDRIVER_SUCCESS if closing succeed
      *         KO_SERIALPORT_UNEXPECTED_ERROR if error occurs during closing process
      */
     WAVENIS_API int driver_close( const void* driver );
 
     /**
      * Test if the SerialDriver connection is open are not
      * @param driver The SerialDriver instance
      * @return &lt;code&gt;1&lt;/code&gt; if the serial driver is connected, &lt;code&gt;0&lt;/code&gt; otherwise
      */
     WAVENIS_API int driver_is_open( const void* driver );
 
-&lt;br&gt;
+---------------------------
 **Java 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:35:04 -0000</pubDate><guid>https://sourceforge.netd81c650330c10b84d366b65c973a4d0bda4400bf</guid></item><item><title>WikiPage SerialDriver Connection functions modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/SerialDriver%2520Connection%2520functions/</link><description>##Connection functions##

After having made the configuration of a SerialDriver instance, serial driver could be open or close:

* open method to open the connection
* close method to close the opened connection
* isOpen to get the open status of a serial driver instance

**C source API extract**

    /**
     * Open the SerialDriver connection with the serial port id,
     * and configure the serial port parameters
     * @param driver The SerialDriver instance to open
     * @return the open status (serial_driver_status)
     *         OK_PROTOCOL_SUCCESS if opening succeed
     *         KO_SERIALPORTID_NOT_EXIST if id does not exist from the OS point of view
     *         KO_SERIALPORT_NOT_AVAILABLE if port is not available (already in use, broken down, etc.)
     *         KO_PARAM_XXXX_NOT_VALID if parameters configuration fails
     */
    WAVENIS_API int driver_open( const void* driver );
    
    /**
     * Close the SerialDriver connection,
     * @param driver The SerialDriver instance to close
     * @return the close status (serial_driver_status)
     *         OK_SERIALDRIVER_SUCCESS if closing succeed
     *         KO_SERIALPORT_UNEXPECTED_ERROR if error occurs during closing process
     */
    WAVENIS_API int driver_close( const void* driver );

    /**
     * Test if the SerialDriver connection is open are not
     * @param driver The SerialDriver instance
     * @return &lt;code&gt;1&lt;/code&gt; if the serial driver is connected, &lt;code&gt;0&lt;/code&gt; otherwise
     */
    WAVENIS_API int driver_is_open( const void* driver );

&lt;br&gt;
**Java source API extract**

    /**
     * Open the SerialDriver connection with the serial port id,
     * and configure the serial port parameters
     * @throws SerialDriverException if error occurs during opening process
     *         SERIALPORTID_NOT_EXIST if id does not exist from the OS point of view
     *         SERIALPORT_NOT_AVAILABLE if port is not available (already in use, broken down, etc.)
     *         PARAM_XXXX_NOT_VALID if parameters configuration fails
     */
    public void open() throws SerialDriverException;
    
    /**
     * Close the SerialDriver connection
     * @throws SerialDriverException.SERIALPORT_UNEXPECTED_ERROR if error occurs during closing process
     */
    public void close() throws SerialDriverException;
    
    /**
     * Test if the SerialDriver connection is open are not
     * @return &lt;code&gt;true&lt;/code&gt; if the SerialDriver instance is connected, &lt;code&gt;false&lt;/code&gt; otherwise
     */
    public boolean isOpen();</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Fri, 11 May 2012 13:40:05 -0000</pubDate><guid>https://sourceforge.nete3f4e6dc8933bee37406457a922012319d0e29c6</guid></item></channel></rss>