mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Deprecate Rawserial node - no longer needed
as Windows now has binary support built in.
This commit is contained in:
parent
5982da8495
commit
102c4b4d6c
@ -56,6 +56,7 @@
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="rawserial in">
|
||||
<p><b>DEPERECATED :</b> Rawseerial is now deprecated as the serialport npm now provide pre-compiled binaries for Windows.</p>
|
||||
<p>Uses a simple read of the serial port as a file to input data.</p>
|
||||
<p>You MUST set the baud rate etc <i>externally</i> before starting Node-RED. For example.</p>
|
||||
<p>Windows<pre>mode COM1:9600,n,8,1</pre>
|
||||
@ -66,7 +67,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('rawserial in',{
|
||||
category: 'advanced-input',
|
||||
category: 'deprecated',
|
||||
color:"BurlyWood",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
@ -99,6 +100,7 @@
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="rawserial out">
|
||||
<p><b>DEPERECATED :</b> Rawseerial is now deprecated as the serialport npm now provide pre-compiled binaries for Windows.</p>
|
||||
<p>Uses a simple file write to output <b>msg.payload</b> to the serial port.</p>
|
||||
<p>You MUST set the baud rate etc <i>externally</i> before starting Node-RED. For example.</p>
|
||||
<p>Windows<pre>mode COM1:9600,n,8,1</pre>
|
||||
@ -109,7 +111,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('rawserial out',{
|
||||
category: 'advanced-input',
|
||||
category: 'deprecated',
|
||||
color:"BurlyWood",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -23,7 +23,7 @@ module.exports = function(RED) {
|
||||
var pre = "\\\\.\\";
|
||||
|
||||
if (!plat.match(/^win/)) {
|
||||
throw "Info : only really needed for Windows boxes without serialport npm module installed.";
|
||||
throw "Info : only needed for Windows boxes without serialport npm module installed.";
|
||||
//util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
|
||||
pre = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user