|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<!-- Generated by javadoc -->
|
|
|
|
|
<title>SerialPort (jSerialComm 2.8.5 API)</title>
|
|
|
|
|
<title>SerialPort (jSerialComm 2.9.0 API)</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
|
|
|
|
@ -20,13 +20,13 @@
|
|
|
|
|
<script type="text/javascript"><!--
|
|
|
|
|
try {
|
|
|
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
|
|
|
parent.document.title="SerialPort (jSerialComm 2.8.5 API)";
|
|
|
|
|
parent.document.title="SerialPort (jSerialComm 2.9.0 API)";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch(err) {
|
|
|
|
|
}
|
|
|
|
|
//-->
|
|
|
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":9,"i12":9,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":9,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10};
|
|
|
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":9,"i13":9,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":9,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10};
|
|
|
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
|
|
|
var altColor = "altColor";
|
|
|
|
|
var rowColor = "rowColor";
|
|
|
|
@ -352,6 +352,14 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i1" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#allowElevatedPermissionsRequest--">allowElevatedPermissionsRequest</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Allows the library to request elevation of the current user's permissions for use in making certain
|
|
|
|
|
system-specific changes regarding this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i2" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#bytesAvailable--">bytesAvailable</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
@ -359,147 +367,147 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
after this method returns.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i2" class="altColor">
|
|
|
|
|
<tr id="i3" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#bytesAwaitingWrite--">bytesAwaitingWrite</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the number of bytes still waiting to be written in the device's output queue.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i3" class="rowColor">
|
|
|
|
|
<tr id="i4" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#clearBreak--">clearBreak</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Clears the BREAK signal from the serial control line.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i4" class="altColor">
|
|
|
|
|
<tr id="i5" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#clearDTR--">clearDTR</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Clears the state of the DTR line to 0.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i5" class="rowColor">
|
|
|
|
|
<tr id="i6" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#clearRTS--">clearRTS</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Clears the state of the RTS line to 0.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i6" class="altColor">
|
|
|
|
|
<tr id="i7" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#closePort--">closePort</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Closes this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i7" class="rowColor">
|
|
|
|
|
<tr id="i8" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#disableExclusiveLock--">disableExclusiveLock</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Disables the library from obtaining an exclusive lock on the serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i8" class="altColor">
|
|
|
|
|
<tr id="i9" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#disablePortConfiguration--">disablePortConfiguration</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Disables the library from calling any of the underlying device driver configuration methods.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i9" class="rowColor">
|
|
|
|
|
<tr id="i10" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#flushIOBuffers--">flushIOBuffers</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Flushes the serial port's Rx/Tx device buffers.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i10" class="altColor">
|
|
|
|
|
<tr id="i11" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getBaudRate--">getBaudRate</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the current baud rate of the serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i11" class="rowColor">
|
|
|
|
|
<tr id="i12" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>static <a href="../../../com/fazecast/jSerialComm/SerialPort.html" title="class in com.fazecast.jSerialComm">SerialPort</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getCommPort-java.lang.String-">getCommPort</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> portDescriptor)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Allocates a <a href="../../../com/fazecast/jSerialComm/SerialPort.html" title="class in com.fazecast.jSerialComm"><code>SerialPort</code></a> object corresponding to the user-specified port descriptor.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i12" class="altColor">
|
|
|
|
|
<tr id="i13" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>static <a href="../../../com/fazecast/jSerialComm/SerialPort.html" title="class in com.fazecast.jSerialComm">SerialPort</a>[]</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getCommPorts--">getCommPorts</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns a list of all available serial ports on this machine.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i13" class="rowColor">
|
|
|
|
|
<tr id="i14" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getCTS--">getCTS</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the CTS line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i14" class="altColor">
|
|
|
|
|
<tr id="i15" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDCD--">getDCD</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the DCD line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i15" class="rowColor">
|
|
|
|
|
<tr id="i16" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDescriptivePortName--">getDescriptivePortName</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets a descriptive string representing this serial port or the device connected to it.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i16" class="altColor">
|
|
|
|
|
<tr id="i17" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDeviceReadBufferSize--">getDeviceReadBufferSize</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the underlying receive buffer size used by the serial port device driver.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i17" class="rowColor">
|
|
|
|
|
<tr id="i18" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDeviceWriteBufferSize--">getDeviceWriteBufferSize</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the underlying transmit buffer size used by the serial port device driver.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i18" class="altColor">
|
|
|
|
|
<tr id="i19" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDSR--">getDSR</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the DSR line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i19" class="rowColor">
|
|
|
|
|
<tr id="i20" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getDTR--">getDTR</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the DTR line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i20" class="altColor">
|
|
|
|
|
<tr id="i21" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getFlowControlSettings--">getFlowControlSettings</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the flow control settings enabled on this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i21" class="rowColor">
|
|
|
|
|
<tr id="i22" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getInputStream--">getInputStream</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns an <a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> object associated with this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i22" class="altColor">
|
|
|
|
|
<tr id="i23" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getInputStreamWithSuppressedTimeoutExceptions--">getInputStreamWithSuppressedTimeoutExceptions</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
@ -507,14 +515,14 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
completely suppressed.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i23" class="rowColor">
|
|
|
|
|
<tr id="i24" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getLastErrorCode--">getLastErrorCode</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the error number returned by the most recent native source code line that failed execution.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i24" class="altColor">
|
|
|
|
|
<tr id="i25" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getLastErrorLocation--">getLastErrorLocation</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
@ -522,119 +530,119 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
the native code for this port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i25" class="rowColor">
|
|
|
|
|
<tr id="i26" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getNumDataBits--">getNumDataBits</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the current number of data bits per word.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i26" class="altColor">
|
|
|
|
|
<tr id="i27" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getNumStopBits--">getNumStopBits</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the current number of stop bits per word.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i27" class="rowColor">
|
|
|
|
|
<tr id="i28" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getOutputStream--">getOutputStream</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns an <a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> object associated with this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i28" class="altColor">
|
|
|
|
|
<tr id="i29" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getParity--">getParity</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the current parity error-checking scheme.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i29" class="rowColor">
|
|
|
|
|
<tr id="i30" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getPortDescription--">getPortDescription</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets a description of the port as reported by the device itself.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i30" class="altColor">
|
|
|
|
|
<tr id="i31" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getPortLocation--">getPortLocation</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the physical location of the port as a String in the form "BUS-[HUB1.HUB2.etc]PORT_NUMBER".</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i31" class="rowColor">
|
|
|
|
|
<tr id="i32" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getReadTimeout--">getReadTimeout</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the number of milliseconds of inactivity to tolerate before returning from a <a href="../../../com/fazecast/jSerialComm/SerialPort.html#readBytes-byte:A-long-"><code>readBytes(byte[],long)</code></a> call.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i32" class="altColor">
|
|
|
|
|
<tr id="i33" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getRI--">getRI</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the RI line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i33" class="rowColor">
|
|
|
|
|
<tr id="i34" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getRTS--">getRTS</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the RTS line is currently asserted.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i34" class="altColor">
|
|
|
|
|
<tr id="i35" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getSystemPortName--">getSystemPortName</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the operating system-defined device name corresponding to this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i35" class="rowColor">
|
|
|
|
|
<tr id="i36" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getSystemPortPath--">getSystemPortPath</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the operating system-defined device path corresponding to this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i36" class="altColor">
|
|
|
|
|
<tr id="i37" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getVersion--">getVersion</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the current version of the jSerialComm library.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i37" class="rowColor">
|
|
|
|
|
<tr id="i38" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#getWriteTimeout--">getWriteTimeout</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Gets the number of milliseconds of inactivity to tolerate before returning from a <a href="../../../com/fazecast/jSerialComm/SerialPort.html#writeBytes-byte:A-long-"><code>writeBytes(byte[],long)</code></a> call.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i38" class="altColor">
|
|
|
|
|
<tr id="i39" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#isOpen--">isOpen</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns whether the port is currently open and available for communication.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i39" class="rowColor">
|
|
|
|
|
<tr id="i40" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#openPort--">openPort</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Opens this serial port for reading and writing.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i40" class="altColor">
|
|
|
|
|
<tr id="i41" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#openPort-int-">openPort</a></span>​(int safetySleepTime)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Opens this serial port for reading and writing with an optional delay time.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i41" class="rowColor">
|
|
|
|
|
<tr id="i42" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#openPort-int-int-int-">openPort</a></span>​(int safetySleepTime,
|
|
|
|
|
int deviceSendQueueSize,
|
|
|
|
@ -643,7 +651,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Opens this serial port for reading and writing with an optional delay time and user-specified device buffer size.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i42" class="altColor">
|
|
|
|
|
<tr id="i43" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#readBytes-byte:A-long-">readBytes</a></span>​(byte[] buffer,
|
|
|
|
|
long bytesToRead)</code></th>
|
|
|
|
@ -651,7 +659,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Reads up to <i>bytesToRead</i> raw data bytes from the serial port and stores them in the buffer.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i43" class="rowColor">
|
|
|
|
|
<tr id="i44" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#readBytes-byte:A-long-long-">readBytes</a></span>​(byte[] buffer,
|
|
|
|
|
long bytesToRead,
|
|
|
|
@ -660,28 +668,28 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Reads up to <i>bytesToRead</i> raw data bytes from the serial port and stores them in the buffer starting at the indicated offset.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i44" class="altColor">
|
|
|
|
|
<tr id="i45" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#removeDataListener--">removeDataListener</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Removes the associated <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a> from the serial port interface.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i45" class="rowColor">
|
|
|
|
|
<tr id="i46" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setBaudRate-int-">setBaudRate</a></span>​(int newBaudRate)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the desired baud rate for this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i46" class="altColor">
|
|
|
|
|
<tr id="i47" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setBreak--">setBreak</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the BREAK signal on the serial control line.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i47" class="rowColor">
|
|
|
|
|
<tr id="i48" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setComPortParameters-int-int-int-int-">setComPortParameters</a></span>​(int newBaudRate,
|
|
|
|
|
int newDataBits,
|
|
|
|
@ -691,7 +699,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets all serial port parameters at one time.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i48" class="altColor">
|
|
|
|
|
<tr id="i49" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setComPortParameters-int-int-int-int-boolean-">setComPortParameters</a></span>​(int newBaudRate,
|
|
|
|
|
int newDataBits,
|
|
|
|
@ -702,7 +710,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets all serial port parameters at one time.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i49" class="rowColor">
|
|
|
|
|
<tr id="i50" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setComPortTimeouts-int-int-int-">setComPortTimeouts</a></span>​(int newTimeoutMode,
|
|
|
|
|
int newReadTimeout,
|
|
|
|
@ -711,42 +719,42 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets the serial port read and write timeout parameters.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i50" class="altColor">
|
|
|
|
|
<tr id="i51" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setDTR--">setDTR</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the state of the DTR line to 1.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i51" class="rowColor">
|
|
|
|
|
<tr id="i52" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setFlowControl-int-">setFlowControl</a></span>​(int newFlowControlSettings)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Specifies what kind of flow control to enable for this serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i52" class="altColor">
|
|
|
|
|
<tr id="i53" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setNumDataBits-int-">setNumDataBits</a></span>​(int newDataBits)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the desired number of data bits per word.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i53" class="rowColor">
|
|
|
|
|
<tr id="i54" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setNumStopBits-int-">setNumStopBits</a></span>​(int newStopBits)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the desired number of stop bits per word.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i54" class="altColor">
|
|
|
|
|
<tr id="i55" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setParity-int-">setParity</a></span>​(int newParity)</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the desired parity error-detection scheme to be used.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i55" class="rowColor">
|
|
|
|
|
<tr id="i56" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setRs485ModeParameters-boolean-boolean-boolean-boolean-int-int-">setRs485ModeParameters</a></span>​(boolean useRS485Mode,
|
|
|
|
|
boolean rs485RtsActiveHigh,
|
|
|
|
@ -758,7 +766,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets RS-485 mode and its parameters for the device.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i56" class="altColor">
|
|
|
|
|
<tr id="i57" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setRs485ModeParameters-boolean-boolean-int-int-">setRs485ModeParameters</a></span>​(boolean useRS485Mode,
|
|
|
|
|
boolean rs485RtsActiveHigh,
|
|
|
|
@ -768,14 +776,14 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets RS-485 mode and its parameters for the device.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i57" class="rowColor">
|
|
|
|
|
<tr id="i58" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setRTS--">setRTS</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Sets the state of the RTS line to 1.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i58" class="altColor">
|
|
|
|
|
<tr id="i59" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#setXonXoffCharacters-byte-byte-">setXonXoffCharacters</a></span>​(byte xonStartCharacter,
|
|
|
|
|
byte xoffStopCharacter)</code></th>
|
|
|
|
@ -783,14 +791,14 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Sets custom XON/XOFF flow control characters for the device.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i59" class="rowColor">
|
|
|
|
|
<tr id="i60" class="altColor">
|
|
|
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#toString--">toString</a></span>​()</code></th>
|
|
|
|
|
<td class="colLast">
|
|
|
|
|
<div class="block">Returns the same output as calling <a href="../../../com/fazecast/jSerialComm/SerialPort.html#getPortDescription--"><code>getPortDescription()</code></a>.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i60" class="altColor">
|
|
|
|
|
<tr id="i61" class="rowColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#writeBytes-byte:A-long-">writeBytes</a></span>​(byte[] buffer,
|
|
|
|
|
long bytesToWrite)</code></th>
|
|
|
|
@ -798,7 +806,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
<div class="block">Writes up to <i>bytesToWrite</i> raw data bytes from the buffer parameter to the serial port.</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="i61" class="rowColor">
|
|
|
|
|
<tr id="i62" class="altColor">
|
|
|
|
|
<td class="colFirst"><code>int</code></td>
|
|
|
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPort.html#writeBytes-byte:A-long-long-">writeBytes</a></span>​(byte[] buffer,
|
|
|
|
|
long bytesToWrite,
|
|
|
|
@ -1492,6 +1500,34 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
|
|
|
|
|
exclusive locks on system resources.</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<a name="allowElevatedPermissionsRequest--">
|
|
|
|
|
<!-- -->
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="blockList">
|
|
|
|
|
<li class="blockList">
|
|
|
|
|
<h4>allowElevatedPermissionsRequest</h4>
|
|
|
|
|
<pre>public final void allowElevatedPermissionsRequest​()</pre>
|
|
|
|
|
<div class="block">Allows the library to request elevation of the current user's permissions for use in making certain
|
|
|
|
|
system-specific changes regarding this serial port.
|
|
|
|
|
<p>
|
|
|
|
|
Examples of such changes include reducing the default latency for FTDI-type devices using
|
|
|
|
|
the Windows registry, or adding the current Linux user to the same OS group to which the serial
|
|
|
|
|
port belongs so that they can access the port without having to make these changes manually.
|
|
|
|
|
<p>
|
|
|
|
|
On Windows, if elevated permissions are required, a User Access Control (UAC) dialog box will
|
|
|
|
|
appear, requesting authorization to carry out the privileged operation.
|
|
|
|
|
On a non-Windows system, elevated permissions will be requested as if you had used the 'sudo' command
|
|
|
|
|
in a terminal. As such, this function should not be used if your application does not contain or use
|
|
|
|
|
a console.
|
|
|
|
|
<p>
|
|
|
|
|
Care should be taken when choosing to use this function as it <i>may</i> cause a prompt to appear
|
|
|
|
|
during runtime of your final application requesting permission to make these elevated changes which
|
|
|
|
|
may detract from the user experience of your application. When possible, making any system changes
|
|
|
|
|
related to serial port usage should be done manually before attempting to use such ports, but in some
|
|
|
|
|
situations, this function may make it easier for your application to automatically apply these
|
|
|
|
|
necessary changes.</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<a name="getLastErrorLocation--">
|
|
|
|
|
<!-- -->
|
|
|
|
|
</a>
|
|
|
|
|