From a1f2e3079e2d70a6631fa9552da2776361b396af Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 16 Oct 2025 15:41:25 +0800 Subject: [PATCH] =?utf8?q?=E7=A6=85=E9=81=931442=EF=BC=9A=E8=A7=A3?= =?utf8?q?=E5=86=B3=E6=89=8B=E8=A1=A8-=E8=93=9D=E7=89=99-=E8=BF=9E?= =?utf8?q?=E6=8E=A5=E8=93=9D=E7=89=99=E8=80=B3=E6=9C=BA=E5=90=8E=E6=98=BE?= =?utf8?q?=E7=A4=BA=E5=BC=82=E5=B8=B8=EF=BC=8C=E6=97=A0=E6=B3=95=E9=87=8D?= =?utf8?q?=E8=BF=9E=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp | 2 +- .../nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp | 2 +- .../n9/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp | 2 +- code/sdk/build/config/target_config/brandy/config.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp b/code/sdk/application/wearable/fd230/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp index 0250e227c..7ef18ff8a 100644 --- a/code/sdk/application/wearable/fd230/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp +++ b/code/sdk/application/wearable/fd230/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp @@ -167,7 +167,7 @@ namespace OHOS /* ------------------------------ 检查ACL链路是否连接。 ------------------------------ */ { - #ifdef SUPPORT_BT_SERVICE + #ifdef SUPPORT_BLE_SERVICE bool aclConnected = bt_is_acl_connected((const bd_addr_t *)&infoData.addr); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "BluetoothItemView::SetConnectionstatus aclConnected %d", aclConnected); #else diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp index 0250e227c..7ef18ff8a 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp @@ -167,7 +167,7 @@ namespace OHOS /* ------------------------------ 检查ACL链路是否连接。 ------------------------------ */ { - #ifdef SUPPORT_BT_SERVICE + #ifdef SUPPORT_BLE_SERVICE bool aclConnected = bt_is_acl_connected((const bd_addr_t *)&infoData.addr); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "BluetoothItemView::SetConnectionstatus aclConnected %d", aclConnected); #else diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp index 0250e227c..7ef18ff8a 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/bluetooth/src/BluetoothItemView.cpp @@ -167,7 +167,7 @@ namespace OHOS /* ------------------------------ 检查ACL链路是否连接。 ------------------------------ */ { - #ifdef SUPPORT_BT_SERVICE + #ifdef SUPPORT_BLE_SERVICE bool aclConnected = bt_is_acl_connected((const bd_addr_t *)&infoData.addr); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "BluetoothItemView::SetConnectionstatus aclConnected %d", aclConnected); #else diff --git a/code/sdk/build/config/target_config/brandy/config.py b/code/sdk/build/config/target_config/brandy/config.py index 42cba787c..997a3111b 100644 --- a/code/sdk/build/config/target_config/brandy/config.py +++ b/code/sdk/build/config/target_config/brandy/config.py @@ -383,7 +383,6 @@ target = { #'ENABLE_VIBRATOR', 'ENCODER_SUPPORT', 'SUPPORT_CAT1_HFP_AG_SERV', - # 'SUPPORT_BT_SERVICE', # 'SUPPORT_PHONE_SERVICE', # 'SUPPORT_SPO2_NOTIFICATION', # 'SUPPORT_SPO2_NOTIFICATION_TEST', @@ -982,6 +981,7 @@ target = { # 'ENABLE_SHAPING', 'SUPPORT_CHARGER_PLUG_DETECTION_NOTIFICATION', # 'SUPPORT_AT_CUSTOMUTILS', + 'SUPPORT_CAT1_HFP_AG_SERV', 'SUPPORT_BLE_SERVICE', 'SUPPORT_MAG_SERVICE', 'SUPPORT_PPG_SERVICE', -- 2.17.1