Socket
Socket
Sign inDemoInstall

qcloud-iotexplorer-bluetooth-adapter-llsync

Package Overview
Dependencies
17
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-alpha.7 to 3.0.0

3

dist/cjs/base/LLSync/LLSyncProtocol.js

@@ -536,2 +536,3 @@ "use strict";

const { DEVICE_DATA_WRITE_HEAD, DEVICE_DATA_WRITE_SUFFIX, REPORT_RESULT, DEVICE_DATA_WRITE_ID, } = constants;
console.info('dj debug byteUtil.convertNumberToByte1', byteUtil, byteUtil.convertNumberToByte);
let data = `${(0, libs_1.getTypeHead)(DEVICE_DATA_WRITE_HEAD[REPORT_RESULT], DEVICE_DATA_WRITE_SUFFIX[REPORT_RESULT])}${byteUtil.byteToHex(byteUtil.convertNumberToByte(code))}`;

@@ -548,2 +549,3 @@ // 加密data再发送

const { DEVICE_DATA_WRITE_HEAD, EVENT_REPLY, DEVICE_DATA_WRITE_ID, } = constants;
console.info('dj debug byteUtil.convertNumberToByte2', byteUtil, byteUtil.convertNumberToByte);
let data = `${(0, libs_1.getTypeHead)(DEVICE_DATA_WRITE_HEAD[EVENT_REPLY], eventIndex)}${byteUtil.byteToHex(byteUtil.convertNumberToByte(code))}`;

@@ -560,2 +562,3 @@ if (this.deviceAdapter.isEncrypted) {

// 因为要处理分片,都做为数组来处理吧
console.info('dj debug byteUtil.convertNumberToByte3', byteUtil, byteUtil.convertNumberToByte);
let data = [`${(0, libs_1.getTypeHead)(DEVICE_DATA_WRITE_HEAD[GET_STATUS], DEVICE_DATA_WRITE_SUFFIX[GET_STATUS])}`, byteUtil.byteToHex(byteUtil.convertNumberToByte(code))];

@@ -562,0 +565,0 @@ if (tlvData) {

16

package.json
{
"name": "qcloud-iotexplorer-bluetooth-adapter-llsync",
"version": "3.0.0-alpha.7",
"version": "3.0.0",
"description": "",

@@ -21,8 +21,8 @@ "bugs": {

"dependencies": {
"event-emitter-for-miniprogram": "3.0.0-alpha.7",
"iotexplorer-ui-dev-config": "3.0.0-alpha.7",
"qcloud-iotexplorer-appdev-sdk": "3.0.0-alpha.7",
"qcloud-iotexplorer-bluetooth-adapter": "3.0.0-alpha.7",
"qcloud-iotexplorer-common-libs": "3.0.0-alpha.7",
"qcloud-iotexplorer-logger": "3.0.0-alpha.7",
"event-emitter-for-miniprogram": "3.0.0",
"iotexplorer-ui-dev-config": "3.0.0",
"qcloud-iotexplorer-appdev-sdk": "3.0.0",
"qcloud-iotexplorer-bluetooth-adapter": "3.0.0",
"qcloud-iotexplorer-common-libs": "3.0.0",
"qcloud-iotexplorer-logger": "3.0.0",
"shortid-for-miniprogram": "^2.2.15",

@@ -35,3 +35,3 @@ "spark-md5": "^3.0.1",

},
"gitHead": "2beee0b6e6dcf5f91d52e77b54f80d8312110cbd"
"gitHead": "fb4a4e7443c024ec8bfdf3429460e7e679736297"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc