Skip to content

Commit 7399036

Browse files
Updated occupancy sensing cluster XML to Rev 5 (Matter 1.4)
1 parent 247f05d commit 7399036

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml

+41
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,47 @@ limitations under the License.
3737
<field name="PhysicalContact" mask="0x04"/>
3838
</bitmap>
3939

40+
<struct apiMaturity="provisional" name="HoldTimeLimitsStruct">
41+
<cluster code="0x0406"/> <!-- Occupancy Sensing Cluster -->
42+
<item name="HoldTimeMin" fieldId="0" type="int16u" optional="false"/>
43+
<item name="HoldTimeMax" fieldId="1" type="int16u" optional="false"/>
44+
<item name="HoldTimeDefault" fieldId="2" type="int16u" optional="false"/>
45+
</struct>
46+
4047
<cluster>
4148
<name>Occupancy Sensing</name>
4249
<domain>Measurement &amp; Sensing</domain>
4350
<description>Attributes and commands for configuring occupancy sensing, and reporting occupancy status.</description>
4451
<code>0x0406</code>
4552
<define>OCCUPANCY_SENSING_CLUSTER</define>
4653

54+
<features>
55+
<feature apiMaturity="provisional" bit="0" code="OTHER" name="Other" summary="Supports sensing using a modality not listed in the other bits">
56+
<optionalConform choice="a" more="true"/>
57+
</feature>
58+
<feature apiMaturity="provisional" bit="1" code="PIR" name="PassiveInfrared" summary="Supports sensing using PIR (Passive InfraRed)">
59+
<optionalConform choice="a" more="true"/>
60+
</feature>
61+
<feature apiMaturity="provisional" bit="2" code="US" name="Ultrasonic" summary="Supports sensing using UltraSound">
62+
<optionalConform choice="a" more="true"/>
63+
</feature>
64+
<feature apiMaturity="provisional" bit="3" code="PHY" name="PhysicalContact" summary="Supports sensing using a physical contact">
65+
<optionalConform choice="a" more="true"/>
66+
</feature>
67+
<feature apiMaturity="provisional" bit="4" code="AIR" name="ActiveInfrared" summary="Supports sensing using Active InfraRed measurement (e.g. time-of-flight or transflective/reflective IR sensing)">
68+
<optionalConform choice="a" more="true"/>
69+
</feature>
70+
<feature apiMaturity="provisional" bit="5" code="RAD" name="Radar" summary="Supports sensing using radar waves (microwave)">
71+
<optionalConform choice="a" more="true"/>
72+
</feature>
73+
<feature apiMaturity="provisional" bit="6" code="RFS" name="RFSensing" summary="Supports sensing based on RF signal analysis">
74+
<optionalConform choice="a" more="true"/>
75+
</feature>
76+
<feature apiMaturity="provisional" bit="7" code="VIS" name="Vision" summary="Supports sensing based on analyzing images">
77+
<optionalConform choice="a" more="true"/>
78+
</feature>
79+
</features>
80+
4781
<client tick="false" init="false">true</client>
4882
<server tick="false" tickFrequency="half" init="false">true</server>
4983

@@ -53,6 +87,13 @@ limitations under the License.
5387
<attribute side="server" code="0x0001" define="OCCUPANCY_SENSOR_TYPE" type="OccupancySensorTypeEnum" min="0x00" max="0xFE" writable="false" optional="false">OccupancySensorType</attribute>
5488
<attribute side="server" code="0x0002" define="OCCUPANCY_SENSOR_TYPE_BITMAP" type="OccupancySensorTypeBitmap" min="0x00" max="0x07" writable="false" optional="false">OccupancySensorTypeBitmap</attribute>
5589

90+
<attribute side="server" code="0x0003" define="HOLD_TIME" type="int16u" writable="true" optional="true">
91+
<description>HoldTime</description>
92+
<access op="write" privilege="manage"/>
93+
</attribute>
94+
95+
<attribute side="server" code="0x0004" define="HOLD_TIME_LIMITS" type="HoldTimeLimitsStruct" writable="false" optional="true">HoldTimeLimits</attribute>
96+
5697
<attribute side="server" code="0x0010" define="PIR_OCCUPIED_TO_UNOCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
5798
<description>PIROccupiedToUnoccupiedDelay</description>
5899
<access op="read" role="view"/>

0 commit comments

Comments
 (0)