Skip to content

Commit

Permalink
[NXP] Update matter zap file
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Menzopol <[email protected]>
  • Loading branch information
andrei-menzopol committed Feb 12, 2024
1 parent e3dff6a commit 2989797
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions examples/contact-sensor-app/nxp/zap/contact-sensor-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@ cluster GeneralDiagnostics = 51 {
kEthernetFault = 6;
}

bitmap Feature : bitmap32 {
kDataModelTest = 0x1;
}

struct NetworkInterface {
char_string<32> name = 0;
boolean isOperational = 1;
Expand Down Expand Up @@ -768,10 +772,22 @@ cluster GeneralDiagnostics = 51 {
nullable posix_ms posixTimeMs = 1;
}

request struct PayloadTestRequestRequest {
octet_string<16> enableKey = 0;
int8u value = 1;
int16u count = 2;
}

response struct PayloadTestResponse = 4 {
octet_string payload = 0;
}

/** Provide a means for certification tests to trigger some test-plan-specific events */
command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0;
/** Take a snapshot of system time and epoch time. */
command TimeSnapshot(): TimeSnapshotResponse = 1;
/** Request a variable length payload response. */
command PayloadTestRequest(PayloadTestRequestRequest): PayloadTestResponse = 3;
}

/** The Software 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 @@ -1440,8 +1456,8 @@ endpoint 0 {
callback attribute rebootCount;
callback attribute activeNetworkFaults;
callback attribute testEventTriggersEnabled default = false;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
callback attribute featureMap;
callback attribute clusterRevision;

handle command TestEventTrigger;
}
Expand Down

0 comments on commit 2989797

Please sign in to comment.