Skip to content

Commit f2e6c51

Browse files
authored
Generate Software Diagnostics cluster with alchemy (#38852)
1 parent 7693645 commit f2e6c51

File tree

83 files changed

+268
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+268
-259
lines changed

examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ cluster GeneralDiagnostics = 51 {
11511151

11521152
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
11531153
cluster SoftwareDiagnostics = 52 {
1154-
revision 1; // NOTE: Default/not specifically set
1154+
revision 1;
11551155

11561156
bitmap Feature : bitmap32 {
11571157
kWatermarks = 0x1;
@@ -1168,7 +1168,7 @@ cluster SoftwareDiagnostics = 52 {
11681168
info event SoftwareFault = 0 {
11691169
int64u id = 0;
11701170
optional char_string name = 1;
1171-
optional octet_string faultRecording = 2;
1171+
optional long_octet_string faultRecording = 2;
11721172
}
11731173

11741174
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1181,7 +1181,7 @@ cluster SoftwareDiagnostics = 52 {
11811181
readonly attribute bitmap32 featureMap = 65532;
11821182
readonly attribute int16u clusterRevision = 65533;
11831183

1184-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1184+
/** This command is used to reset the high watermarks for heap and stack memory. */
11851185
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
11861186
}
11871187

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ cluster GeneralDiagnostics = 51 {
20902090

20912091
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
20922092
cluster SoftwareDiagnostics = 52 {
2093-
revision 1; // NOTE: Default/not specifically set
2093+
revision 1;
20942094

20952095
bitmap Feature : bitmap32 {
20962096
kWatermarks = 0x1;
@@ -2107,7 +2107,7 @@ cluster SoftwareDiagnostics = 52 {
21072107
info event SoftwareFault = 0 {
21082108
int64u id = 0;
21092109
optional char_string name = 1;
2110-
optional octet_string faultRecording = 2;
2110+
optional long_octet_string faultRecording = 2;
21112111
}
21122112

21132113
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -2120,7 +2120,7 @@ cluster SoftwareDiagnostics = 52 {
21202120
readonly attribute bitmap32 featureMap = 65532;
21212121
readonly attribute int16u clusterRevision = 65533;
21222122

2123-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
2123+
/** This command is used to reset the high watermarks for heap and stack memory. */
21242124
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
21252125
}
21262126

examples/all-clusters-app/realtek_bee/data_model/all-clusters-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ cluster GeneralDiagnostics = 51 {
20902090

20912091
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
20922092
cluster SoftwareDiagnostics = 52 {
2093-
revision 1; // NOTE: Default/not specifically set
2093+
revision 1;
20942094

20952095
bitmap Feature : bitmap32 {
20962096
kWatermarks = 0x1;
@@ -2107,7 +2107,7 @@ cluster SoftwareDiagnostics = 52 {
21072107
info event SoftwareFault = 0 {
21082108
int64u id = 0;
21092109
optional char_string name = 1;
2110-
optional octet_string faultRecording = 2;
2110+
optional long_octet_string faultRecording = 2;
21112111
}
21122112

21132113
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -2120,7 +2120,7 @@ cluster SoftwareDiagnostics = 52 {
21202120
readonly attribute bitmap32 featureMap = 65532;
21212121
readonly attribute int16u clusterRevision = 65533;
21222122

2123-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
2123+
/** This command is used to reset the high watermarks for heap and stack memory. */
21242124
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
21252125
}
21262126

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@ cluster GeneralDiagnostics = 51 {
20072007

20082008
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
20092009
cluster SoftwareDiagnostics = 52 {
2010-
revision 1; // NOTE: Default/not specifically set
2010+
revision 1;
20112011

20122012
bitmap Feature : bitmap32 {
20132013
kWatermarks = 0x1;
@@ -2024,7 +2024,7 @@ cluster SoftwareDiagnostics = 52 {
20242024
info event SoftwareFault = 0 {
20252025
int64u id = 0;
20262026
optional char_string name = 1;
2027-
optional octet_string faultRecording = 2;
2027+
optional long_octet_string faultRecording = 2;
20282028
}
20292029

20302030
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -2037,7 +2037,7 @@ cluster SoftwareDiagnostics = 52 {
20372037
readonly attribute bitmap32 featureMap = 65532;
20382038
readonly attribute int16u clusterRevision = 65533;
20392039

2040-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
2040+
/** This command is used to reset the high watermarks for heap and stack memory. */
20412041
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
20422042
}
20432043

examples/bridge-app/bridge-common/bridge-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ cluster GeneralDiagnostics = 51 {
15011501

15021502
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
15031503
cluster SoftwareDiagnostics = 52 {
1504-
revision 1; // NOTE: Default/not specifically set
1504+
revision 1;
15051505

15061506
bitmap Feature : bitmap32 {
15071507
kWatermarks = 0x1;
@@ -1518,7 +1518,7 @@ cluster SoftwareDiagnostics = 52 {
15181518
info event SoftwareFault = 0 {
15191519
int64u id = 0;
15201520
optional char_string name = 1;
1521-
optional octet_string faultRecording = 2;
1521+
optional long_octet_string faultRecording = 2;
15221522
}
15231523

15241524
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1531,7 +1531,7 @@ cluster SoftwareDiagnostics = 52 {
15311531
readonly attribute bitmap32 featureMap = 65532;
15321532
readonly attribute int16u clusterRevision = 65533;
15331533

1534-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1534+
/** This command is used to reset the high watermarks for heap and stack memory. */
15351535
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
15361536
}
15371537

examples/camera-app/camera-common/camera-app.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ cluster GeneralDiagnostics = 51 {
13091309

13101310
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
13111311
cluster SoftwareDiagnostics = 52 {
1312-
revision 1; // NOTE: Default/not specifically set
1312+
revision 1;
13131313

13141314
bitmap Feature : bitmap32 {
13151315
kWatermarks = 0x1;
@@ -1326,7 +1326,7 @@ cluster SoftwareDiagnostics = 52 {
13261326
info event SoftwareFault = 0 {
13271327
int64u id = 0;
13281328
optional char_string name = 1;
1329-
optional octet_string faultRecording = 2;
1329+
optional long_octet_string faultRecording = 2;
13301330
}
13311331

13321332
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1339,7 +1339,7 @@ cluster SoftwareDiagnostics = 52 {
13391339
readonly attribute bitmap32 featureMap = 65532;
13401340
readonly attribute int16u clusterRevision = 65533;
13411341

1342-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1342+
/** This command is used to reset the high watermarks for heap and stack memory. */
13431343
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
13441344
}
13451345

examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ cluster GeneralDiagnostics = 51 {
10651065

10661066
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
10671067
cluster SoftwareDiagnostics = 52 {
1068-
revision 1; // NOTE: Default/not specifically set
1068+
revision 1;
10691069

10701070
bitmap Feature : bitmap32 {
10711071
kWatermarks = 0x1;
@@ -1082,7 +1082,7 @@ cluster SoftwareDiagnostics = 52 {
10821082
info event SoftwareFault = 0 {
10831083
int64u id = 0;
10841084
optional char_string name = 1;
1085-
optional octet_string faultRecording = 2;
1085+
optional long_octet_string faultRecording = 2;
10861086
}
10871087

10881088
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1095,7 +1095,7 @@ cluster SoftwareDiagnostics = 52 {
10951095
readonly attribute bitmap32 featureMap = 65532;
10961096
readonly attribute int16u clusterRevision = 65533;
10971097

1098-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1098+
/** This command is used to reset the high watermarks for heap and stack memory. */
10991099
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
11001100
}
11011101

examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ cluster GeneralDiagnostics = 51 {
13091309

13101310
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
13111311
cluster SoftwareDiagnostics = 52 {
1312-
revision 1; // NOTE: Default/not specifically set
1312+
revision 1;
13131313

13141314
bitmap Feature : bitmap32 {
13151315
kWatermarks = 0x1;
@@ -1326,7 +1326,7 @@ cluster SoftwareDiagnostics = 52 {
13261326
info event SoftwareFault = 0 {
13271327
int64u id = 0;
13281328
optional char_string name = 1;
1329-
optional octet_string faultRecording = 2;
1329+
optional long_octet_string faultRecording = 2;
13301330
}
13311331

13321332
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1339,7 +1339,7 @@ cluster SoftwareDiagnostics = 52 {
13391339
readonly attribute bitmap32 featureMap = 65532;
13401340
readonly attribute int16u clusterRevision = 65533;
13411341

1342-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1342+
/** This command is used to reset the high watermarks for heap and stack memory. */
13431343
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
13441344
}
13451345

examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ cluster GeneralDiagnostics = 51 {
12681268

12691269
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
12701270
cluster SoftwareDiagnostics = 52 {
1271-
revision 1; // NOTE: Default/not specifically set
1271+
revision 1;
12721272

12731273
bitmap Feature : bitmap32 {
12741274
kWatermarks = 0x1;
@@ -1285,7 +1285,7 @@ cluster SoftwareDiagnostics = 52 {
12851285
info event SoftwareFault = 0 {
12861286
int64u id = 0;
12871287
optional char_string name = 1;
1288-
optional octet_string faultRecording = 2;
1288+
optional long_octet_string faultRecording = 2;
12891289
}
12901290

12911291
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1298,7 +1298,7 @@ cluster SoftwareDiagnostics = 52 {
12981298
readonly attribute bitmap32 featureMap = 65532;
12991299
readonly attribute int16u clusterRevision = 65533;
13001300

1301-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1301+
/** This command is used to reset the high watermarks for heap and stack memory. */
13021302
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
13031303
}
13041304

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ cluster GeneralDiagnostics = 51 {
14551455

14561456
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
14571457
cluster SoftwareDiagnostics = 52 {
1458-
revision 1; // NOTE: Default/not specifically set
1458+
revision 1;
14591459

14601460
bitmap Feature : bitmap32 {
14611461
kWatermarks = 0x1;
@@ -1472,7 +1472,7 @@ cluster SoftwareDiagnostics = 52 {
14721472
info event SoftwareFault = 0 {
14731473
int64u id = 0;
14741474
optional char_string name = 1;
1475-
optional octet_string faultRecording = 2;
1475+
optional long_octet_string faultRecording = 2;
14761476
}
14771477

14781478
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1485,7 +1485,7 @@ cluster SoftwareDiagnostics = 52 {
14851485
readonly attribute bitmap32 featureMap = 65532;
14861486
readonly attribute int16u clusterRevision = 65533;
14871487

1488-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1488+
/** This command is used to reset the high watermarks for heap and stack memory. */
14891489
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
14901490
}
14911491

examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ cluster GeneralDiagnostics = 51 {
13921392

13931393
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
13941394
cluster SoftwareDiagnostics = 52 {
1395-
revision 1; // NOTE: Default/not specifically set
1395+
revision 1;
13961396

13971397
bitmap Feature : bitmap32 {
13981398
kWatermarks = 0x1;
@@ -1409,7 +1409,7 @@ cluster SoftwareDiagnostics = 52 {
14091409
info event SoftwareFault = 0 {
14101410
int64u id = 0;
14111411
optional char_string name = 1;
1412-
optional octet_string faultRecording = 2;
1412+
optional long_octet_string faultRecording = 2;
14131413
}
14141414

14151415
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1422,7 +1422,7 @@ cluster SoftwareDiagnostics = 52 {
14221422
readonly attribute bitmap32 featureMap = 65532;
14231423
readonly attribute int16u clusterRevision = 65533;
14241424

1425-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1425+
/** This command is used to reset the high watermarks for heap and stack memory. */
14261426
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
14271427
}
14281428

examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ cluster GeneralDiagnostics = 51 {
14681468

14691469
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
14701470
cluster SoftwareDiagnostics = 52 {
1471-
revision 1; // NOTE: Default/not specifically set
1471+
revision 1;
14721472

14731473
bitmap Feature : bitmap32 {
14741474
kWatermarks = 0x1;
@@ -1485,7 +1485,7 @@ cluster SoftwareDiagnostics = 52 {
14851485
info event SoftwareFault = 0 {
14861486
int64u id = 0;
14871487
optional char_string name = 1;
1488-
optional octet_string faultRecording = 2;
1488+
optional long_octet_string faultRecording = 2;
14891489
}
14901490

14911491
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1498,7 +1498,7 @@ cluster SoftwareDiagnostics = 52 {
14981498
readonly attribute bitmap32 featureMap = 65532;
14991499
readonly attribute int16u clusterRevision = 65533;
15001500

1501-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1501+
/** This command is used to reset the high watermarks for heap and stack memory. */
15021502
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
15031503
}
15041504

examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ cluster GeneralDiagnostics = 51 {
14551455

14561456
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
14571457
cluster SoftwareDiagnostics = 52 {
1458-
revision 1; // NOTE: Default/not specifically set
1458+
revision 1;
14591459

14601460
bitmap Feature : bitmap32 {
14611461
kWatermarks = 0x1;
@@ -1472,7 +1472,7 @@ cluster SoftwareDiagnostics = 52 {
14721472
info event SoftwareFault = 0 {
14731473
int64u id = 0;
14741474
optional char_string name = 1;
1475-
optional octet_string faultRecording = 2;
1475+
optional long_octet_string faultRecording = 2;
14761476
}
14771477

14781478
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1485,7 +1485,7 @@ cluster SoftwareDiagnostics = 52 {
14851485
readonly attribute bitmap32 featureMap = 65532;
14861486
readonly attribute int16u clusterRevision = 65533;
14871487

1488-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1488+
/** This command is used to reset the high watermarks for heap and stack memory. */
14891489
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
14901490
}
14911491

examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ cluster GeneralDiagnostics = 51 {
15511551

15521552
/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
15531553
cluster SoftwareDiagnostics = 52 {
1554-
revision 1; // NOTE: Default/not specifically set
1554+
revision 1;
15551555

15561556
bitmap Feature : bitmap32 {
15571557
kWatermarks = 0x1;
@@ -1568,7 +1568,7 @@ cluster SoftwareDiagnostics = 52 {
15681568
info event SoftwareFault = 0 {
15691569
int64u id = 0;
15701570
optional char_string name = 1;
1571-
optional octet_string faultRecording = 2;
1571+
optional long_octet_string faultRecording = 2;
15721572
}
15731573

15741574
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -1581,7 +1581,7 @@ cluster SoftwareDiagnostics = 52 {
15811581
readonly attribute bitmap32 featureMap = 65532;
15821582
readonly attribute int16u clusterRevision = 65533;
15831583

1584-
/** Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. */
1584+
/** This command is used to reset the high watermarks for heap and stack memory. */
15851585
command access(invoke: manage) ResetWatermarks(): DefaultSuccess = 0;
15861586
}
15871587

0 commit comments

Comments
 (0)