Skip to content

Commit

Permalink
fix device conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Nov 2, 2023
1 parent df1bf3b commit fdd3851
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/lit-icd-app/lit-icd-common/lit-icd-server-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,13 @@ server cluster GeneralDiagnostics = 51 {
int64u eventTrigger = 1;
}

response struct TimeSnapshotResponse = 2 {
systime_us systemTimeUs = 0;
nullable epoch_us UTCTimeUs = 1;
}

command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0;
command TimeSnapshot(): TimeSnapshotResponse = 1;
}

/** 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 */
Expand Down Expand Up @@ -1405,6 +1411,8 @@ endpoint 0 {
ram attribute clusterRevision default = 1;

handle command TestEventTrigger;
handle command TimeSnapshot;
handle command TimeSnapshotResponse;
}

server cluster ThreadNetworkDiagnostics {
Expand Down
16 changes: 16 additions & 0 deletions examples/lit-icd-app/lit-icd-common/lit-icd-server-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1688,6 +1688,22 @@
"source": "client",
"isIncoming": 1,
"isEnabled": 1
},
{
"name": "TimeSnapshot",
"code": 1,
"mfgCode": null,
"source": "client",
"isIncoming": 1,
"isEnabled": 1
},
{
"name": "TimeSnapshotResponse",
"code": 2,
"mfgCode": null,
"source": "server",
"isIncoming": 0,
"isEnabled": 1
}
],
"attributes": [
Expand Down

0 comments on commit fdd3851

Please sign in to comment.