diff --git a/scripts/rules.matterlint b/scripts/rules.matterlint index b2fa3245788f1e..c93f86b3b2ce63 100644 --- a/scripts/rules.matterlint +++ b/scripts/rules.matterlint @@ -79,9 +79,25 @@ all endpoints { endpoint 0 { // Identifiers for clusters are loaded from XML files + // The required clusters are from the spec for RootNode (section 2.1.5 at the moment): + require server cluster Basic; + require server cluster AccessControl; require server cluster GroupKeyManagement; - require server cluster NetworkCommissioning; require server cluster GeneralCommissioning; - require server cluster OTASoftwareUpdateRequestor; + require server cluster AdministratorCommissioning; + require server cluster OperationalCredentials; + require server cluster GeneralDiagnostics; + + // Required only if !CustomNetworkConfig. For now assume yes for matter examples + require server cluster NetworkCommissioning; + + // If Ethernet + // require server cluster EthernetNetworkDiagnostics; + + // If WiFi + // require server cluster WiFiNetworkDiagnostics; + + // If Thread + // require server cluster ThreadNetworkDiagnostics; }