Align General Diagnostics cluster with the spec again. (#24469)
* Align General Diagnostics cluster with the spec again.
The spec changed in https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/6151
* Regenerate generated code.
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 03656c1..e492826 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -643,7 +643,7 @@
kSoftwareReset = 6;
}
- enum HardwareFault : ENUM8 {
+ enum HardwareFaultEnum : ENUM8 {
kUnspecified = 0;
kRadio = 1;
kSensor = 2;
@@ -657,7 +657,7 @@
kTamperDetected = 10;
}
- enum InterfaceType : ENUM8 {
+ enum InterfaceTypeEnum : ENUM8 {
kUnspecified = 0;
kWiFi = 1;
kEthernet = 2;
@@ -665,14 +665,14 @@
kThread = 4;
}
- enum NetworkFaultType : ENUM8 {
+ enum NetworkFaultEnum : ENUM8 {
kUnspecified = 0;
kHardwareFailure = 1;
kNetworkJammed = 2;
kConnectionFailed = 3;
}
- enum RadioFault : ENUM8 {
+ enum RadioFaultEnum : ENUM8 {
kUnspecified = 0;
kWiFiFault = 1;
kCellularFault = 2;
@@ -690,22 +690,22 @@
octet_string<8> hardwareAddress = 4;
octet_string IPv4Addresses[] = 5;
octet_string IPv6Addresses[] = 6;
- InterfaceType type = 7;
+ InterfaceTypeEnum type = 7;
}
critical event HardwareFaultChange = 0 {
- HardwareFault current[] = 0;
- HardwareFault previous[] = 1;
+ HardwareFaultEnum current[] = 0;
+ HardwareFaultEnum previous[] = 1;
}
critical event RadioFaultChange = 1 {
- RadioFault current[] = 0;
- RadioFault previous[] = 1;
+ RadioFaultEnum current[] = 0;
+ RadioFaultEnum previous[] = 1;
}
critical event NetworkFaultChange = 2 {
- NetworkFaultType current[] = 0;
- NetworkFaultType previous[] = 1;
+ NetworkFaultEnum current[] = 0;
+ NetworkFaultEnum previous[] = 1;
}
critical event BootReason = 3 {
@@ -717,9 +717,9 @@
readonly attribute int64u upTime = 2;
readonly attribute int32u totalOperationalHours = 3;
readonly attribute BootReasonEnum bootReason = 4;
- readonly attribute HardwareFault activeHardwareFaults[] = 5;
- readonly attribute RadioFault activeRadioFaults[] = 6;
- readonly attribute NetworkFaultType activeNetworkFaults[] = 7;
+ readonly attribute HardwareFaultEnum activeHardwareFaults[] = 5;
+ readonly attribute RadioFaultEnum activeRadioFaults[] = 6;
+ readonly attribute NetworkFaultEnum activeNetworkFaults[] = 7;
readonly attribute boolean testEventTriggersEnabled = 8;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;