Skip to content

Commit 392f040

Browse files
jmartinez-silabshuangxuyong
authored andcommitted
Update thread diag cluster revision to 2 (project-chip#32412)
* Add cluster revision 2 to the xml * Update zap files with update_cluster_revisions.py * Regen all * regen sample_zap_file_meta.yaml * update expected value in DGTHREAD 1.1 yaml
1 parent ce3f113 commit 392f040

File tree

124 files changed

+773
-840
lines changed

Some content is hidden

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

124 files changed

+773
-840
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.zap

+28-30
Original file line numberDiff line numberDiff line change
@@ -1581,10 +1581,10 @@
15811581
"side": "server",
15821582
"type": "bitmap32",
15831583
"included": 1,
1584-
"storageOption": "RAM",
1584+
"storageOption": "External",
15851585
"singleton": 0,
15861586
"bounded": 0,
1587-
"defaultValue": "0",
1587+
"defaultValue": null,
15881588
"reportable": 1,
15891589
"minInterval": 1,
15901590
"maxInterval": 65534,
@@ -1597,10 +1597,10 @@
15971597
"side": "server",
15981598
"type": "int16u",
15991599
"included": 1,
1600-
"storageOption": "RAM",
1600+
"storageOption": "External",
16011601
"singleton": 0,
16021602
"bounded": 0,
1603-
"defaultValue": "0x0002",
1603+
"defaultValue": null,
16041604
"reportable": 1,
16051605
"minInterval": 0,
16061606
"maxInterval": 65344,
@@ -2903,7 +2903,6 @@
29032903
"define": "FAN_CONTROL_CLUSTER",
29042904
"side": "server",
29052905
"enabled": 1,
2906-
"apiMaturity": "provisional",
29072906
"commands": [
29082907
{
29092908
"name": "Step",
@@ -7610,7 +7609,7 @@
76107609
"singleton": 0,
76117610
"bounded": 0,
76127611
"defaultValue": "0x0",
7613-
"reportable": 0,
7612+
"reportable": 1,
76147613
"minInterval": 1,
76157614
"maxInterval": 65534,
76167615
"reportableChange": 0
@@ -7626,7 +7625,7 @@
76267625
"singleton": 0,
76277626
"bounded": 0,
76287627
"defaultValue": "0x00",
7629-
"reportable": 0,
7628+
"reportable": 1,
76307629
"minInterval": 1,
76317630
"maxInterval": 65534,
76327631
"reportableChange": 0
@@ -7641,7 +7640,7 @@
76417640
"storageOption": "External",
76427641
"singleton": 0,
76437642
"bounded": 0,
7644-
"defaultValue": "",
7643+
"defaultValue": null,
76457644
"reportable": 1,
76467645
"minInterval": 1,
76477646
"maxInterval": 65534,
@@ -7657,7 +7656,7 @@
76577656
"storageOption": "External",
76587657
"singleton": 0,
76597658
"bounded": 0,
7660-
"defaultValue": "",
7659+
"defaultValue": null,
76617660
"reportable": 1,
76627661
"minInterval": 1,
76637662
"maxInterval": 65534,
@@ -7673,7 +7672,7 @@
76737672
"storageOption": "External",
76747673
"singleton": 0,
76757674
"bounded": 0,
7676-
"defaultValue": "",
7675+
"defaultValue": null,
76777676
"reportable": 1,
76787677
"minInterval": 1,
76797678
"maxInterval": 65534,
@@ -7689,7 +7688,7 @@
76897688
"storageOption": "External",
76907689
"singleton": 0,
76917690
"bounded": 0,
7692-
"defaultValue": "",
7691+
"defaultValue": null,
76937692
"reportable": 1,
76947693
"minInterval": 1,
76957694
"maxInterval": 65534,
@@ -7747,7 +7746,7 @@
77477746
"storageOption": "External",
77487747
"singleton": 0,
77497748
"bounded": 0,
7750-
"defaultValue": "",
7749+
"defaultValue": null,
77517750
"reportable": 1,
77527751
"minInterval": 1,
77537752
"maxInterval": 65534,
@@ -7763,8 +7762,8 @@
77637762
"storageOption": "External",
77647763
"singleton": 0,
77657764
"bounded": 0,
7766-
"defaultValue": "",
7767-
"reportable": 0,
7765+
"defaultValue": null,
7766+
"reportable": 1,
77687767
"minInterval": 1,
77697768
"maxInterval": 65534,
77707769
"reportableChange": 0
@@ -7779,8 +7778,8 @@
77797778
"storageOption": "External",
77807779
"singleton": 0,
77817780
"bounded": 0,
7782-
"defaultValue": "",
7783-
"reportable": 0,
7781+
"defaultValue": null,
7782+
"reportable": 1,
77847783
"minInterval": 1,
77857784
"maxInterval": 65534,
77867785
"reportableChange": 0
@@ -7795,8 +7794,8 @@
77957794
"storageOption": "External",
77967795
"singleton": 0,
77977796
"bounded": 0,
7798-
"defaultValue": "",
7799-
"reportable": 0,
7797+
"defaultValue": null,
7798+
"reportable": 1,
78007799
"minInterval": 1,
78017800
"maxInterval": 65534,
78027801
"reportableChange": 0
@@ -7811,7 +7810,7 @@
78117810
"storageOption": "External",
78127811
"singleton": 0,
78137812
"bounded": 0,
7814-
"defaultValue": "",
7813+
"defaultValue": null,
78157814
"reportable": 1,
78167815
"minInterval": 1,
78177816
"maxInterval": 65534,
@@ -7827,7 +7826,7 @@
78277826
"storageOption": "External",
78287827
"singleton": 0,
78297828
"bounded": 0,
7830-
"defaultValue": "",
7829+
"defaultValue": null,
78317830
"reportable": 1,
78327831
"minInterval": 1,
78337832
"maxInterval": 65534,
@@ -7843,7 +7842,7 @@
78437842
"storageOption": "External",
78447843
"singleton": 0,
78457844
"bounded": 0,
7846-
"defaultValue": "",
7845+
"defaultValue": null,
78477846
"reportable": 1,
78487847
"minInterval": 1,
78497848
"maxInterval": 65534,
@@ -7859,7 +7858,7 @@
78597858
"storageOption": "External",
78607859
"singleton": 0,
78617860
"bounded": 0,
7862-
"defaultValue": "",
7861+
"defaultValue": null,
78637862
"reportable": 1,
78647863
"minInterval": 1,
78657864
"maxInterval": 65534,
@@ -7875,7 +7874,7 @@
78757874
"storageOption": "External",
78767875
"singleton": 0,
78777876
"bounded": 0,
7878-
"defaultValue": "0",
7877+
"defaultValue": null,
78797878
"reportable": 1,
78807879
"minInterval": 1,
78817880
"maxInterval": 65534,
@@ -7891,7 +7890,7 @@
78917890
"storageOption": "External",
78927891
"singleton": 0,
78937892
"bounded": 0,
7894-
"defaultValue": "2",
7893+
"defaultValue": null,
78957894
"reportable": 1,
78967895
"minInterval": 1,
78977896
"maxInterval": 65534,
@@ -8039,7 +8038,7 @@
80398038
"storageOption": "External",
80408039
"singleton": 0,
80418040
"bounded": 0,
8042-
"defaultValue": "",
8041+
"defaultValue": null,
80438042
"reportable": 1,
80448043
"minInterval": 1,
80458044
"maxInterval": 65534,
@@ -8055,7 +8054,7 @@
80558054
"storageOption": "External",
80568055
"singleton": 0,
80578056
"bounded": 0,
8058-
"defaultValue": "",
8057+
"defaultValue": null,
80598058
"reportable": 1,
80608059
"minInterval": 1,
80618060
"maxInterval": 65534,
@@ -8071,7 +8070,7 @@
80718070
"storageOption": "External",
80728071
"singleton": 0,
80738072
"bounded": 0,
8074-
"defaultValue": "",
8073+
"defaultValue": null,
80758074
"reportable": 1,
80768075
"minInterval": 1,
80778076
"maxInterval": 65534,
@@ -8087,7 +8086,7 @@
80878086
"storageOption": "External",
80888087
"singleton": 0,
80898088
"bounded": 0,
8090-
"defaultValue": "",
8089+
"defaultValue": null,
80918090
"reportable": 1,
80928091
"minInterval": 1,
80938092
"maxInterval": 65534,
@@ -8173,6 +8172,5 @@
81738172
"endpointId": 5,
81748173
"networkId": 0
81758174
}
8176-
],
8177-
"log": []
8175+
]
81788176
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ cluster SoftwareDiagnostics = 52 {
829829

830830
/** The Thread Network 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 */
831831
cluster ThreadNetworkDiagnostics = 53 {
832-
revision 1; // NOTE: Default/not specifically set
832+
revision 2;
833833

834834
enum ConnectionStatusEnum : enum8 {
835835
kConnected = 0;
@@ -2203,7 +2203,7 @@ endpoint 0 {
22032203
callback attribute operationalDatasetComponents;
22042204
callback attribute activeNetworkFaultsList;
22052205
ram attribute featureMap default = 0x000F;
2206-
ram attribute clusterRevision default = 1;
2206+
ram attribute clusterRevision default = 2;
22072207

22082208
handle command ResetCounts;
22092209
}

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1529,10 +1529,10 @@
15291529
"side": "server",
15301530
"type": "bitmap32",
15311531
"included": 1,
1532-
"storageOption": "RAM",
1532+
"storageOption": "External",
15331533
"singleton": 0,
15341534
"bounded": 0,
1535-
"defaultValue": "0",
1535+
"defaultValue": null,
15361536
"reportable": 1,
15371537
"minInterval": 1,
15381538
"maxInterval": 65534,
@@ -1545,10 +1545,10 @@
15451545
"side": "server",
15461546
"type": "int16u",
15471547
"included": 1,
1548-
"storageOption": "RAM",
1548+
"storageOption": "External",
15491549
"singleton": 0,
15501550
"bounded": 0,
1551-
"defaultValue": "0x0002",
1551+
"defaultValue": null,
15521552
"reportable": 1,
15531553
"minInterval": 0,
15541554
"maxInterval": 65344,
@@ -2733,7 +2733,7 @@
27332733
"storageOption": "RAM",
27342734
"singleton": 0,
27352735
"bounded": 0,
2736-
"defaultValue": "1",
2736+
"defaultValue": "2",
27372737
"reportable": 1,
27382738
"minInterval": 0,
27392739
"maxInterval": 65344,

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ cluster SoftwareDiagnostics = 52 {
18141814

18151815
/** The Thread Network 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 */
18161816
cluster ThreadNetworkDiagnostics = 53 {
1817-
revision 1; // NOTE: Default/not specifically set
1817+
revision 2;
18181818

18191819
enum ConnectionStatusEnum : enum8 {
18201820
kConnected = 0;
@@ -7538,7 +7538,7 @@ endpoint 0 {
75387538
callback attribute operationalDatasetComponents;
75397539
callback attribute activeNetworkFaultsList;
75407540
ram attribute featureMap default = 0x000F;
7541-
ram attribute clusterRevision default = 1;
7541+
ram attribute clusterRevision default = 2;
75427542

75437543
handle command ResetCounts;
75447544
}

0 commit comments

Comments
 (0)