From 75b2ff2bce1a4f9fbbf1de64f95a4f091125588a Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk Date: Wed, 4 Dec 2024 13:09:24 +0100 Subject: [PATCH] samples: matter: Enabled reporting on entering ICD active state Enabled sending data reports once ICD enters the active mode for all LIT supporting samples. Signed-off-by: Kamil Kasperczyk --- samples/matter/light_switch/snippets/lit_icd/lit_icd.conf | 1 + samples/matter/smoke_co_alarm/Kconfig | 3 +++ samples/matter/smoke_co_alarm/README.rst | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/samples/matter/light_switch/snippets/lit_icd/lit_icd.conf b/samples/matter/light_switch/snippets/lit_icd/lit_icd.conf index ba79fe688fe7..f46c55c54801 100644 --- a/samples/matter/light_switch/snippets/lit_icd/lit_icd.conf +++ b/samples/matter/light_switch/snippets/lit_icd/lit_icd.conf @@ -7,4 +7,5 @@ # Enable LIT ICD configuration CONFIG_CHIP_ICD_LIT_SUPPORT=y CONFIG_CHIP_ICD_SIT_SLOW_POLL_LIMIT=5000 +CONFIG_CHIP_ICD_REPORT_ON_ACTIVE_MODE=y CONFIG_NCS_SAMPLE_MATTER_ZAP_FILES_PATH="snippets/lit_icd" diff --git a/samples/matter/smoke_co_alarm/Kconfig b/samples/matter/smoke_co_alarm/Kconfig index fbf391a66a30..d0127e0efd34 100644 --- a/samples/matter/smoke_co_alarm/Kconfig +++ b/samples/matter/smoke_co_alarm/Kconfig @@ -22,6 +22,9 @@ config CHIP_ICD_LIT_SUPPORT config CHIP_ICD_SIT_SLOW_POLL_LIMIT default 5000 +config CHIP_ICD_REPORT_ON_ACTIVE_MODE + default y + # Increase the supported event triggers due to the multiple alarm triggers config NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX default 12 diff --git a/samples/matter/smoke_co_alarm/README.rst b/samples/matter/smoke_co_alarm/README.rst index ed64101a3fc5..f936b093a7f2 100644 --- a/samples/matter/smoke_co_alarm/README.rst +++ b/samples/matter/smoke_co_alarm/README.rst @@ -73,8 +73,8 @@ The sample supports ICD Dynamic SIT LIT switching (DSLS) feature to switch betwe The device uses the SIT mode, when the wired power source is active. Otherwise, it switches to the LIT mode, to indicate that it is possible to save the energy, when using a battery power source. Dynamic switching is possible only if the ICD device meets all criteria for operating in the LIT mode (it has at least one client registered). -DSLS support is enabled by default. -To disable it, set the :kconfig:option:`CONFIG_CHIP_ICD_DSLS_SUPPORT` Kconfig option to ``n``. +DSLS support is disabled by default. +To enable it, set the :kconfig:option:`CONFIG_CHIP_ICD_DSLS_SUPPORT` Kconfig option to ``y``. In the LIT mode, the device responsiveness is much lower than in the SIT mode. However, you can request the device to become responsive to, for example, change its configuration.