mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	rename to msg.action
This commit is contained in:
		@@ -32,10 +32,8 @@
 | 
			
		||||
        <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>
 | 
			
		||||
@@ -66,8 +64,7 @@
 | 
			
		||||
        <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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user