New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qcloud-iotexplorer-h5-panel-sdk

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcloud-iotexplorer-h5-panel-sdk - npm Package Compare versions

Comparing version 1.1.19-beta.1 to 1.1.19-beta.2

2

package.json
{
"name": "qcloud-iotexplorer-h5-panel-sdk",
"version": "1.1.19-beta.1",
"version": "1.1.19-beta.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/release/qcloud-iotexplorer-h5-panel-sdk",

@@ -674,2 +674,13 @@ # qcloud-iotexplorer-h5-panel-sdk

#### deviceAdapter.readBLECharacteristicValue({ serviceId, characteristicId });
* serviceId?: string; 可选,默认为主服务id
* characteristicId: string; 需要读取的特征值id,默认会取主服务下的第一个read特征值
接口读取到的信息需要在 onBLECharacteristicValueChange 方法注册的回调中获取。具体参考[官方文档](https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth-ble/wx.readBLECharacteristicValue.html)。
#### deviceAdapter.getBLEDeviceRSSI()
获取蓝牙设备的信号强度。
#### deviceAdapter.notifyBLECharacteristicValueChange({ characteristicId?: string; serviceId?: string; state?: boolean }) => Promise<void>

@@ -727,2 +738,3 @@

* connectDevice 支持不自动处理订阅特征值notify
* 增加readBLECharacteristicValue、getBLEDeviceRSSI 方法

@@ -729,0 +741,0 @@ ### v1.1.18(2020.9.21)

Sorry, the diff of this file is too big to display

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