Skip to content

Commit 7f91915

Browse files
mkardous-silabspull[bot]
authored andcommitted
Enable resetCount command for thread diagnostics on window app (#15739)
* enable reset count for thread on window app * generated files
1 parent 6c9d316 commit 7f91915

File tree

4 files changed

+110
-10
lines changed

4 files changed

+110
-10
lines changed

examples/window-app/common/window-app.matter

+2
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,8 @@ server cluster ThreadNetworkDiagnostics = 53 {
872872
readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
873873
readonly global attribute bitmap32 featureMap = 65532;
874874
readonly global attribute int16u clusterRevision = 65533;
875+
876+
command ResetCounts(): DefaultSuccess = 0;
875877
}
876878

877879
server cluster TimeFormatLocalization = 44 {

examples/window-app/common/window-app.zap

+55-1
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,16 @@
21832183
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
21842184
"side": "client",
21852185
"enabled": 0,
2186-
"commands": [],
2186+
"commands": [
2187+
{
2188+
"name": "ResetCounts",
2189+
"code": 0,
2190+
"mfgCode": null,
2191+
"source": "client",
2192+
"incoming": 1,
2193+
"outgoing": 0
2194+
}
2195+
],
21872196
"attributes": [
21882197
{
21892198
"name": "ClusterRevision",
@@ -3156,6 +3165,51 @@
31563165
"maxInterval": 65344,
31573166
"reportableChange": 0
31583167
},
3168+
{
3169+
"name": "ServerGeneratedCommandList",
3170+
"code": 65528,
3171+
"mfgCode": null,
3172+
"side": "server",
3173+
"included": 0,
3174+
"storageOption": "RAM",
3175+
"singleton": 0,
3176+
"bounded": 0,
3177+
"defaultValue": "",
3178+
"reportable": 0,
3179+
"minInterval": 1,
3180+
"maxInterval": 65534,
3181+
"reportableChange": 0
3182+
},
3183+
{
3184+
"name": "ClientGeneratedCommandList",
3185+
"code": 65529,
3186+
"mfgCode": null,
3187+
"side": "server",
3188+
"included": 0,
3189+
"storageOption": "RAM",
3190+
"singleton": 0,
3191+
"bounded": 0,
3192+
"defaultValue": "",
3193+
"reportable": 0,
3194+
"minInterval": 1,
3195+
"maxInterval": 65534,
3196+
"reportableChange": 0
3197+
},
3198+
{
3199+
"name": "AttributeList",
3200+
"code": 65531,
3201+
"mfgCode": null,
3202+
"side": "server",
3203+
"included": 0,
3204+
"storageOption": "RAM",
3205+
"singleton": 0,
3206+
"bounded": 0,
3207+
"defaultValue": "",
3208+
"reportable": 0,
3209+
"minInterval": 1,
3210+
"maxInterval": 65534,
3211+
"reportableChange": 0
3212+
},
31593213
{
31603214
"name": "FeatureMap",
31613215
"code": 65532,

zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/window-app/zap-generated/endpoint_config.h

+13-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)