Add msg.port to serial port input node

This commit is contained in:
Dave Conway-Jones
2018-03-01 18:21:22 +00:00
parent 26458522dd
commit 0253f67882
3 changed files with 8 additions and 7 deletions

View File

@@ -16,6 +16,7 @@
<li>Wait for a timeout in milliseconds from the first character received</li>
<li>Wait to fill a fixed sized buffer</li></ul></p>
<p>It then outputs <code>msg.payload</code> as either a UTF8 ascii string or a binary Buffer object.</p>
<p><code>msg.port</code> is set to the name of the port selected.</p>
<p>If no split character is specified, or a timeout or buffer size of 0, then a stream of single characters
is sent - again either as ascii chars or size 1 binary buffers.</p>
</script>