Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 99ff9c1

Browse files
authoredFeb 6, 2024
Merge branch 'master' into feature/fix-cluster-revisions
2 parents c57ec7e + 254010c commit 99ff9c1

File tree

130 files changed

+3184
-1619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+3184
-1619
lines changed
 

‎examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

+18-2
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,10 @@ cluster GeneralDiagnostics = 51 {
759759
kEthernetFault = 6;
760760
}
761761

762+
bitmap Feature : bitmap32 {
763+
kDataModelTest = 0x1;
764+
}
765+
762766
struct NetworkInterface {
763767
char_string<32> name = 0;
764768
boolean isOperational = 1;
@@ -815,10 +819,22 @@ cluster GeneralDiagnostics = 51 {
815819
nullable posix_ms posixTimeMs = 1;
816820
}
817821

822+
request struct PayloadTestRequestRequest {
823+
octet_string<16> enableKey = 0;
824+
int8u value = 1;
825+
int16u count = 2;
826+
}
827+
828+
response struct PayloadTestResponse = 4 {
829+
octet_string payload = 0;
830+
}
831+
818832
/** Provide a means for certification tests to trigger some test-plan-specific events */
819833
command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0;
820834
/** Take a snapshot of system time and epoch time. */
821835
command TimeSnapshot(): TimeSnapshotResponse = 1;
836+
/** Request a variable length payload response. */
837+
command PayloadTestRequest(PayloadTestRequestRequest): PayloadTestResponse = 3;
822838
}
823839

824840
/** Commands to trigger a Node to allow a new Administrator to commission it. */
@@ -2390,8 +2406,8 @@ endpoint 0 {
23902406
callback attribute activeRadioFaults;
23912407
callback attribute activeNetworkFaults;
23922408
callback attribute testEventTriggersEnabled default = false;
2393-
ram attribute featureMap default = 0;
2394-
ram attribute clusterRevision default = 0x0002;
2409+
callback attribute featureMap;
2410+
callback attribute clusterRevision;
23952411

23962412
handle command TestEventTrigger;
23972413
handle command TimeSnapshot;

‎examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

+18-2
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,10 @@ cluster GeneralDiagnostics = 51 {
712712
kEthernetFault = 6;
713713
}
714714

715+
bitmap Feature : bitmap32 {
716+
kDataModelTest = 0x1;
717+
}
718+
715719
struct NetworkInterface {
716720
char_string<32> name = 0;
717721
boolean isOperational = 1;
@@ -768,10 +772,22 @@ cluster GeneralDiagnostics = 51 {
768772
nullable posix_ms posixTimeMs = 1;
769773
}
770774

775+
request struct PayloadTestRequestRequest {
776+
octet_string<16> enableKey = 0;
777+
int8u value = 1;
778+
int16u count = 2;
779+
}
780+
781+
response struct PayloadTestResponse = 4 {
782+
octet_string payload = 0;
783+
}
784+
771785
/** Provide a means for certification tests to trigger some test-plan-specific events */
772786
command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0;
773787
/** Take a snapshot of system time and epoch time. */
774788
command TimeSnapshot(): TimeSnapshotResponse = 1;
789+
/** Request a variable length payload response. */
790+
command PayloadTestRequest(PayloadTestRequestRequest): PayloadTestResponse = 3;
775791
}
776792

777793
/** 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. */
@@ -2103,8 +2119,8 @@ endpoint 0 {
21032119
callback attribute activeRadioFaults;
21042120
callback attribute activeNetworkFaults;
21052121
callback attribute testEventTriggersEnabled default = false;
2106-
ram attribute featureMap default = 0;
2107-
ram attribute clusterRevision default = 0x0002;
2122+
callback attribute featureMap;
2123+
callback attribute clusterRevision;
21082124

21092125
handle command TestEventTrigger;
21102126
handle command TimeSnapshot;

0 commit comments

Comments
 (0)