mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'add_network_diag_clusters_v1_5' into 'release/v1.5'
esp_matter: Add WiFiNetworkDiagnotics and ThreadNetworkDiagnostics clusters by default(v1.5) See merge request app-frameworks/esp-matter!1385
This commit is contained in:
@@ -89,6 +89,12 @@ esp_err_t add(endpoint_t *endpoint, config_t *config)
|
||||
#endif // CHIP_CONFIG_ENABLE_ICD_LIT
|
||||
}
|
||||
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
|
||||
#if defined(CONFIG_SUPPORT_WIFI_NETWORK_DIAGNOSTICS_CLUSTER)
|
||||
wifi_network_diagnostics::create(endpoint, nullptr, CLUSTER_FLAG_SERVER);
|
||||
#endif
|
||||
#if defined(CONFIG_SUPPORT_THREAD_NETWORK_DIAGNOSTICS_CLUSTER)
|
||||
thread_network_diagnostics::create(endpoint, nullptr, CLUSTER_FLAG_SERVER);
|
||||
#endif
|
||||
return ESP_OK;
|
||||
}
|
||||
} /* root_node */
|
||||
|
||||
Reference in New Issue
Block a user