Skip to content

Commit eaf80b9

Browse files
committed
p/UnifySDK: Add Schedule Entry Lock
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent c486304 commit eaf80b9

4 files changed

+23079
-0
lines changed
Lines changed: 302 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,302 @@
1+
From 9660b5676577440cc94dfb83f73b30dc117744d4 Mon Sep 17 00:00:00 2001
2+
From: Thirupathi S <Thirupathi.S@silabs.com>
3+
Date: Tue, 17 Sep 2024 13:13:38 +0000
4+
Subject: [PATCH] UIC-3438: dot dot mapper setup for schedule entry lock CC
5+
6+
Merge in UIC/uic from feature/UIC-3438-dotdot-mapper-Setup-Schedule-Entry-Lock-CC to feature/UIC-3271-Schedule-Entry-Lock-CC
7+
---
8+
.../dotdot-xml/Unify_ScheduleEntryLock.xml | 282 ++++++++++++++++++
9+
1 file changed, 282 insertions(+)
10+
create mode 100644 components/uic_dotdot/dotdot-xml/Unify_ScheduleEntryLock.xml
11+
12+
diff --git a/components/uic_dotdot/dotdot-xml/Unify_ScheduleEntryLock.xml b/components/uic_dotdot/dotdot-xml/Unify_ScheduleEntryLock.xml
13+
new file mode 100644
14+
index 0000000000..8d37540615
15+
--- /dev/null
16+
+++ b/components/uic_dotdot/dotdot-xml/Unify_ScheduleEntryLock.xml
17+
@@ -0,0 +1,282 @@
18+
+<zcl:cluster
19+
+ xmlns:zcl="http://zigbee.org/zcl/clusters"
20+
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
+ xmlns:type="http://zigbee.org/zcl/types"
22+
+ xmlns:xi="http://www.w3.org/2001/XInclude"
23+
+ xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
24+
+ id="FD21" revision="1" name="UnifyScheduleEntryLock">
25+
+<classification role="application" picsCode="USEL"/>
26+
+
27+
+<server>
28+
+ <attributes>
29+
+ <attribute id="0001" name="SlotsWeekDay" min="0" max="255" required="true" writable="true" type="uint8"/>
30+
+ <attribute id="0002" name="SlotsYearDay" min="0" max="255" required="true" writable="true" type="uint8"/>
31+
+ <attribute id="0003" name="SignTZO" required="true" writable="true" type="uint8"/>
32+
+ <attribute id="0004" name="HourTZO" required="true" writable="true" type="uint8"/>
33+
+ <attribute id="0005" name="MinuteTZO" required="true" writable="true" type="uint8"/>
34+
+ <attribute id="0006" name="DSTOffsetSign" required="true" writable="true" type="uint8"/>
35+
+ <attribute id="0007" name="DSTOffsetMinute" required="true" writable="true" type="uint8"/>
36+
+ <attribute id="0008" name="NumberOfSlotsDailyRepeating" min="0" max="255" writable="true" required="true" type="uint8"/>
37+
+ </attributes>
38+
+</server>
39+
+
40+
+<server>
41+
+ <commands>
42+
+ <command id="01" name="ScheduleEntryLockEnableSet" required="true">
43+
+ <fields>
44+
+ <field name="UserIdentifier" type="uint8" />
45+
+ <field name="Enabled" type="uint8" />
46+
+ </fields>
47+
+ </command>
48+
+ <command id="02" name="ScheduleEntryLockEnableAllSet" required="true">
49+
+ <fields>
50+
+ <field name="Enabled" type="uint8" />
51+
+ </fields>
52+
+ </command>
53+
+ <command id="03" name="ScheduleEntryLockWeekDaySet" required="true">
54+
+ <fields>
55+
+ <field name="SetAction" type="uint8" />
56+
+ <field name="UserIdentifier" type="uint8" />
57+
+ <field name="ScheduleSlotID" type="uint8" />
58+
+ <field name="DayOfWeek" type="uint8" />
59+
+ <restriction>
60+
+ <type:minInclusive value="0" />
61+
+ <type:maxInclusive value="6" />
62+
+ </restriction>
63+
+ <field name="StartHour" type="uint8" />
64+
+ <restriction>
65+
+ <type:minInclusive value="0" />
66+
+ <type:maxInclusive value="23" />
67+
+ </restriction>
68+
+ <field name="StartMinute" type="uint8" />
69+
+ <restriction>
70+
+ <type:minInclusive value="0" />
71+
+ <type:maxInclusive value="59" />
72+
+ </restriction>
73+
+ <field name="StopHour" type="uint8" />
74+
+ <restriction>
75+
+ <type:minInclusive value="0" />
76+
+ <type:maxInclusive value="23" />
77+
+ </restriction>
78+
+ <field name="StopMinute" type="uint8" />
79+
+ <restriction>
80+
+ <type:minInclusive value="0" />
81+
+ <type:maxInclusive value="59" />
82+
+ </restriction>
83+
+ </fields>
84+
+ </command>
85+
+ <command id="04" name="ScheduleEntryLockWeekDayGet" required="true">
86+
+ <fields>
87+
+ <field name="UserIdentifier" type="uint8" />
88+
+ <field name="ScheduleSlotID" type="uint8" />
89+
+ </fields>
90+
+ </command>
91+
+ <command id="05" name="ScheduleEntryLockYearDaySet" required="true">
92+
+ <fields>
93+
+ <field name="SetAction" type="uint8" />
94+
+ <field name="UserIdentifier" type="uint8" />
95+
+ <field name="ScheduleSlotID" type="uint8" />
96+
+ <field name="StartYear" type="uint8" />
97+
+ <restriction>
98+
+ <type:minInclusive value="0" />
99+
+ <type:maxInclusive value="99" />
100+
+ </restriction>
101+
+ <field name="StartDay" type="uint8" />
102+
+ <restriction>
103+
+ <type:minInclusive value="0" />
104+
+ <type:maxInclusive value="31" />
105+
+ </restriction>
106+
+ <field name="StartHour" type="uint8" />
107+
+ <restriction>
108+
+ <type:minInclusive value="0" />
109+
+ <type:maxInclusive value="23" />
110+
+ </restriction>
111+
+ <field name="StartMinute" type="uint8" />
112+
+ <restriction>
113+
+ <type:minInclusive value="0" />
114+
+ <type:maxInclusive value="59" />
115+
+ </restriction>
116+
+ <field name="StopYear" type="uint8" />
117+
+ <restriction>
118+
+ <type:minInclusive value="0" />
119+
+ <type:maxInclusive value="99" />
120+
+ </restriction>
121+
+ <field name="StopDay" type="uint8" />
122+
+ <restriction>
123+
+ <type:minInclusive value="0" />
124+
+ <type:maxInclusive value="31" />
125+
+ </restriction>
126+
+ <field name="StopHour" type="uint8" />
127+
+ <restriction>
128+
+ <type:minInclusive value="0" />
129+
+ <type:maxInclusive value="23" />
130+
+ </restriction>
131+
+ <field name="StopMinute" type="uint8" />
132+
+ <restriction>
133+
+ <type:minInclusive value="0" />
134+
+ <type:maxInclusive value="59" />
135+
+ </restriction>
136+
+ </fields>
137+
+ </command>
138+
+ <command id="06" name="ScheduleEntryLockYearDayGet" required="true">
139+
+ <fields>
140+
+ <field name="UserIdentifier" type="uint8" />
141+
+ <field name="ScheduleSlotID" type="uint8" />
142+
+ </fields>
143+
+ </command>
144+
+ <command id="07" name="ScheduleEntryLockDailyRepeatingSet" required="true">
145+
+ <fields>
146+
+ <field name="SetAction" type="uint8" />
147+
+ <field name="UserIdentifier" type="uint8" />
148+
+ <field name="ScheduleSlotID" type="uint8" />
149+
+ <field name="WeekDayBitmask" type="uint8" />
150+
+ <restriction>
151+
+ <type:minInclusive value="0" />
152+
+ <type:maxInclusive value="7" />
153+
+ </restriction>
154+
+ <field name="StartHour" type="uint8" />
155+
+ <restriction>
156+
+ <type:minInclusive value="0" />
157+
+ <type:maxInclusive value="23" />
158+
+ </restriction>
159+
+ <field name="StartMinute" type="uint8" />
160+
+ <restriction>
161+
+ <type:minInclusive value="0" />
162+
+ <type:maxInclusive value="59" />
163+
+ </restriction>
164+
+ <field name="DurationHour" type="uint8" />
165+
+ <restriction>
166+
+ <type:minInclusive value="0" />
167+
+ <type:maxInclusive value="23" />
168+
+ </restriction>
169+
+ <field name="DurationMinute" type="uint8" />
170+
+ <restriction>
171+
+ <type:minInclusive value="0" />
172+
+ <type:maxInclusive value="59" />
173+
+ </restriction>
174+
+ </fields>
175+
+ </command>
176+
+ <command id="08" name="ScheduleEntryDailyRepeatingGet" required="true">
177+
+ <fields>
178+
+ <field name="UserIdentifier" type="uint8" />
179+
+ <field name="ScheduleSlotID" type="uint8" />
180+
+ </fields>
181+
+ </command>
182+
+ </commands>
183+
+</server>
184+
+
185+
+<client>
186+
+ <commands>
187+
+ <command id="01" name="ScheduleEntryLockWeekDayReport" required="true">
188+
+ <fields>
189+
+ <field name="UserIdentifier" type="uint8" />
190+
+ <field name="ScheduleSlotID" type="uint8" />
191+
+ <field name="DayOfWeek" type="uint8" />
192+
+ <restriction>
193+
+ <type:minInclusive value="0" />
194+
+ <type:maxInclusive value="6" />
195+
+ </restriction>
196+
+ <field name="StartHour" type="uint8" />
197+
+ <restriction>
198+
+ <type:minInclusive value="0" />
199+
+ <type:maxInclusive value="23" />
200+
+ </restriction>
201+
+ <field name="StartMinute" type="uint8" />
202+
+ <restriction>
203+
+ <type:minInclusive value="0" />
204+
+ <type:maxInclusive value="59" />
205+
+ </restriction>
206+
+ <field name="StopHour" type="uint8" />
207+
+ <restriction>
208+
+ <type:minInclusive value="0" />
209+
+ <type:maxInclusive value="23" />
210+
+ </restriction>
211+
+ <field name="StopMinute" type="uint8" />
212+
+ <restriction>
213+
+ <type:minInclusive value="0" />
214+
+ <type:maxInclusive value="59" />
215+
+ </restriction>
216+
+ </fields>
217+
+ </command>
218+
+ <command id="02" name="ScheduleEntryLockYearDayReport" required="true">
219+
+ <fields>
220+
+ <field name="SetAction" type="uint8"/>
221+
+ <field name="UserIdentifier" type="uint8"/>
222+
+ <field name="ScheduleSlotID" type="uint8"/>
223+
+ <field name="StartYear" type="uint8" />
224+
+ <restriction>
225+
+ <type:minInclusive value="0" />
226+
+ <type:maxInclusive value="99" />
227+
+ </restriction>
228+
+ <field name="StartDay" type="uint8" />
229+
+ <restriction>
230+
+ <type:minInclusive value="0" />
231+
+ <type:maxInclusive value="31" />
232+
+ </restriction>
233+
+ <field name="StartHour" type="uint8" />
234+
+ <restriction>
235+
+ <type:minInclusive value="0" />
236+
+ <type:maxInclusive value="23" />
237+
+ </restriction>
238+
+ <field name="StartMinute" type="uint8" />
239+
+ <restriction>
240+
+ <type:minInclusive value="0" />
241+
+ <type:maxInclusive value="59" />
242+
+ </restriction>
243+
+ <field name="StopYear" type="uint8" />
244+
+ <restriction>
245+
+ <type:minInclusive value="0" />
246+
+ <type:maxInclusive value="99" />
247+
+ </restriction>
248+
+ <field name="StopDay" type="uint8" />
249+
+ <restriction>
250+
+ <type:minInclusive value="0" />
251+
+ <type:maxInclusive value="31" />
252+
+ </restriction>
253+
+ <field name="StopHour" type="uint8" />
254+
+ <restriction>
255+
+ <type:minInclusive value="0" />
256+
+ <type:maxInclusive value="23" />
257+
+ </restriction>
258+
+ <field name="StopMinute" type="uint8" />
259+
+ <restriction>
260+
+ <type:minInclusive value="0" />
261+
+ <type:maxInclusive value="59" />
262+
+ </restriction>
263+
+ </fields>
264+
+ </command>
265+
+ <command id="03" name="ScheduleEntryLockDailyRepeatingReport" required="true">
266+
+ <fields>
267+
+ <field name="SetAction" type="uint8"/>
268+
+ <field name="UserIdentifier" type="uint8" />
269+
+ <field name="ScheduleSlotID" type="uint8" />
270+
+ <field name="WeekDayBitmask" type="uint8" />
271+
+ <restriction>
272+
+ <type:minInclusive value="0" />
273+
+ <type:maxInclusive value="7" />
274+
+ </restriction>
275+
+ <field name="StartHour" type="uint8" />
276+
+ <restriction>
277+
+ <type:minInclusive value="0" />
278+
+ <type:maxInclusive value="23" />
279+
+ </restriction>
280+
+ <field name="StartMinute" type="uint8" />
281+
+ <restriction>
282+
+ <type:minInclusive value="0" />
283+
+ <type:maxInclusive value="59" />
284+
+ </restriction>
285+
+ <field name="DurationHour" type="uint8" />
286+
+ <restriction>
287+
+ <type:minInclusive value="0" />
288+
+ <type:maxInclusive value="23" />
289+
+ </restriction>
290+
+ <field name="DurationMinute" type="uint8" />
291+
+ <restriction>
292+
+ <type:minInclusive value="0" />
293+
+ <type:maxInclusive value="59" />
294+
+ </restriction>
295+
+ </fields>
296+
+ </command>
297+
+ </commands>
298+
+</client>
299+
+</zcl:cluster>
300+
--
301+
2.39.5
302+

0 commit comments

Comments
 (0)