Naming Prosecution Mitigator
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jssc_korusyspublic

    Java(Script) Serial Connector

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

    Install:

    npm install jssc_korusys
    

    Use:

    var jssc_korusys = require('jssc_korusys');
    
    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

    See Original module for requirements A Knowledge of Java if you wish to do anything but read raw data from the port

    Keywords

    none

    install

    npm i jssc_korusys

    Downloadsweekly downloads

    5

    version

    0.0.2

    license

    BSD

    last publish

    collaborators

    • avatar