Skip to content

Commit

Permalink
Update ZAP to fix zapTypeToDecodableClusterObjectType to behave corre…
Browse files Browse the repository at this point in the history
…ctly. (project-chip#30692)

* Update ZAP to fix zapTypeToDecodableClusterObjectType to behave correctly.

Fixes project-chip#30666

The zap_file_parser.py change fixes broken handling of null default values.

* Auto-update ZAP files.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored Nov 29, 2023
1 parent 39b74c5 commit f1b6ea5
Show file tree
Hide file tree
Showing 156 changed files with 15,272 additions and 15,348 deletions.
228 changes: 114 additions & 114 deletions examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

Large diffs are not rendered by default.

627 changes: 313 additions & 314 deletions examples/air-purifier-app/air-purifier-common/air-purifier-app.zap

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

484 changes: 242 additions & 242 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Large diffs are not rendered by default.

1,179 changes: 588 additions & 591 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5426,7 +5426,7 @@ endpoint 0 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute clusterRevision;
}

server cluster Binding {
Expand All @@ -5439,29 +5439,29 @@ endpoint 0 {
emits event AccessControlEntryChanged;
callback attribute acl;
callback attribute extension;
callback attribute subjectsPerAccessControlEntry default = 4;
callback attribute targetsPerAccessControlEntry default = 3;
callback attribute accessControlEntriesPerFabric default = 4;
callback attribute subjectsPerAccessControlEntry;
callback attribute targetsPerAccessControlEntry;
callback attribute accessControlEntriesPerFabric;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute clusterRevision;
}

server cluster BasicInformation {
emits event StartUp;
callback attribute dataModelRevision default = 10;
callback attribute dataModelRevision;
callback attribute vendorName;
callback attribute vendorID;
callback attribute productName;
callback attribute productID;
persist attribute nodeLabel;
callback attribute location default = "XX";
callback attribute hardwareVersion default = 0;
callback attribute location;
callback attribute hardwareVersion;
callback attribute hardwareVersionString;
callback attribute softwareVersion default = 0;
callback attribute softwareVersion;
callback attribute softwareVersionString;
callback attribute capabilityMinima;
callback attribute specificationVersion;
Expand All @@ -5478,7 +5478,7 @@ endpoint 0 {
emits event StateTransition;
emits event VersionApplied;
emits event DownloadError;
callback attribute defaultOTAProviders default = 0;
callback attribute defaultOTAProviders;
ram attribute updatePossible default = 1;
ram attribute updateState default = 0;
ram attribute updateStateProgress default = 0;
Expand Down Expand Up @@ -5534,9 +5534,9 @@ endpoint 0 {
server cluster GeneralCommissioning {
ram attribute breadcrumb default = 0x0000000000000000;
callback attribute basicCommissioningInfo;
callback attribute regulatoryConfig default = 0;
callback attribute locationCapability default = 0;
callback attribute supportsConcurrentConnection default = 1;
callback attribute regulatoryConfig;
callback attribute locationCapability;
callback attribute supportsConcurrentConnection;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down Expand Up @@ -5588,8 +5588,8 @@ endpoint 0 {

server cluster GeneralDiagnostics {
callback attribute networkInterfaces;
callback attribute rebootCount default = 0x0000;
callback attribute upTime default = 0x0000000000000000;
callback attribute rebootCount;
callback attribute upTime;
callback attribute testEventTriggersEnabled;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
Expand All @@ -5604,16 +5604,16 @@ endpoint 0 {
}

server cluster SoftwareDiagnostics {
callback attribute featureMap default = 0;
callback attribute featureMap;
ram attribute clusterRevision default = 1;
}

server cluster ThreadNetworkDiagnostics {
callback attribute channel;
callback attribute routingRole;
callback attribute networkName default = "0";
callback attribute panId default = 0x0000;
callback attribute extendedPanId default = 0x0000000000000000;
callback attribute networkName;
callback attribute panId;
callback attribute extendedPanId;
callback attribute meshLocalPrefix;
callback attribute neighborTable;
callback attribute routeTable;
Expand All @@ -5623,7 +5623,7 @@ endpoint 0 {
callback attribute stableDataVersion;
callback attribute leaderRouterId;
callback attribute securityPolicy;
callback attribute channelPage0Mask default = "0x0000";
callback attribute channelPage0Mask;
callback attribute operationalDatasetComponents;
callback attribute activeNetworkFaultsList;
ram attribute featureMap default = 0;
Expand All @@ -5634,32 +5634,32 @@ endpoint 0 {
callback attribute bssid;
callback attribute securityType;
callback attribute wiFiVersion;
callback attribute channelNumber default = 0x0000;
callback attribute rssi default = 0x00;
callback attribute channelNumber;
callback attribute rssi;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
}

server cluster EthernetNetworkDiagnostics {
callback attribute PHYRate;
callback attribute fullDuplex default = 0x00;
callback attribute packetRxCount default = 0x0000000000000000;
callback attribute packetTxCount default = 0x0000000000000000;
callback attribute txErrCount default = 0x0000000000000000;
callback attribute collisionCount default = 0x0000000000000000;
callback attribute overrunCount default = 0x0000000000000000;
callback attribute carrierDetect default = 0x00;
callback attribute timeSinceReset default = 0x0000000000000000;
callback attribute fullDuplex;
callback attribute packetRxCount;
callback attribute packetTxCount;
callback attribute txErrCount;
callback attribute collisionCount;
callback attribute overrunCount;
callback attribute carrierDetect;
callback attribute timeSinceReset;
ram attribute featureMap default = 3;
ram attribute clusterRevision default = 1;

handle command ResetCounts;
}

server cluster AdministratorCommissioning {
callback attribute windowStatus default = 0;
callback attribute adminFabricIndex default = 1;
callback attribute adminVendorId default = 0;
callback attribute windowStatus;
callback attribute adminFabricIndex;
callback attribute adminVendorId;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down Expand Up @@ -5708,8 +5708,8 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
callback attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute featureMap;
callback attribute clusterRevision;

handle command KeySetWrite;
handle command KeySetRead;
Expand Down Expand Up @@ -5856,7 +5856,7 @@ endpoint 1 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute clusterRevision;
}

server cluster Binding {
Expand Down Expand Up @@ -5913,7 +5913,7 @@ endpoint 1 {
server cluster ModeSelect {
ram attribute description default = "Coffee";
ram attribute standardNamespace default = 0;
callback attribute supportedModes default = 0;
callback attribute supportedModes;
persist attribute currentMode default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
Expand Down Expand Up @@ -6396,7 +6396,7 @@ endpoint 2 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute clusterRevision;
}

server cluster PowerSource {
Expand Down Expand Up @@ -6434,7 +6434,7 @@ endpoint 65534 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute clusterRevision default = 1;
callback attribute clusterRevision;
}

server cluster NetworkCommissioning {
Expand Down
Loading

0 comments on commit f1b6ea5

Please sign in to comment.