From c7ee2af2145454f40ffee82c41e07eaeebcccc99 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 2 Jul 2024 20:40:05 +0800 Subject: [PATCH] update --- src/zble_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zble_module.c b/src/zble_module.c index d38e0c9..975c0cb 100644 --- a/src/zble_module.c +++ b/src/zble_module.c @@ -18,7 +18,7 @@ #define MIN_CONN_INTERVAL MSEC_TO_UNITS(80, UNIT_1_25_MS) /**< Minimum acceptable connection interval (20 ms), Connection interval uses 1.25 ms units. */ #define MAX_CONN_INTERVAL MSEC_TO_UNITS(100, UNIT_1_25_MS) /**< Maximum acceptable connection interval (75 ms), Connection interval uses 1.25 ms units. */ #define SLAVE_LATENCY 1 /**< Slave latency. */ -#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) /**< Connection supervisory timeout (4 seconds), Supervision Timeout uses 10 ms units. */ +#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(1000, UNIT_10_MS) /**< Connection supervisory timeout (4 seconds), Supervision Timeout uses 10 ms units. */ #define NUS_SERVICE_UUID_TYPE BLE_UUID_TYPE_VENDOR_BEGIN /**< UUID type for the Nordic UART Service (vendor specific). */ BLE_ADVERTISING_DEF(m_advertising); /**< Advertising module instance. */