Update 25-serial.html

This commit is contained in:
htmltiger 2023-06-18 01:22:35 +01:00 committed by GitHub
parent 728bbc3475
commit 05e3a1b600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,10 @@
<dd>data to be sent via the serial port</dd> <dd>data to be sent via the serial port</dd>
<dt class="optional">baudrate <span class="property-type">string</span></dt> <dt class="optional">baudrate <span class="property-type">string</span></dt>
<dd>baudrate of the serial port (optional)</dd> <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>
</dl> </dl>
<p>Only the <code>msg.payload</code> is sent.</p> <p>Only the <code>msg.payload</code> is sent.</p>
<p>Optionally the baudrate can be changed using <code>msg.baudrate</code>.</p> <p>Optionally the baudrate can be changed using <code>msg.baudrate</code>.</p>