1.1.4 • Published 6 years ago

iviva-bimrt-interface-node v1.1.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

iviva-bimrt-interface-node

A node.js helper library for iViva BIMRT Interface

Getting Started

You need to have access to an iVivaCloud installation and have a valid api key.

Requirements

  • Node.js version 4 and above.

Installation

    npm install iviva-bimrt-interface-node

Usage

const BIMRTInterface = require('iviva-bimrt-interface-node');
const interface = new BIMRTInterface();
var logger = new BIMRTInterface.BIMRTInterfaceLogger(); 

/* A sample method when subscribe  event received */
interface.on('subscribe', (address:string, addressDetails:string, callback:function) => {

});

/* A sample method when setdata received */
interface.on('setdata', (address:string, newValue:string, callback:function) => {
    
});

/* A sample method when demandpoll(getdata) event received  */
interface.on('demandpoll', (demandPoints:[]) => {
    
});

/* A sample method to the interface update interface's point */
this.setValue = (address:string, newValue:string) => {

});
1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago