mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	clarify serial port timeout doc info
This commit is contained in:
		@@ -13,7 +13,7 @@
 | 
			
		||||
<script type="text/x-red" data-help-name="serial in">
 | 
			
		||||
    <p>Reads data from a local serial port.</p>
 | 
			
		||||
    <p>Can either <ul><li>wait for a "split" character (default \n). Also accepts hex notation (0x0d).</li>
 | 
			
		||||
    <li>Wait for a timeout in milliseconds for the first character received</li>
 | 
			
		||||
    <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>If no split character is specified, or a timeout or buffer size of 0, then a stream of single characters
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,7 @@ the device, however you many need to manually specify it. COM1, /dev/ttyUSB0, et
 | 
			
		||||
It can either
 | 
			
		||||
 | 
			
		||||
 - wait for a "split" character (default \n). Also accepts hex notation (0x0a).
 | 
			
		||||
 - wait for a timeout in milliseconds for the first character received
 | 
			
		||||
 - wait for a timeout in milliseconds from the first character received
 | 
			
		||||
 - wait to fill a fixed sized buffer
 | 
			
		||||
 | 
			
		||||
It then outputs `msg.payload` as either a UTF8 ascii string or a binary Buffer object.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,9 @@
 | 
			
		||||
{
 | 
			
		||||
    "name"          : "node-red-node-serialport",
 | 
			
		||||
    "version"       : "0.6.3",
 | 
			
		||||
    "version"       : "0.6.4",
 | 
			
		||||
    "description"   : "Node-RED nodes to talk to serial ports",
 | 
			
		||||
    "dependencies"  : {
 | 
			
		||||
        "serialport"   : "^6.0.4"
 | 
			
		||||
        "serialport"   : "^6.0.5"
 | 
			
		||||
    },
 | 
			
		||||
    "repository" : {
 | 
			
		||||
        "type":"git",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user