</a>
</h5></div></div></div>
<p>
            Construct and open a <a class="link" href="../../serial_port.html" title="serial_port"><code class="computeroutput">serial_port</code></a>.
          </p>
<pre class="programlisting">serial_port(
    boost::asio::io_context &amp; io_context,
    const char * device);
</pre>
<p>
            This constructor creates and opens a serial port for the specified device
            name.
          </p>
<h6>
<a name="boost_asio.reference.serial_port.serial_port.overload2.