Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iotclient

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iotclient

This iotClient module can be used for developing node.js client code for IBM IoT Cloud Foundation.

  • 0.2.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by366.67%
Maintainers
3
Weekly downloads
 
Created
Source

iotclient

This iotClient module can be used for developing node.js client code for IBM IoT Foundation

Install

Install from npm

npm install iotclient

Utility

This iotclient module can be used in an app to connect to IBM IoT Cloud. This can be used in both

  1. Quickstart flow
  2. Registered flow

Multiple Callbacks for subscriptions

  • Device Event - Subscribe to device events,
  • Device Command - Subscribe to device commands, on the behalf of a device,
  • Device Status - Subscribe to device status
  • Application Status - Subscribe to application status

Publishing

  • Device Events, on the behalf of a device and
  • Device Commands, for registered devices

Usage

  1. Install the package
  2. Instantiate the app client
var IoTAppClient = require("iotclient");
var appId = "someappid";
var apiKey = null;
var apiToken = null;
var client = new IoTAppClient(appId, apiKey, apiToken);
client.connectBroker(1883);

Keywords

FAQs

Package last updated on 22 May 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc