[chef] chg: removed Thread, Wifi and Ethernet Diagnostics Clusters (#23413)
* chg: removed Thread Diagnostics, Wifi Diagnostics and Ethernet Diagnostics clusters
* chg: removed User Label Cluster, Scenes Cluster
* chg: default value of DefaultOtaProviders set to empty string
* Regenerating ZAP
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 825ae1b..e750f57 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -766,256 +761,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1271,13 +1016,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1474,106 +1218,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
@@ -1614,12 +1258,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 43;