tcp-serial
A virtual node-serialport implementation that uses TCP/dgram as the transport.
Installation
npm install tcp-serial
TCPSerialPort
Use TCP/dgram to send/receive data to a remote physical device:
'use strict'; var VirtualSerialPort = SerialPort;var firmata = ; //create the tcp serialport and specify the host and port to connect tovar sp = host: 'localhost' type: 'tcp4' port: 41234; //use the serial port to send a command to a remote firmata(arduino) devicevar board = sp;board;