Skip to content

Commit 0b41085

Browse files
committed
p/UnifySDK: Add Application Status cc
Origin: SiliconLabsSoftware#147 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent 09aa4ef commit 0b41085

4 files changed

+3980
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
From f1b677b4127c8776244b272bcf20c9afeebe5522 Mon Sep 17 00:00:00 2001
2+
From: Philippe Coval <philippe.coval@silabs.com>
3+
Date: Mon, 15 Sep 2025 10:43:26 +0200
4+
Subject: [PATCH] fix(build): Allow to regenerate files using zap
5+
6+
For the record, files can be regenerated from developer using:
7+
8+
rm -rf build ; cmake_options=-DZAP_GENERATE=ON ./helper.mk
9+
10+
For some reasons developer will have to commit also generated files,
11+
which is a bad practice, but I believe it was intentional to avoid
12+
propagation to zap as build dependency, this may be revised to avoid
13+
serialization of development.
14+
15+
Relate-to: https://github.com/project-chip/zap/releases/download/v2025.07.24/zap-linux-x64.deb
16+
Bug-SiliconLabs: UIC-3222
17+
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
18+
---
19+
helper.mk | 2 +-
20+
1 file changed, 1 insertion(+), 1 deletion(-)
21+
22+
diff --git a/helper.mk b/helper.mk
23+
index be052d5af6..75d1051981 100755
24+
--- a/helper.mk
25+
+++ b/helper.mk
26+
@@ -16,7 +16,7 @@ project?=unifysdk
27+
BUILD_DEV_GUI?=OFF
28+
BUILD_IMAGE_PROVIDER?=ON
29+
30+
-cmake_options?=-B ${build_dir}
31+
+cmake_options+=-B ${build_dir}
32+
33+
CMAKE_GENERATOR?=Ninja
34+
export CMAKE_GENERATOR
35+
--
36+
2.39.5
37+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
From bf1d13de7e33598a60b8e7599f69412ab389507c Mon Sep 17 00:00:00 2001
2+
From: Viet <Viet.Nguyen@silabs.com>
3+
Date: Tue, 1 Oct 2024 14:21:40 +0700
4+
Subject: [PATCH] UIC-3275: Custom Application Status cluster
5+
6+
---
7+
.../dotdot-xml/Unify_ApplicationStatus.xml | 29 +++++++++++++++++++
8+
components/uic_dotdot/dotdot-xml/library.xml | 1 +
9+
2 files changed, 30 insertions(+)
10+
create mode 100644 components/uic_dotdot/dotdot-xml/Unify_ApplicationStatus.xml
11+
12+
diff --git a/components/uic_dotdot/dotdot-xml/Unify_ApplicationStatus.xml b/components/uic_dotdot/dotdot-xml/Unify_ApplicationStatus.xml
13+
new file mode 100644
14+
index 0000000000..2d51efb7ee
15+
--- /dev/null
16+
+++ b/components/uic_dotdot/dotdot-xml/Unify_ApplicationStatus.xml
17+
@@ -0,0 +1,29 @@
18+
+<?xml version="1.0"?>
19+
+<!--
20+
+Zigbee Alliance owns the copyright to the text and content displayed or
21+
+included in this document (including in PDF, XML files and other formats) in
22+
+all forms of media, which copyright is protected by the copyright laws of the
23+
+United States and by international treaties. Full text of licensing terms
24+
+applicable to this document can be found in the LICENSE.md file.
25+
+-->
26+
+<zcl:cluster xmlns:zcl="http://zigbee.org/zcl/clusters"
27+
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28+
+ xmlns:type="http://zigbee.org/zcl/types"
29+
+ xmlns:xi="http://www.w3.org/2001/XInclude"
30+
+ xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
31+
+ id="FFA2" revision="1" name="ApplicationStatus">
32+
+ <classification role="application" picsCode="ASTT" primaryTransaction="1" />
33+
+ <server>
34+
+ <attributes>
35+
+ <attribute id="0000" name="BusyStatus" type="enum8" reportRequired="true" required="true">
36+
+ <restriction>
37+
+ <type:enumeration value="00" name="Try again later" />
38+
+ <type:enumeration value="01" name="Try again in WaitTime seconds" />
39+
+ <type:enumeration value="02" name="Request queued" />
40+
+ </restriction>
41+
+ </attribute>
42+
+ <attribute id="0001" name="WaitTime" type="uint8" required="true" default="0" />
43+
+ <attribute id="0002" name="RejectStatus" type="bool" required="true" />
44+
+ </attributes>
45+
+ </server>
46+
+</zcl:cluster>
47+
diff --git a/components/uic_dotdot/dotdot-xml/library.xml b/components/uic_dotdot/dotdot-xml/library.xml
48+
index 4210b67fa4..d8649f4339 100644
49+
--- a/components/uic_dotdot/dotdot-xml/library.xml
50+
+++ b/components/uic_dotdot/dotdot-xml/library.xml
51+
@@ -501,4 +501,5 @@ applicable to this document can be found in the LICENSE.md file.
52+
<xi:include href="Unify_HumidityControl.xml" parse="xml"/>
53+
<xi:include href="Unify_Thermostat.xml" parse="xml"/>
54+
<xi:include href="Unify_FanControl.xml" parse="xml"/>
55+
+ <xi:include href="Unify_ApplicationStatus.xml" parse="xml"/>
56+
</zcl:library>
57+
\ No newline at end of file
58+
--
59+
2.39.5
60+

0 commit comments

Comments
 (0)