single process manager of transient serialport connections
Manage transient serialport connections.
npm install serialport-manager
var spm = require('serialport-manager');
spm(function(err, connection, deviceList) {
connection.write(deviceList[0].comName + '\n');
connection.pipe(process.stdout);
});
calling spm
above performs the following actions:
spm
commName
I want plug and play serial devices. I also want them to be accessible by more than one program.
MIT