1
0
forked from dyf/APP

670完成

This commit is contained in:
liub
2025-08-27 09:08:59 +08:00
parent dfb6f29683
commit cd912b861e
9 changed files with 369 additions and 143 deletions

View File

@ -335,6 +335,8 @@ class BleHelper {
}
uni.getBluetoothAdapterState({
success: (info) => {
this.data.available=info.available;
this.data.discovering=info.discovering;
resolve(info);
},
fail: (ex1) => {
@ -358,6 +360,7 @@ class BleHelper {
resolve(false);
return;
}
uni.openBluetoothAdapter({
success: (args) => {
console.log("蓝牙初始化成功:" + JSON.stringify(args));