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

enniot-device-sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enniot-device-sdk - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

14

index.js

@@ -39,3 +39,3 @@ const _ = require('lodash');

const memory_used = memory.used || Number(res[0].used_memory.replace(/mb/i, '')) * 1000000;
console.log(res)
return {

@@ -57,2 +57,4 @@ gateway_eui: res[0].gateway_eui,

humidity: Number(res[0].humidity),
fw_version: res[0].fw_version,
hw_version: res[0].hw_version,
}

@@ -76,3 +78,3 @@ }

type: "fwupdate_info",
content: [params],
content: params.content,
});

@@ -107,2 +109,10 @@ return res;

}
// 蜂窝网络读取
async getCellular() {
const res = await this.tcp.invoke({
method: "GET",
type: "cellular",
});
return res;
}
// 蜂窝网络设置

@@ -109,0 +119,0 @@ async setCellular(params) {

2

package.json
{
"name": "enniot-device-sdk",
"version": "0.0.11",
"version": "0.0.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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