Skip to content

Commit 6756485

Browse files
Adam-MaciugaArekBalysNordic
authored andcommitted
docs: matter: light swithc: fixed descriminator change note
Fixed an outdated discriminator update note Signed-off-by: Adam Maciuga <[email protected]>
1 parent be96a3a commit 6756485

File tree

15 files changed

+44
-7
lines changed

15 files changed

+44
-7
lines changed

applications/matter_bridge/doc/matter_bridge_description.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ If the Bluetooth LE advertising times out, you can re-enable it manually (see th
136136
Additionally, the controller must get the `Onboarding information`_ from the Matter accessory device and provision the device into the network.
137137
For details, see the `Testing`_ section.
138138

139+
.. note::
140+
|matter_unique_discriminator_note|
141+
139142
.. _matter_bridge_app_ui:
140143

141144
User interface

applications/matter_weather_station/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ If the Bluetooth LE advertising times out, you can re-enable it manually using *
5656
Additionally, the controller must get the `Onboarding information`_ from the Matter accessory device and provision the device into the network.
5757
For details, see the `Testing`_ section.
5858

59+
.. note::
60+
|matter_unique_discriminator_note|
61+
5962
Requirements
6063
************
6164

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ Some of these can be configured using the Kconfig options listed below:
181181
This allows filtering of the discovery results to find the nodes that match the device type.
182182
* :kconfig:option:`CONFIG_CHIP_ROTATING_DEVICE_ID` enables an optional rotating device identifier feature that provides an additional unique identifier for each device.
183183
This identifier is similar to the serial number, but it additionally changes at predefined times to protect against long-term tracking of the device.
184+
* :kconfig:option:`CONFIG_CHIP_DEVICE_DISCRIMINATOR` sets the Bluetooth LE discriminator of the device.
185+
In each sample, it is set to the same value by default (hexadecimal: ``0xF00``; decimal: ``3840``).
186+
Without changing the discriminator only one uncommissioned device can be powered up at the same time.
187+
If multiple devices with the same discriminator are powered simultaneously, the Matter controller will commission a random device.
188+
To avoid confusion, keep only a single uncommissioned device powered up, or assign a unique discriminator to each device.
184189

185190
.. _ug_matter_configuring_ffs:
186191

doc/nrf/shortcuts.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@
178178
.. |matter_cd_definition| replace:: a cryptographic document created by the CSA for each device type, used to confirm that a given type of device was certified
179179
.. |matter_cd_info_note_for_samples| replace:: This data payload also includes test Device Attestation, with test Certification Declaration, Product ID, and Vendor ID.
180180
These are used for :ref:`ug_matter_device_attestation_commissioning_info`, and you can generate your own test Certification Declaration when you :ref:`work on Matter end product <ug_matter_device_attestation_testing_da>`.
181+
.. |matter_unique_discriminator_note| replace:: If you are working with multiple devices, set a unique discriminator for each one, or commission them one at a time.
182+
See :ref:`ug_matter_configuring_device_identification` for more information.
181183

182184
.. ### Other shortcuts
183185

samples/matter/closure/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ Testing in a network
202202

203203
To test the sample in a Matter-enabled Thread network, complete the following steps:
204204

205+
.. note::
206+
|matter_unique_discriminator_note|
207+
205208
.. tabs::
206209

207210
.. group-tab:: nRF52, nRF53 DKs

samples/matter/contact_sensor/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ Testing
173173

174174
After building the sample and programming it to your development kit, complete the following steps to test its basic features.
175175

176+
.. note::
177+
|matter_unique_discriminator_note|
178+
176179
.. note::
177180
The following steps use the CHIP Tool controller as an example.
178181

samples/matter/light_bulb/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ Enabling remote control
379379

380380
Remote control allows you to control the Matter light bulb device from an IPv6 network.
381381

382+
.. note::
383+
|matter_unique_discriminator_note|
384+
382385
.. include:: ../lock/README.rst
383386
:start-after: matter_door_lock_sample_remote_control_start
384387
:end-before: matter_door_lock_sample_remote_control_end

samples/matter/light_switch/README.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,7 @@ Prepare for testing
344344
After building this and the :ref:`Matter Light Bulb <matter_light_bulb_sample>` samples, and programming them to the development kits, complete the following steps:
345345

346346
.. note::
347-
In both samples (light switch and light bulb), a Bluetooth LE discriminator is set with the same value by default (hexadecimal: ``0xF00``; decimal: ``3840``).
348-
This means that only one uncommissioned device can be powered up before commissioning.
349-
If both are powered up at the same time, the CHIP Tool can commission a random device and the node ID assignment is also random.
350-
When one device is commissioned, power up the next device and perform the commissioning.
351-
352-
To avoid this unclear situation, you can set up your unique discriminator in the :file:`src/chip_project_config.h` file by changing the :kconfig:option:`CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR` value.
353-
Then build an example and commission with your unique discriminator.
347+
|matter_unique_discriminator_note|
354348

355349
.. matter_light_switch_sample_prepare_to_testing_start
356350

samples/matter/lock/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,9 @@ Enabling remote control
536536

537537
Remote control allows you to control the Matter door lock device from a Thread or a Wi-Fi network.
538538

539+
.. note::
540+
|matter_unique_discriminator_note|
541+
539542
.. matter_door_lock_sample_remote_control_start
540543
541544
`Commissioning the device`_ allows you to set up a testing environment and remotely control the sample over a Matter-enabled Thread or Wi-Fi network.

samples/matter/manufacturer_specific/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ Enabling remote control
186186

187187
Remote control allows you to control the Matter manufacturer-specific device from an IPv6 network.
188188

189+
.. note::
190+
|matter_unique_discriminator_note|
191+
189192
`Commissioning the device`_ allows you to set up a testing environment and remotely control the sample over a Matter-enabled Thread network.
190193

191194
.. _matter_manufacturer_specific_sample_remote_control_commissioning:

0 commit comments

Comments
 (0)