components/esp_matter: add CustomNetworkConfig support

Skip the Network Commissioning cluster on the root node when
CONFIG_CUSTOM_NETWORK_CONFIG is enabled, per Matter spec condition
(!CustomNetworkConfig). This allows devices with out-of-band network
configuration (rich UI, manufacturer-specific means) to omit the
cluster as the spec permits.

- Add CONFIG_CUSTOM_NETWORK_CONFIG Kconfig option
- Conditionally skip network_commissioning in root_node config/add
- Exclude integration.cpp from build when custom config enabled
- Add weak stubs for Plugin callbacks as fallback
- Also guarded secondary network device type and all the
  attributes and commands that are part of network commissioning
  cluster
This commit is contained in:
Shubham Patil
2026-03-04 13:09:45 +05:30
parent c6f767254f
commit c466b7ce81
11 changed files with 53 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
[codespell]
ignore-regex = _
ignore-words-list = ot, bootup, requestor, pase, lits, kNo, currenty
ignore-words-list = ot, bootup, requestor, pase, lits, kNo, currenty, rsource, CurrentY