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