Skip to content

Commit 75b2ff2

Browse files
kkasperczyk-nocarlescufi
authored andcommitted
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 <[email protected]>
1 parent 2d93fda commit 75b2ff2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

samples/matter/light_switch/snippets/lit_icd/lit_icd.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
# Enable LIT ICD configuration
88
CONFIG_CHIP_ICD_LIT_SUPPORT=y
99
CONFIG_CHIP_ICD_SIT_SLOW_POLL_LIMIT=5000
10+
CONFIG_CHIP_ICD_REPORT_ON_ACTIVE_MODE=y
1011
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILES_PATH="snippets/lit_icd"

samples/matter/smoke_co_alarm/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ config CHIP_ICD_LIT_SUPPORT
2222
config CHIP_ICD_SIT_SLOW_POLL_LIMIT
2323
default 5000
2424

25+
config CHIP_ICD_REPORT_ON_ACTIVE_MODE
26+
default y
27+
2528
# Increase the supported event triggers due to the multiple alarm triggers
2629
config NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX
2730
default 12

samples/matter/smoke_co_alarm/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ The sample supports ICD Dynamic SIT LIT switching (DSLS) feature to switch betwe
7373
The device uses the SIT mode, when the wired power source is active.
7474
Otherwise, it switches to the LIT mode, to indicate that it is possible to save the energy, when using a battery power source.
7575
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).
76-
DSLS support is enabled by default.
77-
To disable it, set the :kconfig:option:`CONFIG_CHIP_ICD_DSLS_SUPPORT` Kconfig option to ``n``.
76+
DSLS support is disabled by default.
77+
To enable it, set the :kconfig:option:`CONFIG_CHIP_ICD_DSLS_SUPPORT` Kconfig option to ``y``.
7878

7979
In the LIT mode, the device responsiveness is much lower than in the SIT mode.
8080
However, you can request the device to become responsive to, for example, change its configuration.

0 commit comments

Comments
 (0)