Skip to content

Commit

Permalink
[nxp][examples][contact-sensor][zap] Update zap files (#36513)
Browse files Browse the repository at this point in the history
* [nxp][examples][contact-sensor][zap] Update zap files

 * Update cluster version
 * Update AccessControl feature map
 * Add OTA Requestor device type to EP0

* [nxp][examples][contact-sensor][zap] Disable Extension ACL attribute

Signed-off-by: Andrei Menzopol <[email protected]>

---------

Signed-off-by: Andrei Menzopol <[email protected]>
  • Loading branch information
andrei-menzopol authored Nov 19, 2024
1 parent 8fe4596 commit 649c19f
Show file tree
Hide file tree
Showing 4 changed files with 573 additions and 357 deletions.
27 changes: 21 additions & 6 deletions examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,7 @@ cluster IcdManagement = 70 {

endpoint 0 {
device type ma_rootdevice = 22, version 2;
device type ma_otarequestor = 18, version 1;

binding cluster OtaSoftwareUpdateProvider;

Expand All @@ -1732,6 +1733,9 @@ endpoint 0 {
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
callback attribute featureMap;
callback attribute clusterRevision;
}
Expand All @@ -1740,7 +1744,6 @@ endpoint 0 {
emits event AccessControlEntryChanged;
emits event AccessControlExtensionChanged;
callback attribute acl;
callback attribute extension;
callback attribute subjectsPerAccessControlEntry;
callback attribute targetsPerAccessControlEntry;
callback attribute accessControlEntriesPerFabric;
Expand Down Expand Up @@ -1774,7 +1777,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
ram attribute clusterRevision default = 4;
}

server cluster OtaSoftwareUpdateRequestor {
Expand All @@ -1785,6 +1788,9 @@ endpoint 0 {
ram attribute updatePossible default = 1;
ram attribute updateState default = 0;
ram attribute updateStateProgress default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;

Expand All @@ -1801,7 +1807,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;

handle command ArmFailSafe;
handle command ArmFailSafeResponse;
Expand All @@ -1826,7 +1832,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 2;
ram attribute clusterRevision default = 2;
ram attribute clusterRevision default = 3;

handle command ScanNetworks;
handle command ScanNetworksResponse;
Expand Down Expand Up @@ -1943,7 +1949,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x000F;
ram attribute clusterRevision default = 2;
ram attribute clusterRevision default = 3;

handle command ResetCounts;
}
Expand All @@ -1952,6 +1958,9 @@ endpoint 0 {
callback attribute windowStatus;
callback attribute adminFabricIndex;
callback attribute adminVendorId;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;

Expand All @@ -1966,6 +1975,9 @@ endpoint 0 {
callback attribute commissionedFabrics;
callback attribute trustedRootCertificates;
callback attribute currentFabricIndex;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;

Expand All @@ -1988,6 +2000,9 @@ endpoint 0 {
callback attribute groupTable;
callback attribute maxGroupsPerFabric;
callback attribute maxGroupKeysPerFabric;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
callback attribute featureMap;
callback attribute clusterRevision;

Expand Down Expand Up @@ -2034,7 +2049,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;

handle command Identify;
handle command TriggerEffect;
Expand Down
Loading

0 comments on commit 649c19f

Please sign in to comment.