Skip to content

Commit

Permalink
app: network: Disable network quality sampling
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
simensrostad committed Nov 1, 2024
1 parent 6160786 commit 8204c37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/src/modules/network/Kconfig.network
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion app/src/modules/network/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}
}
Expand Down

0 comments on commit 8204c37

Please sign in to comment.