<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Methods</title><link>https://sourceforge.net/p/ejserial/wiki/Methods/</link><description>Recent changes to Methods</description><atom:link href="https://sourceforge.net/p/ejserial/wiki/Methods/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 22 Jan 2017 08:00:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ejserial/wiki/Methods/feed" rel="self" type="application/rss+xml"/><item><title>Methods modified by Rossmann Engineering</title><link>https://sourceforge.net/p/ejserial/wiki/Methods/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -74,3 +74,6 @@
 Converts an array of byte to String which can be read from Com-Port
 arrayToConvert Array of byte to convert to String
 returns: Converted String
+
+**public boolean isOpened()**
+Returns TRUE if the serial port has already been opened, FALSE otherwise
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rossmann Engineering</dc:creator><pubDate>Sun, 22 Jan 2017 08:00:43 -0000</pubDate><guid>https://sourceforge.nete5dc25815beb40f915ba4722fda250f055826727</guid></item><item><title>Methods modified by Stefan</title><link>https://sourceforge.net/p/ejserial/wiki/Methods/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -61,3 +61,16 @@
 count - The number of characters to write.
 Throws:
 WriteException
+
+**public static byte[] StringToArrayOfByte(String stringToConvert)**
+Converts a String to a array of byte to send via com-port
+stringToConvert String to convert to array of byte
+returns: array of byte to send via COM-Port
+
+Example: 
+serialPort.Write(SerialPort.StringToArrayOfByte("Hello World"), 0, SerialPort.StringToArrayOfByte("Hello World").length);
+
+**public static String ArrayOfByteToString(byte[] arrayToConvert)**
+Converts an array of byte to String which can be read from Com-Port
+arrayToConvert Array of byte to convert to String
+returns: Converted String
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Wed, 04 Jan 2017 23:26:17 -0000</pubDate><guid>https://sourceforge.net3b66401c8fd2ba85a9210c3e53771fd063c3f172</guid></item><item><title>Methods modified by Stefan</title><link>https://sourceforge.net/p/ejserial/wiki/Methods/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;public SerialPort()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public SerialPort(java.lang.String portName)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class using the specified port name.&lt;br/&gt;
portName - The port to use (for example, COM1).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public SerialPort(java.lang.String portName, int baudRate)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class using the specified port name and baud rate.&lt;br/&gt;
portName - The port to use (for example, COM1).&lt;br/&gt;
baudRate - The baud rate.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public SerialPort(java.lang.String portName, int baudRate, Parity parity)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit.&lt;br/&gt;
portName - The port to use (for example, COM1).&lt;br/&gt;
baudRate - The baud rate.&lt;br/&gt;
parity - One of the Parity values.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public SerialPort(java.lang.String portName, int baudRate, Parity parity, int dataBits)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, and data bits.&lt;br/&gt;
portName - The port to use (for example, COM1).&lt;br/&gt;
baudRate - The baud rate.&lt;br/&gt;
parity - One of the Parity values.&lt;br/&gt;
dataBits - The data bits value.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public SerialPort(java.lang.String portName, int baudRate, Parity parity, int dataBits, StopBits stopBits)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, and data bits.&lt;br/&gt;
portName - The port to use (for example, COM1).&lt;br/&gt;
baudRate - The baud rate.&lt;br/&gt;
parity - One of the Parity values.&lt;br/&gt;
dataBits - The data bits value.&lt;br/&gt;
stopBits - One of the StopBits values.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public void Open()&lt;/strong&gt;&lt;br/&gt;
Opens a new serial port connection.&lt;br/&gt;
Throws:&lt;br/&gt;
ConnectionException&lt;br/&gt;
ParameterException&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public void close()&lt;/strong&gt;&lt;br/&gt;
Closes the port connection, sets the IsOpen property to false, and disposes of the internal Stream object.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public void Read(byte[] buffer, int offset, int count)&lt;/strong&gt;&lt;br/&gt;
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.&lt;br/&gt;
buffer - The byte array to write the input to.&lt;br/&gt;
offset - The offset in buffer at which to write the bytes.&lt;br/&gt;
count - The number of bytes to read. The additional byted will be ignored&lt;br/&gt;
Throws:&lt;br/&gt;
ReadException&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;public void Write(byte[] buffer, int offset, int count)&lt;/strong&gt;&lt;br/&gt;
Writes a specified number of characters to the serial port using data from a buffer.&lt;br/&gt;
buffer - The character array that contains the data to write to the port.&lt;br/&gt;
offset - The zero-based byte offset in the buffer parameter at which to begin copying bytes to the port.&lt;br/&gt;
count - The number of characters to write.&lt;br/&gt;
Throws:&lt;br/&gt;
WriteException&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Mon, 02 Jan 2017 08:01:34 -0000</pubDate><guid>https://sourceforge.net5cc14d35d89f0dd404a7f67db4c10ee4021415a5</guid></item></channel></rss>