From 9b080e36578f42d93d72a062f61b94cf5c3cc9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Narajowski?= Date: Tue, 13 Feb 2018 12:17:34 +0100 Subject: [PATCH] mesh: cfg_cli: Set default message timeout to 5 seconds To be able to process long messages like composition data get. X-Original-Commit: cb2a7cb98ac55ece8d007dab1f70b7bf4bc2bc50 --- nimble/host/mesh/src/cfg_cli.c | 2 +- nimble/host/mesh/src/health_cli.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nimble/host/mesh/src/cfg_cli.c b/nimble/host/mesh/src/cfg_cli.c index 2ec090549..05c302bd1 100644 --- a/nimble/host/mesh/src/cfg_cli.c +++ b/nimble/host/mesh/src/cfg_cli.c @@ -25,7 +25,7 @@ struct comp_data { struct os_mbuf *comp; }; -static s32_t msg_timeout = K_SECONDS(2); +static s32_t msg_timeout = K_SECONDS(5); static struct bt_mesh_cfg_cli *cli; diff --git a/nimble/host/mesh/src/health_cli.c b/nimble/host/mesh/src/health_cli.c index 35affba79..b94e6c29c 100644 --- a/nimble/host/mesh/src/health_cli.c +++ b/nimble/host/mesh/src/health_cli.c @@ -23,7 +23,7 @@ #include "foundation.h" #include "mesh/health_cli.h" -static s32_t msg_timeout = K_SECONDS(2); +static s32_t msg_timeout = K_SECONDS(5); static struct bt_mesh_health_cli *health_cli;