增加在产测蓝牙测试的退出时的关闭蓝牙扫描 1390/1 1390/head
authorhcj <1224667075@qq.com>
Tue, 12 Nov 2024 09:12:49 +0000 (17:12 +0800)
committerhcj <1224667075@qq.com>
Tue, 12 Nov 2024 09:12:49 +0000 (17:12 +0800)
code/sdk/application/wearable/fd230app/nativeui/producttest/src/testbt.cpp

index 71a5668..c4652c8 100644 (file)
@@ -92,6 +92,9 @@ namespace OHOS
                     label_BR_SCAN[i]=nullptr;
                 }
             }
+
+            bool ret = gap_br_cancel_discovery();
+
             BluetoothModel::GetInstance()->set_test_bt_falg(false);
 
             uint8_t cnt = pm_veto_get_id_cnt(PM_ID_P_TEST);