Skip to content
/ node-jssc Public

Simple serial connections for Node.js. Uses the Java jssc applet.

Notifications You must be signed in to change notification settings

tcr/node-jssc

Repository files navigation

Java(Script) Serial Connector

jssc, Java Simple Serial Connector, ported to Node.js.

Install:

npm install jssc

Use:

var jssc = require('jssc');

var serial = jssc.listen(path[, debugmode]);

// writing data
serial.write(buffer, function (err) { ... });

// events
serial.on('connected', function (err) { ... })
serial.on('data', function (err) { ... })
serial.on('error', function (err) { ... })
serial.on('close', function (err) { ... })

// serial line controls
serial.on('cts', function (isClearToSend) { ... })
serial.on('dsr', function (isDataSetReady) { ... })

Requirements

  • Java
  • courage

About

Simple serial connections for Node.js. Uses the Java jssc applet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published