You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Matter samples share some configurations. In the case of
the Kconfig options, these are not picked up by the docs build
system. This adds a separate page where these options are documented.
Signed-off-by: Wille Backman <[email protected]>
Enable support for Temperature Sensor bridged device.
435
+
``bool`` - Enable support for Temperature Sensor bridged device.
436
436
437
-
If you selected the simulated device implementation using the :ref:`CONFIG_BRIDGED_DEVICE_SIMULATED <CONFIG_BRIDGED_DEVICE_SIMULATED>` Kconfig option, also check and configure the following option:
437
+
.. _CONFIG_BRIDGE_MIGRATE_PRE_2_7_0:
438
+
439
+
CONFIG_BRIDGE_MIGRATE_PRE_2_7_0
440
+
``bool`` - Enable migration of bridged device data stored in old scheme from pre nRF SDK 2.7.0 releases.
441
+
442
+
.. _CONFIG_BRIDGE_MIGRATE_VERSION_1:
443
+
444
+
CONFIG_BRIDGE_MIGRATE_VERSION_1
445
+
``bool`` - Enable migration of bridged device data stored in version 1 of new scheme.If you selected the simulated device implementation using the :ref:`CONFIG_BRIDGED_DEVICE_SIMULATED <CONFIG_BRIDGED_DEVICE_SIMULATED>` Kconfig option, also check and configure the following option:
The state of the simulated device is changed using shell commands.
456
464
457
465
If you selected the Bluetooth LE device implementation using the :ref:`CONFIG_BRIDGED_DEVICE_BT <CONFIG_BRIDGED_DEVICE_BT>` Kconfig option, also check and configure the following options:
458
466
459
467
.. _CONFIG_BRIDGE_BT_MAX_SCANNED_DEVICES:
460
468
461
469
CONFIG_BRIDGE_BT_MAX_SCANNED_DEVICES
462
-
Set the maximum number of scanned devices.
470
+
``int`` - Set the maximum number of scanned devices.
463
471
464
472
.. _CONFIG_BRIDGE_BT_MINIMUM_SECURITY_LEVEL:
465
473
466
474
CONFIG_BRIDGE_BT_MINIMUM_SECURITY_LEVEL
467
-
Set the minimum Bluetooth security level of bridged devices that the bridge device will accept.
475
+
``int`` - Set the minimum Bluetooth security level of bridged devices that the bridge device will accept.
468
476
Bridged devices using this or a higher level will be allowed to connect to the bridge.
469
477
See the :ref:`matter_bridge_app_bt_security` section for more information.
470
478
471
479
.. _CONFIG_BRIDGE_BT_RECOVERY_MAX_INTERVAL:
472
480
473
481
CONFIG_BRIDGE_BT_RECOVERY_MAX_INTERVAL
474
-
Set the maximum time (in seconds) between recovery attempts when the Bluetooth LE connection to the bridged device is lost.
482
+
``int`` - Set the maximum time (in seconds) between recovery attempts when the Bluetooth LE connection to the bridged device is lost.
475
483
476
484
.. _CONFIG_BRIDGE_BT_RECOVERY_SCAN_TIMEOUT_MS:
477
485
478
486
CONFIG_BRIDGE_BT_RECOVERY_SCAN_TIMEOUT_MS
479
-
Set the time (in milliseconds) within which the Bridge will try to re-establish a connection to the lost Bluetooth LE device.
487
+
``int`` - Set the time (in milliseconds) within which the Bridge will try to re-establish a connection to the lost Bluetooth LE device.
480
488
481
489
.. _CONFIG_BRIDGE_BT_SCAN_TIMEOUT_MS:
482
490
483
491
CONFIG_BRIDGE_BT_SCAN_TIMEOUT_MS
484
-
Set the Bluetooth LE scan timeout in milliseconds.
492
+
``int`` - Set the Bluetooth LE scan timeout in milliseconds.
485
493
486
494
The following options affect how many bridged devices the application supports.
487
495
See the :ref:`matter_bridge_app_bridged_support_configs` section for more information.
488
496
489
497
.. _CONFIG_BRIDGE_MAX_BRIDGED_DEVICES_NUMBER:
490
498
491
499
CONFIG_BRIDGE_MAX_BRIDGED_DEVICES_NUMBER
492
-
Set the maximum number of physical non-Matter devices supported by the Bridge.
500
+
``int`` - Set the maximum number of physical non-Matter devices supported by the Bridge.
493
501
494
502
.. _CONFIG_BRIDGE_MAX_DYNAMIC_ENDPOINTS_NUMBER:
495
503
496
504
CONFIG_BRIDGE_MAX_DYNAMIC_ENDPOINTS_NUMBER
497
-
Set the maximum number of dynamic endpoints supported by the Bridge.
498
-
499
-
.. _CONFIG_BRIDGE_MIGRATE_PRE_2_7_0:
500
-
501
-
CONFIG_BRIDGE_MIGRATE_PRE_2_7_0
502
-
Enable migration of bridged device data stored in old scheme from pre nRF SDK 2.7.0 releases.
503
-
504
-
.. _CONFIG_BRIDGE_MIGRATE_VERSION_1:
505
-
506
-
CONFIG_BRIDGE_MIGRATE_VERSION_1
507
-
Enable migration of bridged device data stored in version 1 of new scheme.
505
+
``int`` - Set the maximum number of dynamic endpoints supported by the Bridge.
Copy file name to clipboardExpand all lines: doc/nrf/protocols/matter/end_product/test_event_triggers.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Default test event triggers
37
37
***************************
38
38
39
39
You can use the pre-defined common test event triggers in your application.
40
-
To disable them, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_REGISTER_DEFAULTS` Kconfig option to ``n``.
40
+
To disable them, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_REGISTER_DEFAULTS<CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_REGISTER_DEFAULTS>` Kconfig option to ``n``.
41
41
42
42
The following table lists the available triggers and their activation codes:
43
43
@@ -65,37 +65,37 @@ The following table lists the available triggers and their activation codes:
65
65
The maximum time delay is UINT16_MAX ms.
66
66
The value is provided in HEX format.
67
67
* - Block the Matter thread
68
-
- :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG` = ``y``, and :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT` = ``y``
68
+
- :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG>` = ``y``, and :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT>` = ``y``
69
69
- Block the Matter thread for specific amount of time.
70
70
You can use this event trigger to check the :ref:`Matter Watchdog <ug_matter_device_watchdog>` functionality.
71
71
- ``0xFFFFFFFF20000000`` - ``0xFFFFFFFF2000FFFF``
72
72
- The range of ``0x0000`` - ``0xFFFF`` represents the time in s to block the Matter thread.
73
73
The maximum time is UINT16_MAX s.
74
74
The value is provided in HEX format.
75
75
* - Block the Main thread
76
-
- :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG` = ``y``, and :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT` = ``y``
76
+
- :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG>` = ``y``, and :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT>` = ``y``
77
77
- Block the Main thread for specific amount of time.
78
78
You can use this event trigger to check the :ref:`Matter Watchdog <ug_matter_device_watchdog>` functionality.
79
79
- ``0xFFFFFFFF30000000`` - ``0xFFFFFFFF3000FFFF``
80
80
- The range of ``0x0000`` - ``0xFFFF`` represents the time in s to block the Main thread.
81
81
The maximum time is UINT16_MAX s.
82
82
The value is provided in HEX format.
83
83
* - Diagnostic Logs User Data
84
-
- Enabled ``Diagnostic Logs`` cluster, and either the snippet `diagnostic-logs` attached (``-D<application_name>_SNIPPET=diagnostic-logs``) or both :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS` = ``y`` and :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_END_USER_LOGS` = ``y``.
84
+
- Enabled ``Diagnostic Logs`` cluster, and either the snippet ``matter-diagnostic-logs`` attached (``-D<application_name>_SNIPPET=matter-diagnostic-logs``) or both :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS>` = ``y`` and :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_END_USER_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_END_USER_LOGS>` = ``y``.
85
85
- Trigger writing a specific number of ``u`` characters to the user diagnostics logs.
86
86
The number of characters is determined by the value at the end of the event trigger value.
87
87
The current supported maximum is 1023 bytes for single trigger call, and 4096 bytes of total data written.
88
88
- ``0xFFFFFFFF40000000`` - ``0xFFFFFFFF40000400``
89
89
- The range of ``0x0000`` - ``0x0400`` (from 1 Bytes to 1024 Bytes), ``0x0000`` to clear logs.
90
90
* - Diagnostic Logs Network Data
91
-
- Enabled ``Diagnostic Logs`` cluster, and either the snippet `diagnostic-logs` attached (``-D<application_name>_SNIPPET=diagnostic-logs``) or both :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS` = ``y`` and :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_NETWORK_LOGS` = ``y``.
91
+
- Enabled ``Diagnostic Logs`` cluster, and either the snippet ``matter-diagnostic-logs`` attached (``-D<application_name>_SNIPPET=matter-diagnostic-logs``) or both :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS>` = ``y`` and :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_NETWORK_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_NETWORK_LOGS>` = ``y``.
92
92
- Trigger writing a specific number of ``n`` characters to the network diagnostics logs.
93
93
The number of characters is determined by the value at the end of the event trigger value.
94
94
The current supported maximum is 1023 bytes for single trigger call, and 4096 bytes of total data written.
95
95
- ``0xFFFFFFFF50000000`` - ``0xFFFFFFFF50000400``
96
96
- The range of ``0x0000`` - ``0x0400`` (from 1 Bytes to 1024 Bytes), ``0x0000`` to clear logs.
97
97
* - Diagnostic Crash Logs
98
-
- Either the snippet `diagnostic-logs` attached (``-D<application_name>_SNIPPET=diagnostic-logs``) or both :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS` = ``y`` and :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_CRASH_LOGS` = ``y``, and enabled ``Diagnostic Logs`` cluster.
98
+
- Either the snippet ``matter-diagnostic-logs`` attached (``-D<application_name>_SNIPPET=matter-diagnostic-logs``) or both :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS>` = ``y`` and :ref:`CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_CRASH_LOGS<CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_CRASH_LOGS>` = ``y``, and enabled ``Diagnostic Logs`` cluster.
99
99
- Trigger a simple crash that relies on execution of the undefined instruction attempt.
100
100
- ``0xFFFFFFFF60000000``
101
101
- No additional value supported.
@@ -273,7 +273,7 @@ A new event trigger consists of two fields: ``Mask``, and ``Callback``.
273
273
* The ``Callback`` field is a callback function that will be invoked when the device receives a corresponding activation code.
274
274
275
275
The maximum number of event triggers that can be registered is configurable.
276
-
To adjust this limit, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX` Kconfig option to the desired value.
276
+
To adjust this limit, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX<CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX>` Kconfig option to the desired value.
277
277
278
278
To register a new test event trigger, follow these steps:
279
279
@@ -353,7 +353,7 @@ Use the following example as a guide to register an existing event trigger handl
353
353
354
354
/* Remember to check the CHIP_ERROR return code */
355
355
356
-
If the returning ``CHIP_ERROR`` code is equal to ``CHIP_ERROR_NO_MEMORY``, you need to increase the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX_TRIGGERS_DELEGATES` Kconfig option to the higher value.
356
+
If the returning ``CHIP_ERROR`` code is equal to ``CHIP_ERROR_NO_MEMORY``, you need to increase the :ref:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX_TRIGGERS_DELEGATES<CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS_MAX_TRIGGERS_DELEGATES>` Kconfig option to the higher value.
357
357
358
358
For example, you can register and use the ``OTATestEventTriggerHandler`` handler and trigger pre-defined Matter OTA DFU behaviors using the following code:
359
359
@@ -367,7 +367,7 @@ Usage
367
367
*****
368
368
369
369
The Matter test event triggers feature is enabled by default for all Matter samples.
370
-
To disable it, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS` Kconfig option to ``n``.
370
+
To disable it, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS<CONFIG_NCS_SAMPLE_MATTER_TEST_EVENT_TRIGGERS>` Kconfig option to ``n``.
371
371
372
372
To trigger a specific event on the device, run the following command:
Copy file name to clipboardExpand all lines: doc/nrf/protocols/matter/end_product/watchdog.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,10 @@ This approach eliminates the need to directly call the ``Feed()`` method in your
27
27
A time window specifies the period within which the feeding signal must be sent to each watchdog channel to reset the timer and prevent the device from rebooting.
28
28
If the feeding signal is sent after the time window has elapsed, it does not prevent the device from rebooting.
29
29
30
-
To enable the Matter watchdog feature in a matter sample, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG` Kconfig option to ``y``.
30
+
To enable the Matter watchdog feature in a Matter sample, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG>` Kconfig option to ``y``.
31
31
The feature is enabled by default for the release build type in all Matter samples and applications.
32
32
33
-
To set the timeout for the watchdog timer, configure the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT` with a value in milliseconds.
33
+
To set the timeout for the watchdog timer, configure the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT>` with a value in milliseconds.
34
34
By default, the timeout is set to 10 seconds.
35
35
36
36
.. note::
@@ -51,8 +51,8 @@ If pause mode is enabled, the device will only reboot if the task feeding the wa
51
51
Pause mode is less accurate and may cause the device to reboot later than expected, but it allows feeding the watchdog only when the CPU is active.
52
52
Non-pause mode requires periodic feeding to avoid a timeout, impacting power consumption as the CPU must wake up periodically.
53
53
54
-
To enable pause mode while CPU is in the idle state, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_IN_SLEEP` Kconfig option to ``y``.
55
-
To enable pause mode during debugging, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_ON_DEBUG` Kconfig option to ``y``.
54
+
To enable pause mode while CPU is in the idle state, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_IN_SLEEP<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_IN_SLEEP>` Kconfig option to ``y``.
55
+
To enable pause mode during debugging, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_ON_DEBUG<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_PAUSE_ON_DEBUG>` Kconfig option to ``y``.
56
56
57
57
By default, Matter samples enable the pause mode only during debugging.
In the Matter common module, there is a default implementation of two watchdog sources that are automatically created for the release build version of a Matter sample.
275
275
One source is dedicated to monitoring the Main thread, and the other is dedicated to monitoring the Matter thread.
276
-
If at least one of the threads is blocked for a longer time than the value specified in the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT` Kconfig option, a reboot will occur.
276
+
If at least one of the threads is blocked for a longer time than the value specified in the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_TIMEOUT>` Kconfig option, a reboot will occur.
277
277
The ``Nrf::Watchdog::Enable()``, and ``InstallSource(WatchdogSource &source)`` functions are called automatically.
278
278
279
-
To disable the default Matter watchdog implementation, set the :kconfig:option:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT` Kconfig option to ``n``.
279
+
To disable the default Matter watchdog implementation, set the :ref:`CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT<CONFIG_NCS_SAMPLE_MATTER_WATCHDOG_DEFAULT>` Kconfig option to ``n``.
0 commit comments