This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

iotclient

0.2.4 • Public • Published

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);

Readme

Keywords

Package Sidebar

Install

npm i iotclient

Weekly Downloads

27

Version

0.2.4

License

none

Last publish

Collaborators

  • durera
  • icraggs