|
@@ -279,6 +279,7 @@ Page({
|
|
|
deviceId: deviceId,
|
|
deviceId: deviceId,
|
|
|
sn: nameList[1]
|
|
sn: nameList[1]
|
|
|
})
|
|
})
|
|
|
|
|
+ wx.offBluetoothDeviceFound()
|
|
|
},
|
|
},
|
|
|
// 开始配网
|
|
// 开始配网
|
|
|
bindViewConnect() {
|
|
bindViewConnect() {
|
|
@@ -519,7 +520,7 @@ Page({
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- //监听通知
|
|
|
|
|
|
|
+ //监听通知
|
|
|
onNotify: function () {
|
|
onNotify: function () {
|
|
|
//console.log("=========== onNotify ============");
|
|
//console.log("=========== onNotify ============");
|
|
|
var self = this;
|
|
var self = this;
|