Skip to content

Commit a59041b

Browse files
authored
DM: update 1.5 data model files for SVE (project-chip#41341)
* Remove Q phase 3 from the in progress defines * Update data model files for 1.5 * device types are provisional if clients are provisional * Fix up spec parsing for conditions * fix linter * linter and mypy * whoops * Add workaround for water heater * Update root node device type on lock
1 parent d890ac2 commit a59041b

Some content is hidden

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

57 files changed

+744
-429
lines changed

data_model/1.5/clusters/BasicInformationCluster.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Davis, CA 95616, USA
8383
<item value="3" name="Teal" summary="Approximately RGB #008080.">
8484
<mandatoryConform/>
8585
</item>
86-
<item value="4" name="Maroon" summary="Approximately RGB #800080.">
86+
<item value="4" name="Maroon" summary="Approximately RGB #800000.">
8787
<mandatoryConform/>
8888
</item>
8989
<item value="5" name="Purple" summary="Approximately RGB #800080.">

data_model/1.5/clusters/BridgedDeviceBasicInformationCluster.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Davis, CA 95616, USA
8888
<item value="3" name="Teal" summary="Approximately RGB #008080.">
8989
<mandatoryConform/>
9090
</item>
91-
<item value="4" name="Maroon" summary="Approximately RGB #800080.">
91+
<item value="4" name="Maroon" summary="Approximately RGB #800000.">
9292
<mandatoryConform/>
9393
</item>
9494
<item value="5" name="Purple" summary="Approximately RGB #800080.">

data_model/1.5/clusters/CommodityMetering.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ Davis, CA 95616, USA
107107
<access read="true" readPrivilege="view"/>
108108
<quality nullable="true"/>
109109
<mandatoryConform/>
110+
<constraint>
111+
<min value="1"/>
112+
</constraint>
110113
</attribute>
111114
</attributes>
112115
</cluster>

data_model/1.5/clusters/DiagnosticLogsCluster.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Davis, CA 95616, USA
8383
<item value="0" name="Success" summary="Successful transfer of logs">
8484
<mandatoryConform/>
8585
</item>
86-
<item value="1" name="Exhausted" summary="All logs has been transferred">
86+
<item value="1" name="Exhausted" summary="All logs have been transferred">
8787
<mandatoryConform/>
8888
</item>
8989
<item value="2" name="NoLogs" summary="No logs of the requested type available">

data_model/1.5/clusters/DiagnosticsGeneral.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Davis, CA 95616, USA
6060
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0033" name="General Diagnostics Cluster" revision="2">
6161
<revisionHistory>
6262
<revision revision="1" summary="Initial revision"/>
63-
<revision revision="2" summary="UpTime attribute now mandatory, and added TimeSnapshot command, added DMTEST feature."/>
63+
<revision revision="2" summary="UpTime attribute now mandatory, and added TimeSnapshot command, added DMTEST feature"/>
6464
</revisionHistory>
6565
<clusterIds>
6666
<clusterId id="0x0033" name="General Diagnostics"/>

data_model/1.5/clusters/DoorLock.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ Davis, CA 95616, USA
125125
<feature bit="12" code="UBOLT" name="Unbolting" summary="Lock supports unbolting">
126126
<optionalConform/>
127127
</feature>
128-
<feature bit="13" code="ALIRO" name="AliroProvisioning" summary="Lock supports Aliro credential provisioning as defined in [Aliro&amp;#93;">
128+
<feature bit="13" code="ALIRO" name="AliroProvisioning" summary="Lock supports Aliro credential provisioning as defined in Aliro">
129129
<optionalConform/>
130130
</feature>
131-
<feature bit="14" code="ALBU" name="AliroBLEUWB" summary="Lock supports the Bluetooth LE + UWB Access Control Flow as defined in [Aliro&amp;#93;">
131+
<feature bit="14" code="ALBU" name="AliroBLEUWB" summary="Lock supports the Bluetooth LE + UWB Access Control Flow as defined in Aliro">
132132
<optionalConform>
133133
<feature name="ALIRO"/>
134134
</optionalConform>
@@ -215,17 +215,17 @@ Davis, CA 95616, USA
215215
<feature name="FACE"/>
216216
</mandatoryConform>
217217
</item>
218-
<item value="6" name="AliroCredentialIssuerKey" summary="A Credential Issuer public key as defined in [Aliro&amp;#93;">
218+
<item value="6" name="AliroCredentialIssuerKey" summary="A Credential Issuer public key as defined in Aliro">
219219
<mandatoryConform>
220220
<feature name="ALIRO"/>
221221
</mandatoryConform>
222222
</item>
223-
<item value="7" name="AliroEvictableEndpointKey" summary="An Endpoint public key as defined in [Aliro&amp;#93; which can be evicted if space is needed for another endpoint key">
223+
<item value="7" name="AliroEvictableEndpointKey" summary="An Endpoint public key as defined in Aliro which can be evicted if space is needed for another endpoint key">
224224
<mandatoryConform>
225225
<feature name="ALIRO"/>
226226
</mandatoryConform>
227227
</item>
228-
<item value="8" name="AliroNonEvictableEndpointKey" summary="An Endpoint public key as defined in [Aliro&amp;#93; which cannot be evicted if space is needed for another endpoint key">
228+
<item value="8" name="AliroNonEvictableEndpointKey" summary="An Endpoint public key as defined in Aliro which cannot be evicted if space is needed for another endpoint key">
229229
<mandatoryConform>
230230
<feature name="ALIRO"/>
231231
</mandatoryConform>
@@ -509,7 +509,7 @@ Davis, CA 95616, USA
509509
<feature name="USR"/>
510510
</optionalConform>
511511
</item>
512-
<item value="10" name="Aliro" summary="Lock/unlock operation came from an interaction defined in [Aliro&amp;#93;, or user change operation was a step-up credential provisioning as defined in [Aliro&amp;#93;">
512+
<item value="10" name="Aliro" summary="Lock/unlock operation came from an interaction defined in Aliro, or user change operation was a step-up credential provisioning as defined in Aliro">
513513
<mandatoryConform>
514514
<feature name="ALIRO"/>
515515
</mandatoryConform>

data_model/1.5/clusters/FanControl.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ Davis, CA 95616, USA
5757
5858
:xrefstyle: basic
5959
-->
60-
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0202" name="Fan Control Cluster" revision="6">
60+
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0202" name="Fan Control Cluster" revision="5">
6161
<revisionHistory>
6262
<revision revision="1" summary="Mandatory global ClusterRevision attribute added"/>
6363
<revision revision="2" summary="New data model format and notation; Percent, speed and motion settings; General cleanup"/>
6464
<revision revision="3" summary="Addition of AirflowDirection and Step command"/>
6565
<revision revision="4" summary="Change conformance for FanModeSequenceEnum"/>
6666
<revision revision="5" summary="Clarified attribute usage, added conformance column"/>
67-
<revision revision="6" summary="Added Q quality for PercentCurrent and SpeedCurrent"/>
6867
</revisionHistory>
6968
<clusterIds>
7069
<clusterId id="0x0202" name="Fan Control"/>
@@ -216,7 +215,6 @@ Davis, CA 95616, USA
216215
</attribute>
217216
<attribute id="0x0003" name="PercentCurrent" type="percent">
218217
<access read="true" readPrivilege="view"/>
219-
<quality quieterReporting="true"/>
220218
<mandatoryConform/>
221219
<constraint>
222220
<max value="100"/>
@@ -249,7 +247,7 @@ Davis, CA 95616, USA
249247
</attribute>
250248
<attribute id="0x0006" name="SpeedCurrent" type="uint8">
251249
<access read="true" readPrivilege="view"/>
252-
<quality reportable="true" quieterReporting="true"/>
250+
<quality reportable="true"/>
253251
<mandatoryConform>
254252
<feature name="SPD"/>
255253
</mandatoryConform>

data_model/1.5/clusters/GeneralCommissioningCluster.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ Davis, CA 95616, USA
7070
<feature bit="0" code="TC" name="TermsAndConditions" summary="Supports Terms &amp; Conditions acknowledgement">
7171
<optionalConform/>
7272
</feature>
73+
<feature bit="1" code="NR" name="NetworkRecovery" summary="Supports Network Recovery">
74+
<otherwiseConform>
75+
<provisionalConform/>
76+
<optionalConform/>
77+
</otherwiseConform>
78+
</feature>
7379
</features>
7480
<dataTypes>
7581
<enum name="CommissioningErrorEnum">
@@ -104,6 +110,17 @@ Davis, CA 95616, USA
104110
</mandatoryConform>
105111
</item>
106112
</enum>
113+
<enum name="NetworkRecoveryReasonEnum">
114+
<item value="0" name="Unspecified" summary="Unspecified / unknown reason of network failure">
115+
<mandatoryConform/>
116+
</item>
117+
<item value="1" name="Auth" summary="Credentials for the configured operational network are not valid">
118+
<mandatoryConform/>
119+
</item>
120+
<item value="2" name="Visibility" summary="Configured network cannot be found (e.g. the device cannot see the configured Wi-Fi SSID, Thread end-node is unable to find a parent router on the PAN)">
121+
<mandatoryConform/>
122+
</item>
123+
</enum>
107124
<enum name="RegulatoryLocationTypeEnum">
108125
<item value="0" name="Indoor" summary="Indoor only">
109126
<mandatoryConform/>
@@ -195,6 +212,29 @@ Davis, CA 95616, USA
195212
<feature name="TC"/>
196213
</mandatoryConform>
197214
</attribute>
215+
<attribute id="0x000A" name="RecoveryIdentifier" type="octstr" default="0">
216+
<access read="true" readPrivilege="manage"/>
217+
<quality persistence="nonVolatile"/>
218+
<otherwiseConform>
219+
<provisionalConform/>
220+
<mandatoryConform>
221+
<feature name="NR"/>
222+
</mandatoryConform>
223+
</otherwiseConform>
224+
<constraint>
225+
<allowed value="8"/>
226+
</constraint>
227+
</attribute>
228+
<attribute id="0x000B" name="NetworkRecoveryReason" type="NetworkRecoveryReasonEnum" default="null">
229+
<access read="true" readPrivilege="manage"/>
230+
<quality nullable="true"/>
231+
<otherwiseConform>
232+
<provisionalConform/>
233+
<mandatoryConform>
234+
<feature name="NR"/>
235+
</mandatoryConform>
236+
</otherwiseConform>
237+
</attribute>
198238
<attribute id="0x000C" name="IsCommissioningWithoutPower" type="bool" default="false">
199239
<access read="true" readPrivilege="view"/>
200240
<otherwiseConform>

data_model/1.5/clusters/Group-Key-Management-Cluster.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,50 +129,42 @@ Davis, CA 95616, USA
129129
<mandatoryConform/>
130130
</field>
131131
<field id="1" name="GroupKeySecurityPolicy" type="GroupKeySecurityPolicyEnum">
132-
<access fabricSensitive="true"/>
133132
<mandatoryConform/>
134133
</field>
135134
<field id="2" name="EpochKey0" type="octstr">
136-
<access fabricSensitive="true"/>
137135
<quality nullable="true"/>
138136
<mandatoryConform/>
139137
<constraint>
140138
<allowed value="16"/>
141139
</constraint>
142140
</field>
143141
<field id="3" name="EpochStartTime0" type="epoch-us">
144-
<access fabricSensitive="true"/>
145142
<quality nullable="true"/>
146143
<mandatoryConform/>
147144
</field>
148145
<field id="4" name="EpochKey1" type="octstr">
149-
<access fabricSensitive="true"/>
150146
<quality nullable="true"/>
151147
<mandatoryConform/>
152148
<constraint>
153149
<allowed value="16"/>
154150
</constraint>
155151
</field>
156152
<field id="5" name="EpochStartTime1" type="epoch-us">
157-
<access fabricSensitive="true"/>
158153
<quality nullable="true"/>
159154
<mandatoryConform/>
160155
</field>
161156
<field id="6" name="EpochKey2" type="octstr">
162-
<access fabricSensitive="true"/>
163157
<quality nullable="true"/>
164158
<mandatoryConform/>
165159
<constraint>
166160
<allowed value="16"/>
167161
</constraint>
168162
</field>
169163
<field id="7" name="EpochStartTime2" type="epoch-us">
170-
<access fabricSensitive="true"/>
171164
<quality nullable="true"/>
172165
<mandatoryConform/>
173166
</field>
174167
<field id="8" name="GroupKeyMulticastPolicy" type="GroupKeyMulticastPolicyEnum">
175-
<access fabricSensitive="true"/>
176168
<otherwiseConform>
177169
<provisionalConform/>
178170
<mandatoryConform/>

data_model/1.5/clusters/JointFabricDatastoreCluster.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ Davis, CA 95616, USA
635635
</constraint>
636636
</field>
637637
<field id="5" name="GroupPermission" type="DatastoreAccessControlEntryPrivilegeEnum">
638+
<quality nullable="true"/>
638639
<mandatoryConform/>
639640
</field>
640641
</command>

0 commit comments

Comments
 (0)