🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

usriot.js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usriot.js

Client lib for USR IoT WiFi IO device

latest
npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

Node.js client library to communicate with USR IoT devices#

Usage

var WiFiIO = require('wifiio.js');
var connection = new WiFiIO({host: 'localhost', port: 8899});
connection.connect(function () {
    console.log('Connected successfully!');
    connection.invertIO(3, function () {
        connection.disconnect();
        process.exit();
    });
});

Look for more examples here: /example

Author

Alexander Borovsky, BeeToo

TODOs

  • Take a look at C# library: https://github.com/JohnMasen/USRWin
  • Add more test suites with mockup device
  • Add response parsing
  • Add keep-alive and auto reconnect
  • Add send queue
  • Implement multiple channels command, such as 0x07 BBBB select multiple channel clear

Official Protocol documentation

Keywords

usriot

FAQs

Package last updated on 03 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts