Skip to content

Commit 53b59f4

Browse files
samples: matter: Change Lock Wi-Fi Thread Switching from 53 to 54LM
- Deprecated nRF5340 DK with the nRF7002 EK shield attached in Matter Lock Thread and Wi-Fi switching variant. - Added support for Thread and Wi-Fi switching for nRF54LM20 DK with the nRF7002 EB2 shield attached. - Updated sample.yml according these changes. - Updated README.rst. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent 04ef674 commit 53b59f4

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ Matter samples
328328

329329
* Added support for the Closure Control cluster test event triggers.
330330

331+
* :ref:`matter_lock_sample`:
332+
333+
* Added support for the :ref:`matter_lock_sample_wifi_thread_switching` in nRF54LM20 DK with the nRF7002-EB II shield attached.
334+
* Deprecated the :ref:`matter_lock_sample_wifi_thread_switching` for nRF5340 DK with the nRF7002 EK shield attached.
335+
331336
Networking samples
332337
------------------
333338

samples/matter/lock/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ config STATE_LEDS
8787

8888
config THREAD_WIFI_SWITCHING
8989
bool "Switching between Thread and Wi-Fi"
90-
depends on SOC_SERIES_NRF53X
91-
depends on NET_L2_OPENTHREAD
90+
depends on SOC_SERIES_NRF53X || SOC_SERIES_NRF54LX
91+
depends on OPENTHREAD
9292
depends on CHIP_WIFI
9393
depends on !CHIP_FACTORY_RESET_ERASE_SETTINGS
9494
select EXPERIMENTAL
95+
select DEPRECATED if SOC_SERIES_NRF53X
9596
help
9697
Build the application with both Thread and Wi-Fi support and initialize
9798
either transport based on the current configuration. A user can switch

samples/matter/lock/README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ Thread and Wi-Fi switching
9696

9797
.. toggle::
9898

99-
When built using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>` and programmed to the nRF5340 DK with the nRF7002 EK shield attached, the door lock sample supports a feature that allows you to :ref:`switch between Matter over Thread and Matter over Wi-Fi <ug_matter_overview_architecture_integration_designs_switchable>` at runtime.
99+
When built using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>` and programmed to the nRF54LM20 DK with the nRF7002-EB II shield attached, the sample supports a feature that allows you to :ref:`switch between Matter over Thread and Matter over Wi-Fi <ug_matter_overview_architecture_integration_designs_switchable>` at runtime.
100100
Due to Matter protocol limitations, a single Matter node can only use one transport protocol at a time.
101101

102102
The application is built with support for both Matter over Thread and Matter over Wi-Fi.
103103
The device activates either Thread or Wi-Fi transport protocol on boot, based on a flag stored in the non-volatile memory on the device.
104104
By default, Matter over Wi-Fi is activated.
105105

106-
You can trigger the switch from one transport protocol to the other using the **Button 3** on the nRF5340 DK.
106+
You can trigger the switch from one transport protocol to the other using the **Button 3** on the nRF54LM20 DK.
107107
This toggles the flag stored in the non-volatile memory, and then the device is factory reset and rebooted.
108108
Because the flag is toggled, the factory reset does not switch the device back to the default transport protocol (Wi-Fi).
109109
Instead, the factory reset and recommissioning to a Matter fabric allows the device to be provisioned with network credentials for the transport protocol that it was switched to, and to start operating in the selected network.
@@ -129,7 +129,7 @@ Matter Bluetooth LE with Nordic UART Service
129129

130130
If the device is already connected to the Matter network, the notification about changing the lock state will be sent to the Bluetooth controller.
131131

132-
Currently, the door lock's Bluetooth LE service extension with NUS is only available for the nRF52840 and the nRF5340 DKs in the :ref:`Matter over Thread <ug_matter_gs_testing>` network variant.
132+
Currently, the door lock's Bluetooth LE service extension with NUS is only available for the sample in the :ref:`Matter over Thread <ug_matter_gs_testing>` network variant.
133133
However, you can use the Bluetooth LE service extension regardless of whether the device is connected to a Matter over Thread network or not.
134134

135135
See `Enabling Matter Bluetooth LE with Nordic UART Service`_ and `Testing Bluetooth LE with Nordic UART Service`_ for more information about how to configure and test this feature with this sample.
@@ -208,7 +208,7 @@ The |matter_type| supports the following build configurations:
208208
* - Switched Thread and Wi-Fi
209209
- :file:`prj_thread_wifi_switched.conf`
210210
- ``thread_wifi_switched``
211-
- nRF5340 DK with the nRF7002 EK shield attached
211+
- nRF54LM20 DK with the nRF7002-EB II shield attached
212212
- Debug version of the application with the ability to :ref:`switch between Thread and Wi-Fi network support <matter_lock_sample_wifi_thread_switching>` in the field.
213213

214214
Advanced configuration options
@@ -292,7 +292,7 @@ Second Button:
292292
* Changes the lock state to the opposite one.
293293

294294
Third Button:
295-
* On the nRF5340 DK when using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>`: If pressed for more than ten seconds, it switches the Matter transport protocol from Thread or Wi-Fi to the other and factory resets the device.
295+
* On the nRF54LM20 DK with the nRF7002-EB II shield attached when using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>`: If pressed for more than ten seconds, it switches the Matter transport protocol from Thread or Wi-Fi to the other and factory resets the device.
296296
* On other platform or configuration: Not available.
297297

298298
.. include:: /includes/matter/interface/segger_usb.txt
@@ -554,15 +554,15 @@ Testing switching between Thread and Wi-Fi
554554
.. matter_door_lock_sample_thread_wifi_switch_desc_start
555555
556556
.. note::
557-
You can only test :ref:`matter_lock_sample_wifi_thread_switching` on the nRF5340 DK with the nRF7002 EK shield attached, using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>`.
557+
You can only test :ref:`matter_lock_sample_wifi_thread_switching` on the nRF54LM20 DK with the nRF7002-EB II shield attached, using the :ref:`switched Thread and Wi-Fi configuration <matter_lock_sample_custom_configs>`.
558558

559559
To test this feature, complete the following steps:
560560

561561
#. Build the door lock application using the switched Thread and Wi-Fi configuration:
562562

563563
.. code-block:: console
564564
565-
west build -b nrf5340dk/nrf5340/cpuapp -- -DFILE_SUFFIX=thread_wifi_switched -Dlock_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_NRF70=y
565+
west build -b nrf54lm20dk/nrf54lm20a/cpuapp -- -DFILE_SUFFIX=thread_wifi_switched -Dlock_SHIELD=nrf7002eb2 -DSB_CONFIG_WIFI_NRF70=y
566566
567567
#. Prepare the development kit for testing.
568568
Refer to the :ref:`matter_lock_sample_testing_start` section for more information.

samples/matter/lock/sample.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,14 @@ tests:
109109
sysbuild: true
110110
build_only: true
111111
extra_args:
112-
- lock_SHIELD=nrf7002ek
112+
- lock_SHIELD=nrf7002eb2
113113
- FILE_SUFFIX=thread_wifi_switched
114-
- SB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y
115-
- SB_CONFIG_MCUBOOT_UPDATEABLE_IMAGES=3
116-
- CONFIG_CHIP_DFU_OVER_BT_SMP=y
117114
- SB_CONFIG_WIFI_NRF70=y
118-
- SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y
115+
- CONFIG_CHIP_DFU_OVER_BT_SMP=y
119116
integration_platforms:
120-
- nrf5340dk/nrf5340/cpuapp
121-
platform_allow: nrf5340dk/nrf5340/cpuapp
117+
- nrf54lm20dk/nrf54lm20a/cpuapp
118+
platform_allow:
119+
- nrf54lm20dk/nrf54lm20a/cpuapp
122120
sample.matter.lock.nus:
123121
sysbuild: true
124122
build_only: true
@@ -129,10 +127,12 @@ tests:
129127
integration_platforms:
130128
- nrf52840dk/nrf52840
131129
- nrf5340dk/nrf5340/cpuapp
130+
- nrf54l15dk/nrf54l15/cpuapp
132131
platform_allow:
133132
- nrf52840dk/nrf52840
134133
- nrf5340dk/nrf5340/cpuapp
135134
- nrf54l15dk/nrf54l15/cpuapp
135+
- nrf54lm20dk/nrf54lm20a/cpuapp
136136
sample.matter.lock.schedules:
137137
sysbuild: true
138138
build_only: true

0 commit comments

Comments
 (0)