设备连接添加超时
This commit is contained in:
parent
a556de9f6e
commit
32c7aa1a7b
@ -618,6 +618,7 @@ export const useBluetoothStore = defineStore('ble', {
|
||||
}
|
||||
uni.createBLEConnection({
|
||||
deviceId: that.currentLockInfo.deviceId,
|
||||
timeout: 10000,
|
||||
success(res) {
|
||||
console.log('连接成功', res)
|
||||
// 获取设备服务
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user