Skip to content

Commit

Permalink
[Telink] Add missed client side for THREAD_NETWORK_DIAGNOSTICS_CLUSTER (
Browse files Browse the repository at this point in the history
#25304)

* [Telink] Add missed client side for THREAD_NETWORK_DIAGNOSTICS_CLUSTER

* [Telink] Add ResetCounts
  • Loading branch information
s07641069 authored Feb 24, 2023
1 parent 7cd2add commit d50ad19
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/thermostat/thermostat-common/thermostat.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,8 @@ server cluster ThreadNetworkDiagnostics = 53 {
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

command ResetCounts(): DefaultSuccess = 0;
}

server cluster WiFiNetworkDiagnostics = 54 {
Expand Down
36 changes: 36 additions & 0 deletions examples/thermostat/thermostat-common/thermostat.zap
Original file line number Diff line number Diff line change
Expand Up @@ -3025,6 +3025,42 @@
}
]
},
{
"name": "Thread Network Diagnostics",
"code": 53,
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
{
"name": "ResetCounts",
"code": 0,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 0
}
],
"attributes": [
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "client",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
"name": "Thread Network Diagnostics",
"code": 53,
Expand Down

0 comments on commit d50ad19

Please sign in to comment.