Skip to content

Commit 0306bea

Browse files
committed
Generated using ./alchemy zap --attribute="in-progress" ... ZoneManagement.adoc
1 parent 2a7106f commit 0306bea

File tree

2 files changed

+267
-93
lines changed

2 files changed

+267
-93
lines changed

src/app/zap-templates/zcl/data-model/chip/zone-management-cluster.xml

+11-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
XML generated by Alchemy; DO NOT EDIT.
1919
Source: src/app_clusters/ZoneManagement.adoc
2020
Parameters: in-progress
21-
Git: 0.9-fall2024-302-gebc8548b3
21+
Git: 1.4-282-gad46b0990
2222
-->
2323
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
2424
<domain name="Measurement &amp; Sensing"/>
@@ -78,12 +78,13 @@ Git: 0.9-fall2024-302-gebc8548b3
7878
<item fieldId="2" name="ZoneSource" type="ZoneSourceEnum" min="0x00" max="0x01"/>
7979
</struct>
8080

81-
<struct name="ZoneTriggeringTimeControlStruct" apiMaturity="provisional">
81+
<struct name="ZoneTriggerControlStruct" apiMaturity="provisional">
8282
<cluster code="0x0550"/>
8383
<item fieldId="0" name="InitialDuration" type="int16u" default="10"/>
8484
<item fieldId="1" name="AugmentationDuration" type="int16u" default="5"/>
8585
<item fieldId="2" name="MaxDuration" type="elapsed_s" default="30"/>
8686
<item fieldId="3" name="BlindDuration" type="int16u" default="30"/>
87+
<item fieldId="4" name="Sensitivity" type="int8u" optional="true" default="5" min="1" max="10"/>
8788
</struct>
8889

8990
<cluster apiMaturity="provisional">
@@ -94,16 +95,19 @@ Git: 0.9-fall2024-302-gebc8548b3
9495
<description>This cluster provides an interface to manage regions of interest, or Zones, which can be either manufacturer or user defined.</description>
9596
<client init="false" tick="false">true</client>
9697
<features>
97-
<feature bit="0" code="TWODCART" name="TwoDimensionalCartesianZone" summary="Devices support Two Dimensional Cartesian Zones">
98-
<mandatoryConform/>
98+
<feature bit="0" code="TWODCART" name="TwoDimensionalCartesianZone" summary="Support Two Dimensional Cartesian Zones">
99+
<optionalConform choice="a" more="true" min="1"/>
100+
</feature>
101+
<feature bit="1" code="PERZONESENS" name="PerZoneSensitivity" summary="Supports a sensitivity value per Zone">
102+
<optionalConform/>
99103
</feature>
100104
</features>
101105
<server init="false" tick="false">true</server>
102106
<globalAttribute code="0xFFFD" side="either" value="1"/>
103107
<attribute code="0x0000" side="server" define="SUPPORTED_ZONE_SOURCES" type="array" entryType="ZoneSourceEnum">SupportedZoneSources</attribute>
104108
<attribute code="0x0001" side="server" define="ZONES" type="array" entryType="ZoneInformationStruct" optional="true">Zones</attribute>
105-
<attribute code="0x0002" side="server" define="TIME_CONTROL" type="array" entryType="ZoneTriggeringTimeControlStruct" writable="true">TimeControl</attribute>
106-
<attribute code="0x0003" side="server" define="SENSITIVITY" type="int8u" min="1" max="10" default="5" writable="true">Sensitivity</attribute>
109+
<attribute code="0x0002" side="server" define="TIME_CONTROL" type="array" entryType="ZoneTriggerControlStruct" writable="true">Triggers</attribute>
110+
<attribute code="0x0003" side="server" define="SENSITIVITY" type="int8u" min="1" max="10" default="5" writable="true" optional="true">Sensitivity</attribute>
107111
<command code="0x00" source="client" name="CreateTwoDCartesianZone" optional="true" response="CreateTwoDCartesianZoneResponse">
108112
<description>This command SHALL create and store a TwoD Cartesian Zone.</description>
109113
<access op="invoke" privilege="manage"/>
@@ -148,7 +152,7 @@ Git: 0.9-fall2024-302-gebc8548b3
148152
<event code="0x0001" name="ZoneStopped" priority="info" side="server">
149153
<field id="0" name="Zones" array="true" type="int16u"/>
150154
<field id="1" name="Reason" type="ZoneEventStoppedReasonEnum" min="0x00" max="0x01"/>
151-
<description>This event SHALL be generated when either when the TriggerDetectedDuration value is exceeded by the TimeSinceInitialTrigger value or when the MaxDuration value is exceeded by the TimeSinceInitialTrigger value as described in ZoneTriggeringTimeControlStruct.</description>
155+
<description>This event SHALL be generated when either when the TriggerDetectedDuration value is exceeded by the TimeSinceInitialTrigger value or when the MaxDuration value is exceeded by the TimeSinceInitialTrigger value as described in ZoneTriggerControlStruct.</description>
152156
</event>
153157

154158
</cluster>

0 commit comments

Comments
 (0)