<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css">
<title>
Gambas Documentation - SerialPort
 (gb.net)</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help+en"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../gb.net+en">Up</a>&nbsp;
<a href="net/unix+en">Previous</a>&nbsp;
<a href="serialport/_ctschange+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
SerialPort
 (gb.net)</h1>
This class was designed to allow to communicate using a serial interface (usually RS-232 serial port). This class inherits from <a href="../gb/stream+en">Stream</a> class, so you can use standard streams methods to send and receive data, and to close the port.
<p>
<div class="black"><font size="-2"><b>Symbols</b></font></div>
<div class="border">
This class inherits <a href="../gb/stream+en">Stream</a> in <a href="../gb+en">gb - Gambas Internal native classes</a>.<hr>
This class is <a class="none" href="serialport/_new+en">creatable</a>.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Constants</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<b><a class="none" href="serialport/bits1+en">Bits1</a></b>&nbsp;&nbsp; <b><a class="none" href="serialport/bits2+en">Bits2</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/bits5</i></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/bits6</i></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/bits7</i></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/bits8</i></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/both</i></b>&nbsp;&nbsp; <b><a class="none" href="serialport/even+en">Even</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/hardware</i></b>&nbsp;&nbsp; <b><a class="none" href="serialport/none+en">None</a></b>&nbsp;&nbsp; <b><a class="none" href="serialport/odd+en">Odd</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/serialport/software</i></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Properties</b></td><td width="32">&nbsp;</td>
<td align=left><b>Methods</b></td><td width="32">&nbsp;</td>
<td align=left><b>Events</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<a class="none" href="../gb/stream/byteorder+en">ByteOrder</a>&nbsp;&nbsp; <a class="none" href="serialport/cts+en">CTS</a>&nbsp;&nbsp; <a class="none" href="serialport/dcd+en">DCD</a>&nbsp;&nbsp; <a class="none" href="serialport/dsr+en">DSR</a>&nbsp;&nbsp; <a class="none" href="serialport/dtr+en">DTR</a>&nbsp;&nbsp; <i>/comp/gb.net/serialport/databits</i>&nbsp;&nbsp; <a class="none" href="../gb/stream/endofline+en">EndOfLine</a>&nbsp;&nbsp; <i>/comp/gb.net/serialport/flowcontrol</i>&nbsp;&nbsp; <a class="none" href="../gb/stream/handle+en">Handle</a>&nbsp;&nbsp; <a class="none" href="../gb/stream/id+en">Id</a>&nbsp;&nbsp; <a class="none" href="serialport/parity+en">Parity</a>&nbsp;&nbsp; <a class="none" href="serialport/portname+en">PortName</a>&nbsp;&nbsp; <a class="none" href="serialport/rng+en">RNG</a>&nbsp;&nbsp; <a class="none" href="serialport/rts+en">RTS</a>&nbsp;&nbsp; <a class="none" href="serialport/speed+en">Speed</a>&nbsp;&nbsp; <a class="none" href="serialport/status+en">Status</a>&nbsp;&nbsp; <i>/comp/gb.net/serialport/stopbits</i>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a class="none" href="../gb/stream/close+en">Close</a>&nbsp;&nbsp; <a class="none" href="serialport/open+en">Open</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a class="none" href="serialport/_ctschange+en">CTSChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_dcdchange+en">DCDChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_dsrchange+en">DSRChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_dtrchange+en">DTRChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_rngchange+en">RNGChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_rtschange+en">RTSChange</a>&nbsp;&nbsp; <a class="none" href="serialport/_read+en">Read</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

</div>
</body>
</html>

