Skip to content

Commit

Permalink
rename to msg.action
Browse files Browse the repository at this point in the history
  • Loading branch information
htmltiger committed Jun 18, 2023
1 parent 7e509d8 commit d82707a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions io/serialport/locales/en-US/25-serial.html
Expand Up @@ -32,10 +32,8 @@ <h3>Inputs</h3>
<dd>data to be sent via the serial port</dd>
<dt class="optional">baudrate <span class="property-type">string</span></dt>
<dd>baudrate of the serial port (optional)</dd>
<dt class="optional">disconnect <span class="property-type">any</span></dt>
<dd>disconnect the serial port eg. {disconnect: true} (optional)</dd>
<dt class="optional">connect <span class="property-type">any</span></dt>
<dd>attempt to reconnect of the serial port after disconnect eg. {connect: true} (optional)</dd>
<dt class="optional">action <span class="property-type">string</span></dt>
<dd>disconnect/reconnect the serial port eg. {action:"connect"} or {action:"disconnect"}(optional)</dd>
</dl>
<p>Only the <code>msg.payload</code> is sent.</p>
<p>Optionally the baudrate can be changed using <code>msg.baudrate</code>.</p>
Expand Down Expand Up @@ -66,8 +64,7 @@ <h3>Inputs</h3>
<li><code>msg.waitfor</code> must be a single character, escape code, or hex code.
If set, the node will wait until it matches that character in the stream and then start the output.</li>
<li>Optionally the baudrate can be changed using <code>msg.baudrate</code></li>
<li><code>msg.disconnect</code> disconnect the serial port eg. {disconnect: true} (optional)</li>
<li><code>msg.connect</code> attempt to reconnect of the serial port after disconnect eg. {connect: true} (optional)</li>
<li><code>msg.action</code> disconnect/reconnect the serial port eg. {action:"connect"} or {action:"disconnect"} (optional)</li>
</ul>
<h3>Outputs</h3>
<ul>
Expand Down

0 comments on commit d82707a

Please sign in to comment.