0.0.7 • Published 6 years ago

adi-tests-donotlook v0.0.7

Weekly downloads
25
License
Axonize
Repository
-
Last release
6 years ago

Introduction

Axonize SDK created for developers that works with Axonize IoT orchestration platform. The SDK would help developers have fasters integration with device manufacturers and the Axonize platform.

Build

npm install axonize-sdk

#Test run the command "mocha" using a basic command line

#Quick Start Please checkout samples\reoccuringSensorUpdate.js

Or use the following basic example:

const Device = require('axonize-sdk').Device;

const device = new Device("fill device id",
                        "fill product id",
                        "fill app id",
                        "fill hub key",
                        "iot hub host name");

//The interval which would trigger a temperature update in seconds                             

const main = async () => {
    device.addProperty("Temperature", 22, 7, null, true);
    await device.start();
    device.updateProperty("Temperature", 25);
    await device.stop();  
}

const callmain = async ()=>{
    main();
}

callmain();
0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago