iot-nodejs:使用Node.js连接到IBM Watson IoT的客户端库和示例

时间:2021-05-10 22:49:19
【文件属性】:
文件名称:iot-nodejs:使用Node.js连接到IBM Watson IoT的客户端库和示例
文件大小:62KB
文件格式:ZIP
更新时间:2021-05-10 22:49:19
nodejs iot sdk JavaScript IBM Watson IoT Platform Javascript SDK 安装 npm install @wiotp/sdk --save 用法 应用 import { ApplicationClient , ApplicationConfig } from '@wiotp/sdk' ; let appConfig = ApplicationConfig . parseEnvVars ( ) ; let appClient = new ApplicationClient ( appConfig ) ; appClient . connect ( ) ; // Do stuff appClient . disconnect ( ) ; 设备 import { DeviceClient , DeviceConfig } from '@wiotp/sdk' ; let deviceConfi
【文件预览】:
iot-nodejs-master
----.travis.yml(613B)
----CLA.md(2KB)
----.babelrc(47B)
----docs()
--------index.html(12B)
----package.json(2KB)
----test()
--------ApplicationConfig.spec.js(4KB)
--------StateClient.spec.js(5KB)
--------ApplicationConfigFile.spec.yaml(474B)
--------GatewayClient.spec.js(9KB)
--------ApplicationClient.spec.js(6KB)
--------DeviceClient.spec.js(9KB)
--------DeviceConfig.spec.js(5KB)
--------incorrectLogLevelTest.spec.yaml(41B)
--------GatewayConfig.spec.js(1KB)
--------DscClient.spec.js(20KB)
--------DeviceConfigFile.spec.yaml(344B)
----LICENSE(11KB)
----src()
--------index.js(1KB)
--------util.js(1KB)
--------gateway()
--------api()
--------BaseClient.js(8KB)
--------application()
--------device()
--------BaseConfig.js(6KB)
----.npmignore(80B)
----samples()
--------BatteryLife()
--------webpack()
----.gitignore(217B)
----README.md(2KB)

网友评论