You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2018/12/21 17:55:35 UTC
[mynewt-nimble] 01/04: nimble/gap: Increase GAP update timeout
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 9f5637e15c2eefa2450c9cfa1013d041fdad3923
Author: Ćukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Fri Dec 14 18:38:28 2018 +0100
nimble/gap: Increase GAP update timeout
We want to make it longer just to make sure that peer device has time to
reply (LL_RESPONSE_TIMEOUT is 40 sec)
---
nimble/host/src/ble_gap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index ebd4354..9547bca 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -85,7 +85,7 @@
*/
#define BLE_GAP_CANCEL_RETRY_TIMEOUT_MS 100 /* ms */
-#define BLE_GAP_UPDATE_TIMEOUT_MS 30000 /* ms */
+#define BLE_GAP_UPDATE_TIMEOUT_MS 40000 /* ms */
static const struct ble_gap_conn_params ble_gap_conn_params_dflt = {
.scan_itvl = 0x0010,