From 8204c3769fde9e0287f1ad4392be9a22af1f0e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20S=2E=20R=C3=B8stad?= Date: Fri, 1 Nov 2024 13:33:47 +0100 Subject: [PATCH] app: network: Disable network quality sampling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are ongoing issues that prevent coneval and ncell occuring at the same time. Disable sampling of network quality to avoid these issues. Typically we see that both fail. Signed-off-by: Simen S. Røstad --- app/src/modules/network/Kconfig.network | 2 ++ app/src/modules/network/network.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/modules/network/Kconfig.network b/app/src/modules/network/Kconfig.network index e2430d52..8db334e6 100644 --- a/app/src/modules/network/Kconfig.network +++ b/app/src/modules/network/Kconfig.network @@ -21,6 +21,8 @@ config APP_NETWORK_EXEC_TIME_SECONDS_MAX help Maximum time allowed for a single execution of the module's thread loop. +config APP_NETWORK_SAMPLE_NETWORK_QUALITY + bool "Sample network quality" module = APP_NETWORK module-str = Network diff --git a/app/src/modules/network/network.c b/app/src/modules/network/network.c index f029813a..1ad39b13 100644 --- a/app/src/modules/network/network.c +++ b/app/src/modules/network/network.c @@ -238,7 +238,10 @@ static void state_sampling_run(void *obj) if (trigger_type == TRIGGER_DATA_SAMPLE) { LOG_DBG("Data sample trigger received, getting network quality data"); - sample_network_quality(); + + if (IS_ENABLED(CONFIG_APP_NETWORK_SAMPLE_NETWORK_QUALITY)) { + sample_network_quality(); + } } } }