From: hcj <1224667075@qq.com> Date: Wed, 16 Oct 2024 12:18:30 +0000 (+0800) Subject: 蓝牙修改,根据需求采取,实时更新连接间隔,BR配对优化(补+ X-Git-Tag: release_V1.2.70_20241020_135402~9^2~16 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=d3278c0e91f5e37f4b28eb70a2f31410e04b3934;p=mirrors%2FFD230.git 蓝牙修改,根据需求采取,实时更新连接间隔,BR配对优化(补+ --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp index bcee8c39d..6db203f18 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp @@ -807,10 +807,10 @@ void BtGapPairStatusChangedCallback(const bd_addr_t *bdAddr, int status) set_br_pair(1); } - // if( && status == GAP_PAIR_NONE ) - // { - // set_br_pair(0); - // } + if( status == GAP_PAIR_PAIRED ) + { + set_br_pair(1); + } }