From 05e3a1b6004623a5b0fa9477f408be8c7c1f0631 Mon Sep 17 00:00:00 2001 From: htmltiger <1429451+htmltiger@users.noreply.github.com> Date: Sun, 18 Jun 2023 01:22:35 +0100 Subject: [PATCH] Update 25-serial.html --- io/serialport/locales/en-US/25-serial.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/io/serialport/locales/en-US/25-serial.html b/io/serialport/locales/en-US/25-serial.html index 9094acce..5ea6bb62 100644 --- a/io/serialport/locales/en-US/25-serial.html +++ b/io/serialport/locales/en-US/25-serial.html @@ -32,6 +32,10 @@
data to be sent via the serial port
baudrate string
baudrate of the serial port (optional)
+
disconnect any
+
disconnect the serial port eg. {disconnect: true} (optional)
+
connect any
+
attempt to reconnect of the serial port after disconnect eg. {connect: true} (optional)

Only the msg.payload is sent.

Optionally the baudrate can be changed using msg.baudrate.