I am new to getting data from serial device with Node RED. Can have the serial port
- What is the purpose of settings DTR, RTS, CTS and DSR in serial port configuration? Is this impact while fetching data from serial device?
- Ideally which of the following statement is correct according to the Node RED?
a. Serial device is sending data to "serial request" node. (Device to Node RED)
b. "serial request" node is fetching data from serial device. (Node RED to Device)
Over period of time or in random scenario we are receiving empty string from device.
My flow as following:
[{"id":"c8d9b582.438dd8","type":"inject","z":"eedcc5ab.020cc8","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":500,"y":400,"wires":[["cda2d5c3.ac5828"]]},{"id":"cda2d5c3.ac5828","type":"serial request","z":"eedcc5ab.020cc8","name":"","serial":"165287c3.b06ea8","x":650,"y":320,"wires":[["48c7a8c9.021908","5d8fb72b.33b878"]]},{"id":"5d8fb72b.33b878","type":"debug","z":"eedcc5ab.020cc8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":780,"y":400,"wires":[]},{"id":"165287c3.b06ea8","type":"serial-port","serialport":"COM3","serialbaud":"2400","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"\\n","bin":"false","out":"char","addchar":"false","responsetimeout":"3000"}]