This commit is contained in:
Kevin Hester
2021-05-24 10:16:00 +08:00
parent 9f7b584383
commit 99fe1f9fa7
19 changed files with 93 additions and 73 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="generator" content="pdoc 0.9.1" />
<meta name="generator" content="pdoc 0.9.2" />
<title>meshtastic API documentation</title>
<meta name="description" content="an API for Meshtastic devices …" />
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin>
@@ -1006,7 +1006,7 @@ class SerialInterface(StreamInterface):
# Note: we provide None for port here, because we will be opening it later
self.stream = serial.Serial(
None, 921600, exclusive=True, timeout=0.5)
None, 921600, exclusive=True, timeout=0.5, write_timeout=0)
# rts=False Needed to prevent TBEAMs resetting on OSX, because rts is connected to reset
self.stream.port = devPath
@@ -2277,7 +2277,8 @@ wantResponse &ndash; True if you want the service on the other side to send an a
<pre><code class="python">class ResponseHandler(NamedTuple):
&#34;&#34;&#34;A pending response callback, waiting for a response to one of our messages&#34;&#34;&#34;
# requestId: int - used only as a key
callback: Callable</code></pre>
callback: Callable
# FIXME, add timestamp and age out old requests</code></pre>
</details>
<h3>Ancestors</h3>
<ul class="hlist">
@@ -2332,7 +2333,7 @@ debugOut {stream} &ndash; If a stream is provided, any debug serial output from
# Note: we provide None for port here, because we will be opening it later
self.stream = serial.Serial(
None, 921600, exclusive=True, timeout=0.5)
None, 921600, exclusive=True, timeout=0.5, write_timeout=0)
# rts=False Needed to prevent TBEAMs resetting on OSX, because rts is connected to reset
self.stream.port = devPath
@@ -2797,7 +2798,7 @@ hostname {string} &ndash; Hostname/IP address of the device to connect to</p></d
</nav>
</main>
<footer id="footer">
<p>Generated by <a href="https://pdoc3.github.io/pdoc"><cite>pdoc</cite> 0.9.1</a>.</p>
<p>Generated by <a href="https://pdoc3.github.io/pdoc"><cite>pdoc</cite> 0.9.2</a>.</p>
</footer>
</body>
</html>