Skip to content

Commit

Permalink
Align naming in Software Diagnostics cluster XML with the spec. (#24287)
Browse files Browse the repository at this point in the history
* Align naming in Software Diagnostics cluster XML with the spec.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Sep 12, 2023
1 parent 9a4412d commit 1423272
Show file tree
Hide file tree
Showing 58 changed files with 176 additions and 151 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -1234,7 +1234,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -912,7 +912,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -764,7 +764,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -876,7 +876,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -749,7 +749,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -898,7 +898,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -749,7 +749,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -898,7 +898,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -751,7 +751,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -762,7 +762,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -891,7 +891,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -762,7 +762,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -762,7 +762,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -762,7 +762,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -898,7 +898,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -841,7 +841,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -799,7 +799,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -767,7 +767,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -889,7 +889,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -762,7 +762,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -749,7 +749,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ server cluster SoftwareDiagnostics = 52 {
kWaterMarks = 0x1;
}

struct ThreadMetrics {
struct ThreadMetricsStruct {
int64u id = 0;
optional char_string<8> name = 1;
optional int32u stackFreeCurrent = 2;
Expand All @@ -749,7 +749,7 @@ server cluster SoftwareDiagnostics = 52 {
optional OCTET_STRING faultRecording = 2;
}

readonly attribute ThreadMetrics threadMetrics[] = 0;
readonly attribute ThreadMetricsStruct threadMetrics[] = 0;
readonly attribute int64u currentHeapFree = 1;
readonly attribute int64u currentHeapUsed = 2;
readonly attribute int64u currentHeapHighWatermark = 3;
Expand Down
Loading

0 comments on commit 1423272

Please sign in to comment.