Skip to content

Commit ca57b59

Browse files
DM XMLs: Add ToT directory (#33789)
* DM XMLs: Add ToT directory Adds a ToT and 1.3 directory for spec scrapes and adjusts the tests to allow either. NOTE: - The conformance test has NOT YET BEEN CHANGED to allow use of inprogress clusters. I want to do this in a separate PR - generator script has not yet been updated to auto-swap the spec branch, so this needs to be run once per directory with the appropriate spec root set to the appropriate checkout - md doc has not yet been updated to track ToT cluster and device type IDs. This will be done in a separate PR. * Fix ID generation * Restyled by autopep8 * Apply suggestions from code review --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent f57b791 commit ca57b59

File tree

364 files changed

+36150
-9
lines changed

Some content is hidden

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

364 files changed

+36150
-9
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+252
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright (C) Connectivity Standards Alliance (2021). All rights reserved.
4+
The information within this document is the property of the Connectivity
5+
Standards Alliance and its use and disclosure are restricted, except as
6+
expressly set forth herein.
7+
8+
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
9+
nontransferable, worldwide, limited and revocable license (without the right to
10+
sublicense), under Connectivity Standards Alliance's applicable copyright
11+
rights, to view, download, save, reproduce and use the document solely for your
12+
own internal purposes and in accordance with the terms of the license set forth
13+
herein. This license does not authorize you to, and you expressly warrant that
14+
you shall not: (a) permit others (outside your organization) to use this
15+
document; (b) post or publish this document; (c) modify, adapt, translate, or
16+
otherwise change this document in any manner or create any derivative work
17+
based on this document; (d) remove or modify any notice or label on this
18+
document, including this Copyright Notice, License and Disclaimer. The
19+
Connectivity Standards Alliance does not grant you any license hereunder other
20+
than as expressly stated herein.
21+
22+
Elements of this document may be subject to third party intellectual property
23+
rights, including without limitation, patent, copyright or trademark rights,
24+
and any such third party may or may not be a member of the Connectivity
25+
Standards Alliance. Connectivity Standards Alliance members grant other
26+
Connectivity Standards Alliance members certain intellectual property rights as
27+
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
28+
Standards Alliance members do not grant you any rights under this license. The
29+
Connectivity Standards Alliance is not responsible for, and shall not be held
30+
responsible in any manner for, identifying or failing to identify any or all
31+
such third party intellectual property rights. Please visit www.csa-iot.org for
32+
more information on how to become a member of the Connectivity Standards
33+
Alliance.
34+
35+
This document and the information contained herein are provided on an “AS IS”
36+
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
37+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
38+
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
39+
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
40+
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
41+
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
42+
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
43+
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
44+
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
45+
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
46+
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
47+
LOSS OR DAMAGE.
48+
49+
All company, brand and product names in this document may be trademarks that
50+
are the sole property of their respective owners.
51+
52+
This notice and disclaimer must be included on all copies of this document.
53+
54+
Connectivity Standards Alliance
55+
508 Second Street, Suite 206
56+
Davis, CA 95616, USA
57+
-->
58+
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x001F" name="Access Control Cluster" revision="2">
59+
<revisionHistory>
60+
<revision revision="1" summary="Initial Release"/>
61+
<revision revision="2" summary="Added Managed feature"/>
62+
</revisionHistory>
63+
<clusterIds>
64+
<clusterId id="0x001F" name="AccessControl"/>
65+
</clusterIds>
66+
<classification hierarchy="base" role="utility" picsCode="ACL" scope="Node"/>
67+
<features>
68+
<feature bit="0" code="MNGD" name="Managed" summary="Device is managed">
69+
<optionalConform/>
70+
</feature>
71+
</features>
72+
<dataTypes>
73+
<enum name="AccessControlEntryAuthModeEnum">
74+
<item value="1" name="PASE" summary="Passcode authenticated session">
75+
<mandatoryConform/>
76+
</item>
77+
<item value="2" name="CASE" summary="Certificate authenticated session">
78+
<mandatoryConform/>
79+
</item>
80+
<item value="3" name="Group" summary="Group authenticated session">
81+
<mandatoryConform/>
82+
</item>
83+
<item value="4" name="ALL" summary="All modes">
84+
<mandatoryConform>
85+
<feature name="MNGD"/>
86+
</mandatoryConform>
87+
</item>
88+
</enum>
89+
<enum name="AccessControlEntryPrivilegeEnum">
90+
<item value="1" name="View" summary="Can read and observe all (except Access Control Cluster and as seen by a non-Proxy)">
91+
<mandatoryConform/>
92+
</item>
93+
<item value="2" name="Proxy" summary="Can read and observe all (as seen by a Proxy)">
94+
<otherwiseConform>
95+
<provisionalConform/>
96+
<mandatoryConform/>
97+
</otherwiseConform>
98+
</item>
99+
<item value="3" name="Operate" summary="View privileges, and can perform the primary function of this Node (except Access Control Cluster)">
100+
<mandatoryConform/>
101+
</item>
102+
<item value="4" name="Manage" summary="Operate privileges, and can modify persistent configuration of this Node (except Access Control Cluster)">
103+
<mandatoryConform/>
104+
</item>
105+
<item value="5" name="Administer" summary="Manage privileges, and can observe and modify the Access Control Cluster">
106+
<mandatoryConform/>
107+
</item>
108+
</enum>
109+
<enum name="ChangeTypeEnum">
110+
<item value="0" name="Changed" summary="Entry or extension was changed">
111+
<mandatoryConform/>
112+
</item>
113+
<item value="1" name="Added" summary="Entry or extension was added">
114+
<mandatoryConform/>
115+
</item>
116+
<item value="2" name="Removed" summary="Entry or extension was removed">
117+
<mandatoryConform/>
118+
</item>
119+
</enum>
120+
<struct name="AccessControlEntryStruct">
121+
<field id="1" name="Privilege" type="AccessControlEntryPrivilegeEnum">
122+
<access fabricSensitive="true"/>
123+
<mandatoryConform/>
124+
</field>
125+
<field id="2" name="AuthMode" type="AccessControlEntryAuthModeEnum">
126+
<access fabricSensitive="true"/>
127+
<mandatoryConform/>
128+
</field>
129+
<field id="3" name="Subjects" type="list">
130+
<entry type="SubjectID"/>
131+
<access fabricSensitive="true"/>
132+
<quality nullable="true"/>
133+
<mandatoryConform/>
134+
<constraint type="maxCount" value="SubjectsPerAccessControlEntry"/>
135+
</field>
136+
<field id="4" name="Targets" type="list">
137+
<entry type="AccessControlTargetStruct"/>
138+
<access fabricSensitive="true"/>
139+
<quality nullable="true"/>
140+
<mandatoryConform/>
141+
<constraint type="maxCount" value="TargetsPerAccessControlEntry"/>
142+
</field>
143+
<access fabricScoped="true"/>
144+
</struct>
145+
<struct name="AccessControlExtensionStruct">
146+
<field id="1" name="Data" type="octstr">
147+
<access fabricSensitive="true"/>
148+
<mandatoryConform/>
149+
<constraint type="maxLength" value="128"/>
150+
</field>
151+
<access fabricScoped="true"/>
152+
</struct>
153+
<struct name="AccessControlTargetStruct">
154+
<field id="0" name="Cluster" type="cluster-id">
155+
<quality nullable="true"/>
156+
<mandatoryConform/>
157+
</field>
158+
<field id="1" name="Endpoint" type="endpoint-no">
159+
<quality nullable="true"/>
160+
<mandatoryConform/>
161+
</field>
162+
<field id="2" name="DeviceType" type="devtype-id">
163+
<quality nullable="true"/>
164+
<mandatoryConform/>
165+
</field>
166+
</struct>
167+
</dataTypes>
168+
<attributes>
169+
<attribute id="0x0000" name="ACL" type="list" default="desc">
170+
<entry type="AccessControlEntryStruct"/>
171+
<access read="true" write="true" readPrivilege="admin" writePrivilege="admin" fabricScoped="true"/>
172+
<mandatoryConform/>
173+
<constraint type="desc"/>
174+
</attribute>
175+
<attribute id="0x0001" name="Extension" type="list" default="desc">
176+
<entry type="AccessControlExtensionStruct"/>
177+
<access read="true" write="true" readPrivilege="admin" writePrivilege="admin" fabricScoped="true"/>
178+
<optionalConform/>
179+
<constraint type="desc"/>
180+
</attribute>
181+
<attribute id="0x0002" name="SubjectsPerAccessControlEntry" type="uint16" default="4">
182+
<access read="true" readPrivilege="view"/>
183+
<quality changeOmitted="false" nullable="false" scene="false" persistence="fixed" reportable="false"/>
184+
<mandatoryConform/>
185+
<constraint type="min" value="4"/>
186+
</attribute>
187+
<attribute id="0x0003" name="TargetsPerAccessControlEntry" type="uint16" default="3">
188+
<access read="true" readPrivilege="view"/>
189+
<quality changeOmitted="false" nullable="false" scene="false" persistence="fixed" reportable="false"/>
190+
<mandatoryConform/>
191+
<constraint type="min" value="3"/>
192+
</attribute>
193+
<attribute id="0x0004" name="AccessControlEntriesPerFabric" type="uint16" default="4">
194+
<access read="true" readPrivilege="view"/>
195+
<quality changeOmitted="false" nullable="false" scene="false" persistence="fixed" reportable="false"/>
196+
<mandatoryConform/>
197+
<constraint type="min" value="4"/>
198+
</attribute>
199+
<attribute id="0x0005" name="ManagedACL" type="list" default="desc">
200+
<entry type="AccessControlEntryStruct"/>
201+
<access read="true" readPrivilege="view" fabricScoped="true"/>
202+
<mandatoryConform>
203+
<feature name="MNGD"/>
204+
</mandatoryConform>
205+
<constraint type="desc"/>
206+
</attribute>
207+
</attributes>
208+
<events>
209+
<event id="0x00" name="AccessControlEntryChanged" priority="info">
210+
<access readPrivilege="admin" fabricSensitive="true"/>
211+
<mandatoryConform/>
212+
<field id="1" name="AdminNodeID" type="node-id">
213+
<quality nullable="true"/>
214+
<mandatoryConform/>
215+
<constraint type="desc"/>
216+
</field>
217+
<field id="2" name="AdminPasscodeID" type="uint16">
218+
<quality nullable="true"/>
219+
<mandatoryConform/>
220+
<constraint type="desc"/>
221+
</field>
222+
<field id="3" name="ChangeType" type="ChangeTypeEnum">
223+
<mandatoryConform/>
224+
</field>
225+
<field id="4" name="LatestValue" type="AccessControlEntryStruct">
226+
<quality nullable="true"/>
227+
<mandatoryConform/>
228+
</field>
229+
</event>
230+
<event id="0x01" name="AccessControlExtensionChanged" priority="info">
231+
<access readPrivilege="admin" fabricSensitive="true"/>
232+
<mandatoryConform/>
233+
<field id="1" name="AdminNodeID" type="node-id">
234+
<quality nullable="true"/>
235+
<mandatoryConform/>
236+
<constraint type="desc"/>
237+
</field>
238+
<field id="2" name="AdminPasscodeID" type="uint16">
239+
<quality nullable="true"/>
240+
<mandatoryConform/>
241+
<constraint type="desc"/>
242+
</field>
243+
<field id="3" name="ChangeType" type="ChangeTypeEnum">
244+
<mandatoryConform/>
245+
</field>
246+
<field id="4" name="LatestValue" type="AccessControlExtensionStruct">
247+
<quality nullable="true"/>
248+
<mandatoryConform/>
249+
</field>
250+
</event>
251+
</events>
252+
</cluster>
+118
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright (C) Connectivity Standards Alliance (2021). All rights reserved.
4+
The information within this document is the property of the Connectivity
5+
Standards Alliance and its use and disclosure are restricted, except as
6+
expressly set forth herein.
7+
8+
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
9+
nontransferable, worldwide, limited and revocable license (without the right to
10+
sublicense), under Connectivity Standards Alliance's applicable copyright
11+
rights, to view, download, save, reproduce and use the document solely for your
12+
own internal purposes and in accordance with the terms of the license set forth
13+
herein. This license does not authorize you to, and you expressly warrant that
14+
you shall not: (a) permit others (outside your organization) to use this
15+
document; (b) post or publish this document; (c) modify, adapt, translate, or
16+
otherwise change this document in any manner or create any derivative work
17+
based on this document; (d) remove or modify any notice or label on this
18+
document, including this Copyright Notice, License and Disclaimer. The
19+
Connectivity Standards Alliance does not grant you any license hereunder other
20+
than as expressly stated herein.
21+
22+
Elements of this document may be subject to third party intellectual property
23+
rights, including without limitation, patent, copyright or trademark rights,
24+
and any such third party may or may not be a member of the Connectivity
25+
Standards Alliance. Connectivity Standards Alliance members grant other
26+
Connectivity Standards Alliance members certain intellectual property rights as
27+
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
28+
Standards Alliance members do not grant you any rights under this license. The
29+
Connectivity Standards Alliance is not responsible for, and shall not be held
30+
responsible in any manner for, identifying or failing to identify any or all
31+
such third party intellectual property rights. Please visit www.csa-iot.org for
32+
more information on how to become a member of the Connectivity Standards
33+
Alliance.
34+
35+
This document and the information contained herein are provided on an “AS IS”
36+
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
37+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
38+
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
39+
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
40+
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
41+
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
42+
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
43+
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
44+
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
45+
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
46+
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
47+
LOSS OR DAMAGE.
48+
49+
All company, brand and product names in this document may be trademarks that
50+
are the sole property of their respective owners.
51+
52+
This notice and disclaimer must be included on all copies of this document.
53+
54+
Connectivity Standards Alliance
55+
508 Second Street, Suite 206
56+
Davis, CA 95616, USA
57+
58+
:xrefstyle: basic
59+
-->
60+
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x050E" name="Account Login Cluster" revision="2">
61+
<revisionHistory>
62+
<revision revision="1" summary="Initial Release"/>
63+
<revision revision="2" summary="Add support for 8 character PIN code, Add Node to Login, Logout commands. Add LoggedOut event."/>
64+
</revisionHistory>
65+
<clusterIds>
66+
<clusterId id="0x050E" name="Account Login"/>
67+
</clusterIds>
68+
<classification hierarchy="base" role="application" picsCode="ALOGIN" scope="Endpoint"/>
69+
<commands>
70+
<command id="0x00" name="GetSetupPIN" direction="commandToServer" response="GetSetupPINResponse">
71+
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
72+
<mandatoryConform/>
73+
<field id="0" name="TempAccountIdentifier" type="string">
74+
<mandatoryConform/>
75+
<constraint type="lengthBetween" from="16" to="100"/>
76+
</field>
77+
</command>
78+
<command id="0x01" name="GetSetupPINResponse" direction="responseFromServer">
79+
<access fabricScoped="true"/>
80+
<mandatoryConform/>
81+
<field id="0" name="SetupPIN" type="string">
82+
<mandatoryConform/>
83+
<constraint type="desc"/>
84+
</field>
85+
</command>
86+
<command id="0x02" name="Login" direction="commandToServer" response="Y">
87+
<access invokePrivilege="admin" fabricScoped="true" timed="true"/>
88+
<mandatoryConform/>
89+
<field id="0" name="TempAccountIdentifier" type="string">
90+
<mandatoryConform/>
91+
<constraint type="lengthBetween" from="16" to="100"/>
92+
</field>
93+
<field id="1" name="SetupPIN" type="string">
94+
<mandatoryConform/>
95+
<constraint type="minLength" value="8"/>
96+
</field>
97+
<field id="2" name="Node" type="node-id">
98+
<optionalConform/>
99+
</field>
100+
</command>
101+
<command id="0x03" name="Logout" direction="commandToServer" response="Y">
102+
<access invokePrivilege="operate" fabricScoped="true" timed="true"/>
103+
<mandatoryConform/>
104+
<field id="0" name="Node" type="node-id">
105+
<optionalConform/>
106+
</field>
107+
</command>
108+
</commands>
109+
<events>
110+
<event id="0x00" name="LoggedOut" priority="critical">
111+
<access readPrivilege="admin" fabricSensitive="true"/>
112+
<optionalConform/>
113+
<field id="0" name="Node" type="node-id">
114+
<optionalConform/>
115+
</field>
116+
</event>
117+
</events>
118+
</cluster>

0 commit comments

Comments
 (0)