Skip to content

Commit

Permalink
samples: matter: Enabled reporting on entering ICD active state
Browse files Browse the repository at this point in the history
Enabled sending data reports once ICD enters the active mode
for all LIT supporting samples.

Signed-off-by: Kamil Kasperczyk <[email protected]>
  • Loading branch information
kkasperczyk-no authored and carlescufi committed Dec 4, 2024
1 parent 2d93fda commit 75b2ff2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions samples/matter/light_switch/snippets/lit_icd/lit_icd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions samples/matter/smoke_co_alarm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions samples/matter/smoke_co_alarm/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 75b2ff2

Please sign in to comment.