-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate all Matter Device definitions into single source file for…
… zap (#11868) * Consolidate all Matter Device definition into single source file for zap * define MatterBridgedDeviceBasicInformationPluginServerInitCallback() * Run scripts/tools/zap_regen_all.py to rebuild zzz_generated * Fix python style Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
57 changed files
with
5,019 additions
and
3,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP"/> | ||
|
||
|
||
<cluster> | ||
<domain>General</domain> | ||
<name>ACL</name> | ||
<code>0x001F</code> | ||
<define>ACL_CLUSTER</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>The Access Control Cluster exposes a data model view of a Node’s Access Control List (ACL), which | ||
codifies the rules used to manage and enforce Access Control for the Node’s endpoints and their | ||
associated cluster instances. Access to this Access Control Cluster itself requires a special | ||
Administer privilege level, such that only Nodes granted such privilege (hereafter termed | ||
"Administrators") can manage the Access Control Cluster.</description> | ||
<!-- Base data types --> | ||
|
||
<!-- Test Commands --> | ||
|
||
</cluster> | ||
</configurator> |
39 changes: 39 additions & 0 deletions
39
src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information-cluster.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP" /> | ||
|
||
|
||
<cluster> | ||
<domain>General</domain> | ||
<name>Bridged Device Basic Information</name> | ||
<code>0x0039</code> | ||
<define>BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>This Cluster serves two purposes towards a Node communicating with a Bridge: | ||
indicate that the functionality on the Endpoint where it is placed (and its Parts) is bridged from | ||
a non-CHIP technology, and | ||
provide a centralized collection of attributes that the Node MAY collect to aid in conveying | ||
information regarding the Bridged Device to a user, such as the vendor name, the model name, | ||
or user-assigned name.</description> | ||
<!-- Base data types --> | ||
|
||
<!-- Test Commands --> | ||
|
||
</cluster> | ||
</configurator> |
221 changes: 0 additions & 221 deletions
221
src/app/zap-templates/zcl/data-model/chip/chip-devices.xml
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP"/> | ||
|
||
|
||
<cluster> | ||
<domain>General</domain> | ||
<name>Localization Configuration</name> | ||
<code>0x002b</code> | ||
<define>LOCALIZATION_CONFIGURATION_CLUSTER</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions | ||
may have differing common languages, units of measurements, and numerical formatting | ||
standards. As such, Nodes that visually or audibly convey information need a mechanism by which | ||
they can be configured to use a user’s preferred language, units, etc</description> | ||
<!-- Base data types --> | ||
|
||
<!-- Test Commands --> | ||
|
||
</cluster> | ||
</configurator> |
37 changes: 37 additions & 0 deletions
37
src/app/zap-templates/zcl/data-model/chip/localization-time-format-cluster.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP" /> | ||
|
||
|
||
<cluster> | ||
<domain>General</domain> | ||
<name>Localization Time Format</name> | ||
<code>0x002c</code> | ||
<define>LOCALIZATION_TIME_FORMAT_CLUSTER</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions | ||
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually | ||
or audibly convey time information need a mechanism by which they can be configured to use a | ||
user’s preferred format.</description> | ||
<!-- Base data types --> | ||
|
||
<!-- Test Commands --> | ||
|
||
</cluster> | ||
</configurator> |
Oops, something went wrong.