mini_program_gizwits_sdk 3.2.20-beta → 3.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist/index.js +3 -3
- package/dist/src/GizLog.d.ts +1 -1
- package/dist/src/handler/ble.d.ts +3 -3
- package/dist/src/protocol/Ntp.d.ts +5 -0
- package/dist/src/protocol/OffLineData.d.ts +23 -0
- package/dist/src/protocol/tool.d.ts +1 -0
- package/dist/src/sdk.d.ts +38 -7
- package/dist/src/services/devices.d.ts +10 -0
- package/dist/src/services/uploadP0.d.ts +13 -0
- package/global.d.ts +1 -1
- package/package.json +2 -2
- package/src/GizLog.ts +1 -2
- package/src/global.d.ts +1 -0
- package/src/handler/ble.ts +18 -15
- package/src/handler/socket.ts +26 -9
- package/src/protocol/Ntp.ts +13 -0
- package/src/protocol/OffLineData.ts +81 -0
- package/src/protocol/WifiConfig.ts +1 -0
- package/src/protocol/dataPoint.ts +9 -20
- package/src/protocol/tool.ts +11 -0
- package/src/sdk.ts +327 -21
- package/src/services/devices.ts +33 -0
- package/src/services/uploadP0.ts +56 -0
- package/src/utils.ts +9 -0
- package/src/wechatApi.ts +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# 机智云小程序蓝牙 SDK
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
## 🔴 破坏性更新
|
|
7
|
+
|
|
8
|
+
- 3.2.4(含)开始蓝牙广播包过滤增加了 `['ABF8', 'ABF0', 'F0AB', 'F8AB']` 四个过滤字段,为了兼容部分低端手机不过滤,长时间挂机会假死的问题。
|
|
9
|
+
- 乐鑫_0ESP32C3_0403000G 和 博流_00BL602L_0403000B 之后的版本都支持这个特性。
|
|
10
|
+
- 如果您使用的是更早期的固件,请联系我们。
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## ⚠️ 重要
|
|
6
14
|
|
|
7
15
|
使用小程序 sdk 前,请在微信开发者后台-开发管理-开发设置-服务器域名添加以下请求地址。
|
|
@@ -313,8 +321,3 @@ const errorCode: IErrorCode = {
|
|
|
313
321
|
},
|
|
314
322
|
};
|
|
315
323
|
```
|
|
316
|
-
|
|
317
|
-
## 🔴 破坏性更新
|
|
318
|
-
|
|
319
|
-
- 原 `productSecrets ` 字段变更为 `productSecret`
|
|
320
|
-
|