From 0933c4a2a63483f2a06d9a90d0bb4a44aecea62d Mon Sep 17 00:00:00 2001 From: Ole Odendahl Date: Sun, 18 Dec 2022 16:57:50 +0100 Subject: [PATCH] Fixed default sleep duration in Kconfig to 600s. Removed specific Kconfig values from prj*.conf files. --- code/nrf-connect/samples/zigbee/Kconfig | 2 +- code/nrf-connect/samples/zigbee/prj.conf | 5 ----- code/nrf-connect/samples/zigbee/prj_debug.conf | 3 --- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/code/nrf-connect/samples/zigbee/Kconfig b/code/nrf-connect/samples/zigbee/Kconfig index d721814..f60ec56 100644 --- a/code/nrf-connect/samples/zigbee/Kconfig +++ b/code/nrf-connect/samples/zigbee/Kconfig @@ -2,7 +2,7 @@ source "Kconfig.zephyr" config PRST_ZB_SLEEP_DURATION_SEC int "Sleep duration between waking up and reading sensors (in seconds)" - default 60 + default 600 config PRST_ZB_PARENT_POLL_INTERVAL_SEC int "Interval for when b-parasite polls its parent for data (in seconds)" diff --git a/code/nrf-connect/samples/zigbee/prj.conf b/code/nrf-connect/samples/zigbee/prj.conf index 002aa88..4a91f5d 100644 --- a/code/nrf-connect/samples/zigbee/prj.conf +++ b/code/nrf-connect/samples/zigbee/prj.conf @@ -41,8 +41,3 @@ CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y # Enable API for powering down unused RAM parts. # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrf/ug_zigbee_configuring.html#power-saving-during-sleep CONFIG_RAM_POWER_DOWN_LIBRARY=y - -# Config options in Kconfig. -CONFIG_PRST_ZB_SLEEP_DURATION_SEC=600 -CONFIG_MODEL_ID="Z-Parasite" -CONFIG_BUILD_DATE="20221216" \ No newline at end of file diff --git a/code/nrf-connect/samples/zigbee/prj_debug.conf b/code/nrf-connect/samples/zigbee/prj_debug.conf index da51b99..a338a75 100644 --- a/code/nrf-connect/samples/zigbee/prj_debug.conf +++ b/code/nrf-connect/samples/zigbee/prj_debug.conf @@ -47,6 +47,3 @@ CONFIG_PRST_ZB_SLEEP_DURATION_SEC=10 CONFIG_LOG_DEFAULT_LEVEL=4 CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL=4 - -CONFIG_MODEL_ID="Z-Parasite" -CONFIG_BUILD_DATE="20221216"