mini_program_gizwits_sdk 3.2.25 → 3.2.27-beta.0
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 +3 -1
- package/dist/index.js +3 -3
- package/dist/src/GizLog.d.ts +1 -1
- package/dist/src/handler/ble.d.ts +24 -5
- package/dist/src/handler/lan.d.ts +3 -3
- package/dist/src/handler/socket.d.ts +2 -2
- package/dist/src/productConfigFileManage.d.ts +1 -1
- package/dist/src/protocol/DataPoint.d.ts +5 -5
- package/dist/src/protocol/DiscoverUdp.d.ts +1 -1
- package/dist/src/services/monitor.d.ts +11 -0
- package/dist/src/utils.d.ts +2 -2
- package/dist/src/wifiConfig/ble.d.ts +1 -1
- package/package.json +4 -4
- package/src/handler/ble.ts +210 -114
- package/src/handler/lan.ts +6 -6
- package/src/handler/socket.ts +5 -5
- package/src/openApiRequest.ts +4 -4
- package/src/sdk.ts +30 -30
- package/src/services/monitor.ts +111 -0
- package/src/wifiConfig/ble.ts +17 -23
- package/dist/src/sdk.d.ts +0 -212
package/README.md
CHANGED
|
@@ -211,6 +211,8 @@ interface IDevice {
|
|
|
211
211
|
isOnline: boolean; // 代表大循环在线
|
|
212
212
|
isLanOnline: boolean; // 代表小循环在线
|
|
213
213
|
isBleOnline: boolean; // 代表蓝牙在线
|
|
214
|
+
bleWorkStatus?: number; // 蓝牙设备状态 0 默认状态 1 配网状态
|
|
215
|
+
connectType: TConnectType; // 当前连接类型
|
|
214
216
|
}
|
|
215
217
|
```
|
|
216
218
|
|
|
@@ -243,7 +245,7 @@ interface IError {
|
|
|
243
245
|
|
|
244
246
|
销毁事件监听。
|
|
245
247
|
|
|
246
|
-
#
|
|
248
|
+
# 配网相关
|
|
247
249
|
|
|
248
250
|
## 使用方法
|
|
249
251
|
|