@arces-wot/sanjs
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

SANjs

A simple library to interect with Sensor Area Network devices.

Usage

Simple command:

const sanjs = require("sanjs")

let SAN = sanjs("/dev/ttyUSB0")

SAN.shortCommand(1,13,[1,2,3]).then(() => {
        console.log("OK")
    }).catch((error) => {
        console.error(error)
    }).then(SAN.close.bind(SAN))

Readme

Keywords

Package Sidebar

Install

npm i @arces-wot/sanjs

Weekly Downloads

0

Version

0.7.2

License

LGPL-3.0-only

Unpacked Size

226 kB

Total Files

44

Last publish

Collaborators

  • cristiano.aguzzi