Skip to content

Commit 875ed5f

Browse files
kkasperczyk-norlubos
authored andcommitted
samples: matter: Changed window covering to be SED by default
Changed Window Covering sample configuration to use the SED configuration by default. The SSED can be enabled optionally using dedicated .conf file. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
1 parent ed0a663 commit 875ed5f

10 files changed

Lines changed: 124 additions & 21 deletions

File tree

doc/nrf/includes/matter/introduction/sleep_thread_ssed_sit.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

doc/nrf/protocols/matter/getting_started/transmission_power.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The following table lists the default TX power values.
8686
| +--------------------------+------------------------------------------------------+-----------------------------------------------------------------+
8787
| | nrf54lm20dk | 0 | 0 |
8888
+-------------------------------------------------------------------------+--------------------------+------------------------------------------------------+-----------------------------------------------------------------+
89-
| :ref:`Window Covering (SSED) <matter_window_covering_sample>` | nrf52840dk | 0 | 0 |
89+
| :ref:`Window Covering (SED) <matter_window_covering_sample>` | nrf52840dk | 0 | 0 |
9090
| +--------------------------+------------------------------------------------------+-----------------------------------------------------------------+
9191
| | nrf5340dk | 0 | 0 |
9292
| +--------------------------+------------------------------------------------------+-----------------------------------------------------------------+

doc/nrf/releases_and_maturity/migration/migration_guide_3.4.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Matter
5252

5353
For more information on how to configure partitions using DTS and how to migrate your existing configuration to DTS, see the :ref:`migration_partitions` page.
5454

55+
* The :ref:`matter_window_covering_sample` sample now uses the Thread Sleepy End Device (SED) device type by default.
56+
You can enable the Thread Synchronized Sleepy End Device (SSED) device type as an optional feature.
57+
To enable the Thread SSED support, add the ``-DEXTRA_CONF_FILE=ssed.conf`` extra argument to the build command.
58+
5559
.. _migration_3.4_recommended:
5660

5761
Recommended changes

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,17 @@ Keys samples
403403
Matter samples
404404
--------------
405405

406-
* Removed support for the nRF7002 DK and nRF5340 DK used with the nRF7002 EK shield from all Matter samples, as this configuration was deprecated in |NCS| v3.2.0.
407-
The removal is mainly due to the very limited non-volatile memory available for application code.
408-
As an alternative, use the nRF54LM20A or nRF54LM20B SoC with the nRF7002-EB II shield.
409-
This combination provides significantly more non-volatile memory for Matter over Wi-Fi applications.
406+
* Updated:
407+
408+
* The :ref:`matter_window_covering_sample` sample to use the Thread Sleepy End Device (SED) device type by default.
409+
You can now enable the Thread Synchronized Sleepy End Device (SSED) device type as an optional feature.
410+
411+
* Removed:
412+
413+
* Support for the nRF7002 DK and nRF5340 DK used with the nRF7002 EK shield from all Matter samples, as this configuration was deprecated in |NCS| v3.2.0.
414+
The removal is mainly due to the very limited non-volatile memory available for application code.
415+
As an alternative, use the nRF54LM20A or nRF54LM20B SoC with the nRF7002-EB II shield.
416+
This combination provides significantly more non-volatile memory for Matter over Wi-Fi applications.
410417

411418
Networking samples
412419
------------------

doc/nrf/samples/matter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ The following table lists variants and extensions available out of the box for e
6161
- SED
6262
- SED
6363
- MED
64-
- SSED
64+
- SED, SSED (optional)
6565
- MED
6666
- SED
6767
- SED
6868
- SED
6969
- FTD
7070
* - :ref:`ICD mode <ug_matter_device_low_power_icd>`
7171
- Not supported
72-
- SIT
72+
- SIT, LIT (optional)
7373
- SIT
7474
- Not supported
7575
- SIT

samples/matter/window_covering/README.rst

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Matter: Window covering
2323

2424
This sample demonstrates the usage of the :ref:`Matter <ug_matter>` application layer to build a window covering device.
2525

26-
.. include:: /includes/matter/introduction/sleep_thread_ssed_sit.txt
26+
.. include:: /includes/matter/introduction/sleep_thread_sed_sit.txt
2727

2828
Requirements
2929
************
@@ -50,12 +50,15 @@ Window covering features
5050

5151
The window covering sample implements the following features:
5252

53-
* :ref:`SSED device type <matter_window_covering_sample_ssed>` - The window cover operates as a Thread Synchronized Sleepy End Device (SSED).
53+
* :ref:`SSED device type <matter_window_covering_sample_ssed>` - The window cover can operate as a Thread Synchronized Sleepy End Device (SSED).
5454

5555
.. _matter_window_covering_sample_ssed:
5656

5757
.. include:: /includes/matter/overview/ssed.txt
5858

59+
You can enable the Thread Synchronized Sleepy End Device (SSED) support by adding an extra argument to the build command.
60+
For details, see the :ref:`Thread SSED support <matter_window_covering_sample_ssed_support>` section.
61+
5962
Configuration
6063
*************
6164

@@ -74,6 +77,31 @@ Advanced configuration options
7477
.. include:: /includes/matter/configuration/advanced/custom_board.txt
7578
.. include:: /includes/matter/configuration/advanced/internal_memory.txt
7679

80+
.. _matter_window_covering_sample_ssed_support:
81+
82+
Thread SSED support
83+
-------------------
84+
85+
.. toggle::
86+
87+
You have the following two ways to enable the Thread SSED support:
88+
89+
.. tabs::
90+
91+
.. group-tab:: |nRFVSC|
92+
93+
Add ``-DEXTRA_CONF_FILE=ssed.conf`` to :guilabel:`Extra CMake arguments` in your build configuration.
94+
95+
.. group-tab:: Command line
96+
97+
Run the following command with *board_target* replaced with the board target name:
98+
99+
.. parsed-literal::
100+
:class: highlight
101+
102+
west build -b *board_target* -p -- -DEXTRA_CONF_FILE=ssed.conf
103+
104+
77105
User interface
78106
**************
79107

samples/matter/window_covering/prj.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
3838
CONFIG_OPENTHREAD_MTD=y
3939
CONFIG_OPENTHREAD_FTD=n
4040
CONFIG_CHIP_ENABLE_ICD_SUPPORT=y
41-
CONFIG_CHIP_THREAD_SSED=y
42-
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=500
43-
CONFIG_CHIP_ICD_FAST_POLLING_INTERVAL=500
41+
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=1000
4442

4543
# Bluetooth Low Energy configuration
4644
CONFIG_BT_DEVICE_NAME="MatterWinCov"

samples/matter/window_covering/prj_release.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
4141
CONFIG_OPENTHREAD_MTD=y
4242
CONFIG_OPENTHREAD_FTD=n
4343
CONFIG_CHIP_ENABLE_ICD_SUPPORT=y
44-
CONFIG_CHIP_THREAD_SSED=y
45-
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=500
46-
CONFIG_CHIP_ICD_FAST_POLLING_INTERVAL=500
44+
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=1000
4745

4846
# Bluetooth Low Energy configuration
4947
CONFIG_BT_DEVICE_NAME="MatterWinCov"

samples/matter/window_covering/sample.yaml

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,31 @@ tests:
1111
build_only: true
1212
integration_platforms:
1313
- nrf52840dk/nrf52840
14+
- nrf5340dk/nrf5340/cpuapp
15+
- nrf54l15dk/nrf54l15/cpuapp
16+
- nrf54lm20dk/nrf54lm20b/cpuapp
17+
- nrf54lm20dk/nrf54lm20a/cpuapp
18+
platform_allow:
19+
- nrf52840dk/nrf52840
20+
- nrf5340dk/nrf5340/cpuapp
21+
- nrf54l15dk/nrf54l15/cpuapp
22+
- nrf54lm20dk/nrf54lm20b/cpuapp
23+
- nrf54lm20dk/nrf54lm20a/cpuapp
24+
sample.matter.window_cover.debug.ssed:
25+
sysbuild: true
26+
build_only: true
27+
extra_args:
28+
- EXTRA_CONF_FILE=ssed.conf
29+
integration_platforms:
30+
- nrf52840dk/nrf52840
31+
- nrf5340dk/nrf5340/cpuapp
32+
- nrf54l15dk/nrf54l15/cpuapp
1433
- nrf54lm20dk/nrf54lm20b/cpuapp
1534
- nrf54lm20dk/nrf54lm20a/cpuapp
1635
platform_allow:
1736
- nrf52840dk/nrf52840
1837
- nrf5340dk/nrf5340/cpuapp
1938
- nrf54l15dk/nrf54l15/cpuapp
20-
- nrf54l15dk/nrf54l15/cpuapp/ns
2139
- nrf54lm20dk/nrf54lm20b/cpuapp
2240
- nrf54lm20dk/nrf54lm20a/cpuapp
2341
sample.matter.window_cover.release:
@@ -26,6 +44,27 @@ tests:
2644
extra_args:
2745
- FILE_SUFFIX=release
2846
integration_platforms:
47+
- nrf52840dk/nrf52840
48+
- nrf5340dk/nrf5340/cpuapp
49+
- nrf54l15dk/nrf54l15/cpuapp
50+
- nrf54lm20dk/nrf54lm20b/cpuapp
51+
- nrf54lm20dk/nrf54lm20a/cpuapp
52+
platform_allow:
53+
- nrf52840dk/nrf52840
54+
- nrf5340dk/nrf5340/cpuapp
55+
- nrf54l15dk/nrf54l15/cpuapp
56+
- nrf54lm20dk/nrf54lm20b/cpuapp
57+
- nrf54lm20dk/nrf54lm20a/cpuapp
58+
sample.matter.window_cover.release.ssed:
59+
sysbuild: true
60+
build_only: true
61+
extra_args:
62+
- FILE_SUFFIX=release
63+
- EXTRA_CONF_FILE=ssed.conf
64+
integration_platforms:
65+
- nrf52840dk/nrf52840
66+
- nrf5340dk/nrf5340/cpuapp
67+
- nrf54l15dk/nrf54l15/cpuapp
2968
- nrf54lm20dk/nrf54lm20b/cpuapp
3069
- nrf54lm20dk/nrf54lm20a/cpuapp
3170
platform_allow:
@@ -43,6 +82,30 @@ tests:
4382
- CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=n
4483
- CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y
4584
integration_platforms:
85+
- nrf52840dk/nrf52840
86+
- nrf5340dk/nrf5340/cpuapp
87+
- nrf54l15dk/nrf54l15/cpuapp
88+
- nrf54lm20dk/nrf54lm20b/cpuapp
89+
- nrf54lm20dk/nrf54lm20a/cpuapp
90+
platform_allow:
91+
- nrf52840dk/nrf52840
92+
- nrf5340dk/nrf5340/cpuapp
93+
- nrf54l15dk/nrf54l15/cpuapp
94+
- nrf54lm20dk/nrf54lm20b/cpuapp
95+
- nrf54lm20dk/nrf54lm20a/cpuapp
96+
sample.matter.window_cover.release.power_consumption.ssed:
97+
sysbuild: true
98+
build_only: true
99+
extra_args:
100+
- FILE_SUFFIX=release
101+
- EXTRA_CONF_FILE=ssed.conf
102+
- CONFIG_NCS_SAMPLE_MATTER_LEDS=n
103+
- CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=n
104+
- CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y
105+
integration_platforms:
106+
- nrf52840dk/nrf52840
107+
- nrf5340dk/nrf5340/cpuapp
108+
- nrf54l15dk/nrf54l15/cpuapp
46109
- nrf54lm20dk/nrf54lm20b/cpuapp
47110
- nrf54lm20dk/nrf54lm20a/cpuapp
48111
platform_allow:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Enable Thread SSED configuration
8+
CONFIG_CHIP_THREAD_SSED=y
9+
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=500
10+
CONFIG_CHIP_ICD_FAST_POLLING_INTERVAL=500

0 commit comments

Comments
 (0)