mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00: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>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="rawserial in">
|
<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>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>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>
|
<p>Windows<pre>mode COM1:9600,n,8,1</pre>
|
||||||
@ -66,7 +67,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('rawserial in',{
|
RED.nodes.registerType('rawserial in',{
|
||||||
category: 'advanced-input',
|
category: 'deprecated',
|
||||||
color:"BurlyWood",
|
color:"BurlyWood",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
@ -99,6 +100,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="rawserial out">
|
<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>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>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>
|
<p>Windows<pre>mode COM1:9600,n,8,1</pre>
|
||||||
@ -109,7 +111,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('rawserial out',{
|
RED.nodes.registerType('rawserial out',{
|
||||||
category: 'advanced-input',
|
category: 'deprecated',
|
||||||
color:"BurlyWood",
|
color:"BurlyWood",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -23,7 +23,7 @@ module.exports = function(RED) {
|
|||||||
var pre = "\\\\.\\";
|
var pre = "\\\\.\\";
|
||||||
|
|
||||||
if (!plat.match(/^win/)) {
|
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.");
|
//util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
|
||||||
pre = "";
|
pre = "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user