From 753b634afbf9c8afe7bfd7052cc91f378818290c Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Mon, 18 Nov 2024 15:55:26 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9ble=E8=BF=9E=E6=8E=A5=E5=8F=82?= =?utf8?q?=E6=95=B0=EF=BC=8C=E9=80=82=E9=85=8D=E6=9B=B4=E5=A4=9A=E6=9C=BA?= =?utf8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleService.c | 2 +- .../wearable/service/ble_service/bleservice/bleService.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c index df453288a..ffb8fbd40 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c @@ -556,7 +556,7 @@ void uapi_ble_connect_param_update(uint16_t data) conn_param.interval_min =data; /* param 1: interval_min 1.25ms */ conn_param.interval_max = data; /* param 2: interval_max */ conn_param.slave_latency = 6; /* param 3: slave_latency */ - conn_param.timeout_multiplier = 700; /* param 4: timeout_multiplier 10ms */ + conn_param.timeout_multiplier = 500; /* param 4: timeout_multiplier 10ms */ int ret = gap_ble_connect_param_update(&conn_param); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"gap ble update connection parameters %d ret: %X\n",data,ret); } diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.h b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.h index ba3154460..8cf27f501 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.h +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.h @@ -11,7 +11,7 @@ extern "C" { #include "errcode.h" #define BLE_CONNECT_INTERVAL_SLOW 50 -#define BLE_CONNECT_INTERVAL_HIGH 10 +#define BLE_CONNECT_INTERVAL_HIGH 12 extern uint16_t g_ble_conn_id; -- 2.17.1