Skip to content

Commit

Permalink
Enable resetCount command for thread diagnostics on window app (#15739)
Browse files Browse the repository at this point in the history
* enable reset count for thread on window app

* generated files
  • Loading branch information
mkardous-silabs authored and pull[bot] committed Oct 25, 2023
1 parent 73c8346 commit e83e165
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 10 deletions.
2 changes: 2 additions & 0 deletions examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ server cluster ThreadNetworkDiagnostics = 53 {
readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;

command ResetCounts(): DefaultSuccess = 0;
}

server cluster TimeFormatLocalization = 44 {
Expand Down
56 changes: 55 additions & 1 deletion examples/window-app/common/window-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,16 @@
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [],
"commands": [
{
"name": "ResetCounts",
"code": 0,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 0
}
],
"attributes": [
{
"name": "ClusterRevision",
Expand Down Expand Up @@ -3156,6 +3165,51 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ServerGeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClientGeneratedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
"mfgCode": null,
"side": "server",
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
Expand Down
40 changes: 40 additions & 0 deletions zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp

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

22 changes: 13 additions & 9 deletions zzz_generated/window-app/zap-generated/endpoint_config.h

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

0 comments on commit e83e165

Please sign in to comment.