Skip to content

Commit

Permalink
Implement FeatureMap in WiFi Diagnostics Cluster (#12044)
Browse files Browse the repository at this point in the history
* Implement FeatureMap in WiFi Diagnostics Cluster

* Run codegen
  • Loading branch information
yufengwangca authored and pull[bot] committed May 27, 2022
1 parent 432a97f commit 3912223
Show file tree
Hide file tree
Showing 40 changed files with 1,370 additions and 930 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3272,6 +3272,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -2217,6 +2217,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3147,6 +3147,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/lock-app/lock-common/lock-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3037,6 +3037,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/pump-app/pump-common/pump-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -2960,6 +2960,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -2960,6 +2960,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -1571,6 +1571,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/thermostat/thermostat-common/thermostat.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3124,6 +3124,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/tv-app/tv-common/tv-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3109,6 +3109,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -3124,6 +3124,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
17 changes: 16 additions & 1 deletion examples/window-app/common/window-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -2699,6 +2699,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,8 @@ limitations under the License.
<field id="0" name="ConnectionStatus" type="WiFiConnectionStatus"/>
</event>
</cluster>
<bitmap name="WiFiNetworkDiagnosticsFeature" type="BITMAP32">
<field name="PacketCounts" mask="0x1"/>
<field name="ErrorCounts" mask="0x2"/>
</bitmap>
</configurator>
17 changes: 16 additions & 1 deletion src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 63,
"featureLevel": 67,
"creator": "zap",
"keyValuePairs": [
{
Expand Down Expand Up @@ -4515,6 +4515,21 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
32 changes: 32 additions & 0 deletions src/controller/java/zap-generated/CHIPClustersRead-JNI.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3912223

Please sign in to comment.