蓝牙修改,根据需求采取,实时更新连接间隔,BR配对优化(补+ 1198/3 1198/head
authorhcj <1224667075@qq.com>
Wed, 16 Oct 2024 12:18:30 +0000 (20:18 +0800)
committerhcj <1224667075@qq.com>
Wed, 16 Oct 2024 12:18:30 +0000 (20:18 +0800)
code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp

index bcee8c3..6db203f 100644 (file)
@@ -807,10 +807,10 @@ void BtGapPairStatusChangedCallback(const bd_addr_t *bdAddr, int status)
             set_br_pair(1);\r
           \r
         }\r
-        // if(  && status == GAP_PAIR_NONE )\r
-        // {\r
-        //     set_br_pair(0);\r
-        // }\r
+        if( status == GAP_PAIR_PAIRED )\r
+        {\r
+            set_br_pair(1);\r
+        }\r
     }\r
 \r
    \r