From 8aef6154b99022056fd7b7676904f38c3fba24b0 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Fri, 17 Mar 2023 12:43:40 +0800 Subject: [PATCH] =?UTF-8?q?wifi=20=E5=A2=9E=E5=8A=A0bssid=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E9=9D=9E=E7=A9=BA=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 1 - uni_modules/uni-wifi/utssdk/app-android/index.uts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 20b310f..d324f8d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -43,7 +43,6 @@ uni.connectWifi({ maunal:false, SSID:"Xiaomi_20D0", - BSSID:"", password:"BBBB", complete:(res)=>{ console.log(res); diff --git a/uni_modules/uni-wifi/utssdk/app-android/index.uts b/uni_modules/uni-wifi/utssdk/app-android/index.uts index 4dcbb9c..c2fb466 100644 --- a/uni_modules/uni-wifi/utssdk/app-android/index.uts +++ b/uni_modules/uni-wifi/utssdk/app-android/index.uts @@ -42,7 +42,7 @@ type GetConnectedWifiOptions = { */ type WifiConnectOption = { SSID:string; - BSSID:string; + BSSID?:string; password:string; maunal:boolean; // 只返回ssid -- GitLab