Skip to content

Commit e8100a2

Browse files
committed
modules: app: Add Kconfig to disable network quality sampling
Add Kconfig to disable network quality sampling. Disable network quality sampling by default until we have a fix in the modem firmware to run CONEVAL and NCELLMEAS at the same time. Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
1 parent 2d1c5e5 commit e8100a2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/src/modules/app/Kconfig.app

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ config APP_MODULE_RECV_BUFFER_SIZE
3030
int "Receive buffer size"
3131
default 1024
3232

33+
config APP_REQUEST_NETWORK_QUALITY
34+
bool "Request network quality"
35+
help
36+
Request network quality on triggers.
3337

3438
module = APP
3539
module-str = APP

app/src/modules/app/app.c

+3
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ static const struct smf_state states[] = {
176176
static void triggers_send(void)
177177
{
178178
int err;
179+
180+
#if defined(CONFIG_APP_REQUEST_NETWORK_QUALITY)
179181
struct network_msg network_msg = {
180182
.type = NETWORK_QUALITY_SAMPLE_REQUEST,
181183
};
@@ -186,6 +188,7 @@ static void triggers_send(void)
186188
SEND_FATAL_ERROR();
187189
return;
188190
}
191+
#endif /* CONFIG_APP_REQUEST_NETWORK_QUALITY */
189192

190193
#if defined(CONFIG_APP_BATTERY)
191194
struct battery_msg battery_msg = {

0 commit comments

Comments
 (0)