Skip to content

Commit 02c4d92

Browse files
kkasperczyk-norlubos
authored andcommitted
samples: matter: Fixed few configs and docs
Going through the configs and docs lead to the introducing of few fixes: * Removed enabling DAC migration, as it triggered warning for Wi-Fi that does not support PSA * Fixed nrf70eb mentions in docs * Added info about network commissioning cluster to the certification page * Added experimental for few bridge configurations Signed-off-by: Kamil Kasperczyk <[email protected]>
1 parent 9069641 commit 02c4d92

30 files changed

+15
-88
lines changed

applications/matter_bridge/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ endchoice
180180

181181
endif # NET_L2_OPENTHREAD
182182

183+
# Dummy Kconfig just to select experimental for some of the configurations.
184+
config BRIDGE_EXPERIMENTAL
185+
bool
186+
default y if NET_L2_OPENTHREAD || BRIDGE_SMART_PLUG_SUPPORT
187+
select EXPERIMENTAL
188+
183189
source "${ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR}/config/nrfconnect/chip-module/Kconfig.features"
184190
source "${ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR}/config/nrfconnect/chip-module/Kconfig.defaults"
185191
source "${ZEPHYR_NRF_MODULE_DIR}/samples/matter/common/src/bridge/Kconfig"

applications/matter_bridge/doc/adding_ble_bridged_device_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ The following steps show how to add support for a new Bluetooth LE service calle
236236
mGattSubscribeParams.value = BT_GATT_CCC_NOTIFY;
237237
mGattSubscribeParams.notify = MyBtServiceDataProvider::GattNotifyCallback;
238238
mGattSubscribeParams.subscribe = nullptr;
239-
mGattSubscribeParams.write = nullptr;
240239
return bt_gatt_subscribe(mDevice.mConn, &mGattSubscribeParams);
241240
}
242241

applications/matter_bridge/doc/matter_bridge_description.rst

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ The current maximum number of Bluetooth LE connections that can be selected usin
576576
.. parsed-literal::
577577
:class: highlight
578578
579-
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf"
579+
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf7002eb_interposer_p1 -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf"
580580
581581
.. group-tab:: Matter bridge over Thread
582582

@@ -719,7 +719,7 @@ Once connected, run the following command to build the sample:
719719

720720
.. code-block:: console
721721
722-
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk
722+
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf7002eb_interposer_p1
723723
724724
Selecting a configuration
725725
=========================
@@ -734,19 +734,10 @@ Configure the functionality of the Matter-Bridge device
734734

735735
To enable the Matter smart plugin functionality, run the following command with *board_target* replaced with the board target name:
736736

737-
.. tabs::
738-
739-
.. group-tab:: nRF54 DKs
740-
741-
.. code-block:: console
742-
743-
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk -DCONFIG_BRIDGED_DEVICE_BT=y -Dmatter_bridge_SNIPPET=onoff_plug
744-
745-
.. group-tab:: nRF70 DKs
746-
747-
.. code-block:: console
737+
.. parsed-literal::
738+
:class: highlight
748739
749-
west build -b nrf7002dk/nrf5340/cpuapp -p -- -DCONFIG_BRIDGED_DEVICE_BT=y -Dmatter_bridge_SNIPPET=onoff_plug
740+
west build -b *board_target* -p -- -Dmatter_bridge_SNIPPET=onoff_plug
750741
751742
.. _matter_bridge_testing:
752743

applications/matter_bridge/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,3 @@ CONFIG_CHIP_FACTORY_DATA_BUILD=y
5151
# Enable LTO to decrease the flash usage.
5252
CONFIG_LTO=y
5353
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
54-
55-
# DAC Migration
56-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y

applications/matter_bridge/prj_release.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,3 @@ CONFIG_CHIP_ENABLE_READ_CLIENT=y
5555

5656
# Enable Watchdog
5757
CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=y
58-
59-
# DAC Migration
60-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y

applications/matter_weather_station/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,3 @@ CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_TEST=y
9090

9191
# Set the NVS sector count to match the settings partition size that is 64 kB for this application.
9292
CONFIG_SETTINGS_NVS_SECTOR_COUNT=16
93-
94-
# DAC Migration
95-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y

applications/matter_weather_station/prj_release.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,3 @@ CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_TEST=y
8484

8585
# Set the NVS sector count to match the settings partition size that is 64 kB for this application.
8686
CONFIG_SETTINGS_NVS_SECTOR_COUNT=16
87-
88-
# DAC Migration
89-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y

doc/nrf/protocols/matter/end_product/certification.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Especially, make sure that:
357357
* ``ClusterRevision`` attributes for all clusters match the value of the Matter stack version that you want to use for your application certification.
358358
* ``Attribute List``, ``Accepted Command List`` and ``Generated Command List`` attributes for all clusters contain all the values that need to be there and nothing more.
359359
* Only the clusters, attributes and commands required by your application are enabled.
360-
For example, the default configurations for the samples use both Thread Network Diagnostics and Wi-Fi Network Diagnostics clusters.
360+
For example, the default configurations for the samples use both Thread Network Diagnostics and Wi-Fi Network Diagnostics clusters, and the Network Commissioning cluster has attributes for both Thread and Wi-Fi protocols enabled.
361361
This is done due to the Thread and Wi-Fi platforms common maintenance reasons, but should not be used in the final product.
362362

363363
See the :ref:`ug_matter_creating_accessory` page for how to configure your application using the ZAP Tool.

samples/matter/light_bulb/boards/nrf54l15dk_nrf54l15_cpuapp_ns.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ CONFIG_CHIP_NFC_COMMISSIONING=n
1717
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
1818
CONFIG_MPSL_WORK_STACK_SIZE=2048
1919

20-
# Enable DAC key migration by default for ns build
21-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y
22-
2320
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
2421
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
2522
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.

samples/matter/light_bulb/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ CONFIG_USE_SEGGER_RTT=n
3838
# Enable Factory Data feature
3939
CONFIG_CHIP_FACTORY_DATA=y
4040
CONFIG_CHIP_FACTORY_DATA_BUILD=y
41-
42-
# DAC Migration
43-
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=y

0 commit comments

Comments
 (0)