From: hcj <1224667075@qq.com> Date: Wed, 7 Jan 2026 10:08:57 +0000 (+0800) Subject: 修复因为错误的扫描参数导致的扫描困难问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F3042%2Ftarget%2F1;p=mirrors%2FFD230.git 修复因为错误的扫描参数导致的扫描困难问题 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/Ln_Bluetooth_apiC.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/Ln_Bluetooth_apiC.cpp index f5827bb05..ec20c781a 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/Ln_Bluetooth_apiC.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/Ln_Bluetooth_apiC.cpp @@ -126,7 +126,7 @@ namespace OHOS } else { - results = gap_br_set_inquiry_paramters(0, 20); + results = gap_br_set_inquiry_paramters(0, 0); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "设置扫描参数 results %d", results); results = gap_br_start_discovery(); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "启动扫描 results %d", results);