Removed Optional General Diagnostics Cluster Events For Apps that Don't Support Them. (#25261)
Those optional events are currently only implemented in lighting-app,
lock-app and all-clusters-app.
diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter
index e7a9f1a..b5388fb 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -1409,9 +1409,6 @@
}
server cluster GeneralDiagnostics {
- emits event HardwareFaultChange;
- emits event RadioFaultChange;
- emits event NetworkFaultChange;
emits event BootReason;
callback attribute networkInterfaces;
callback attribute rebootCount;
diff --git a/examples/pump-app/pump-common/pump-app.zap b/examples/pump-app/pump-common/pump-app.zap
index 6b4c31b..0411915 100644
--- a/examples/pump-app/pump-common/pump-app.zap
+++ b/examples/pump-app/pump-common/pump-app.zap
@@ -3325,27 +3325,6 @@
],
"events": [
{
- "name": "HardwareFaultChange",
- "code": 0,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "RadioFaultChange",
- "code": 1,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "NetworkFaultChange",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
"name": "BootReason",
"code": 3,
"mfgCode": null,
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index 02bc933..e9843eb 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -1748,9 +1748,6 @@
}
server cluster GeneralDiagnostics {
- emits event HardwareFaultChange;
- emits event RadioFaultChange;
- emits event NetworkFaultChange;
emits event BootReason;
callback attribute networkInterfaces;
callback attribute rebootCount;
diff --git a/examples/thermostat/thermostat-common/thermostat.zap b/examples/thermostat/thermostat-common/thermostat.zap
index bd118ac..f80dcb4 100644
--- a/examples/thermostat/thermostat-common/thermostat.zap
+++ b/examples/thermostat/thermostat-common/thermostat.zap
@@ -2875,27 +2875,6 @@
],
"events": [
{
- "name": "HardwareFaultChange",
- "code": 0,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "RadioFaultChange",
- "code": 1,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "NetworkFaultChange",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
"name": "BootReason",
"code": 3,
"mfgCode": null,
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index b380773..76ec213 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -2398,9 +2398,6 @@
}
server cluster GeneralDiagnostics {
- emits event HardwareFaultChange;
- emits event RadioFaultChange;
- emits event NetworkFaultChange;
emits event BootReason;
callback attribute networkInterfaces;
callback attribute rebootCount;
diff --git a/examples/tv-app/tv-common/tv-app.zap b/examples/tv-app/tv-common/tv-app.zap
index 9532f7d..42c5795 100644
--- a/examples/tv-app/tv-common/tv-app.zap
+++ b/examples/tv-app/tv-common/tv-app.zap
@@ -2662,27 +2662,6 @@
],
"events": [
{
- "name": "HardwareFaultChange",
- "code": 0,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "RadioFaultChange",
- "code": 1,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "NetworkFaultChange",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
"name": "BootReason",
"code": 3,
"mfgCode": null,
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index 4feb6cc..ad7c46c 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -2455,9 +2455,6 @@
}
server cluster GeneralDiagnostics {
- emits event HardwareFaultChange;
- emits event RadioFaultChange;
- emits event NetworkFaultChange;
emits event BootReason;
callback attribute networkInterfaces;
callback attribute rebootCount;
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
index a953e4c..59126ad 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
@@ -2612,27 +2612,6 @@
],
"events": [
{
- "name": "HardwareFaultChange",
- "code": 0,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "RadioFaultChange",
- "code": 1,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
- "name": "NetworkFaultChange",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "included": 1
- },
- {
"name": "BootReason",
"code": 3,
"mfgCode": null,