<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ZCL compliant thermostat typedef structs. nrfxlib commitment help needed.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68851/zcl-compliant-thermostat-typedef-structs-nrfxlib-commitment-help-needed</link><description>Hi, I want to contribute to your nrfxlib development with the implementation of ZCL compliment typedefs for the thermostat cluster. Can you give me some directions? Below I&amp;#39;m attaching a draft implementation based on ZCL specification. On the other hand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Dec 2020 11:16:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68851/zcl-compliant-thermostat-typedef-structs-nrfxlib-commitment-help-needed" /><item><title>RE: ZCL compliant thermostat typedef structs. nrfxlib commitment help needed.</title><link>https://devzone.nordicsemi.com/thread/286017?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 11:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50e1c8cf-7730-441f-8743-f35fc259acff</guid><dc:creator>naps</dc:creator><description>&lt;p&gt;Ok, Zephyr automatic checks during merge request are so comprehensive, that all of my questions are outdated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL compliant thermostat typedef structs. nrfxlib commitment help needed.</title><link>https://devzone.nordicsemi.com/thread/284857?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 16:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa9b08a0-764e-4b4f-9ceb-b6ff72d81958</guid><dc:creator>naps</dc:creator><description>&lt;p&gt;Hi, any update on that topic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL compliant thermostat typedef structs. nrfxlib commitment help needed.</title><link>https://devzone.nordicsemi.com/thread/282509?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 15:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f187ec4-701f-4d7a-b3a1-30691b346221</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for providing this. I will forward it to our SDK team.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL compliant thermostat typedef structs. nrfxlib commitment help needed.</title><link>https://devzone.nordicsemi.com/thread/282209?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 08:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67be796e-6dc0-4900-b56d-b18fa1064863</guid><dc:creator>naps</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="diff"&gt;diff --git a/zboss/include/addons/zboss_api_zcl_addons.h b/zboss/include/addons/zboss_api_zcl_addons.h
index b90d8f5..ef3265a 100644
--- a/zboss/include/addons/zboss_api_zcl_addons.h
+++ b/zboss/include/addons/zboss_api_zcl_addons.h
@@ -18,5 +18,6 @@
 #include &amp;quot;zcl/zb_zcl_scenes_addons.h&amp;quot;
 #include &amp;quot;zcl/zb_zcl_on_off_addons.h&amp;quot;
 #include &amp;quot;zcl/zb_zcl_temp_measurement_addons.h&amp;quot;
+#include &amp;quot;zcl/zb_zcl_thermostat_addons.h&amp;quot;
 
 #endif /* ZBOSS_API_ZCL_ADDONS_H__ */
diff --git a/zboss/include/addons/zcl/zb_zcl_thermostat_addons.h b/zboss/include/addons/zcl/zb_zcl_thermostat_addons.h
new file mode 100644
index 0000000..96ec9b1
--- /dev/null
+++ b/zboss/include/addons/zcl/zb_zcl_thermostat_addons.h
@@ -0,0 +1,66 @@
+/*
+ * Copyright (c) 2020 Nordic Semiconductor ASA
+ *
+ * SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
+ */
+
+#ifndef ZB_ZCL_THERMOSTAT_ADDONS_H__
+#define ZB_ZCL_THERMOSTAT_ADDONS_H__
+
+#include &amp;quot;zboss_api.h&amp;quot;
+
+/*! \addtogroup zb_zcl_thermostat_addons */
+/*! @{ */
+
+/**@brief Thermostat Information cluster attributes according to ZCL Spec 6.3.2.2.1. */
+typedef struct {
+    zb_int16_t local_temperature;
+    zb_int16_t outdoor_temperature;
+    zb_uint8_t occupancy;
+    zb_int16_t abs_min_heat_setpoint_imit;
+    zb_int16_t abs_max_heat_setpoint_limit;
+    zb_int16_t abs_min_cool_setpoint_limit;
+    zb_int16_t abs_max_cool_setpoint_limit;
+    zb_int16_t PI_cooling_demand;
+    zb_int16_t PI_heating_demand;
+    zb_uint8_t HVAC_system_type_configuration;
+} zb_zcl_thermostat_info_attrs_t;
+
+
+/**@brief Thermostat Settings cluster attributes according to ZCL Spec 6.3.2.2.2. */
+typedef struct {
+    zb_int8_t local_temperature_calibration;
+    zb_int16_t occupied_cooling_setpoint;
+    zb_int16_t occupied_heating_setpoint;
+    zb_int16_t unoccupied_cooling_setpoint;
+    zb_int16_t unoccupied_heating_setpoint;
+    zb_int16_t min_heat_setpoint_limit;
+    zb_int16_t max_heat_setpoint_limit;
+    zb_int16_t min_cool_setpoint_limit;
+    zb_int16_t max_cool_setpoint_limit;
+    zb_int8_t min_setpoint_dead_band;
+    zb_uint8_t remote_sensing;
+    zb_uint8_t control_sequence_of_operation;
+    zb_uint8_t system_mode;
+    zb_uint8_t alarm_mask;
+    zb_uint8_t thermostat_running_mode;
+} zb_zcl_thermostat_settings_attrs_t;
+
+
+/**@brief Thermostat Thermostat Schedule &amp;amp; HVAC Relay
+   cluster attributes according to ZCL Spec 6.3.2.2.2. */
+typedef struct {
+    zb_uint8_t start_of_week;
+    zb_uint8_t number_of_weekly_transitions;
+    zb_uint8_t number_of_daily_transitions;
+    zb_uint8_t temperature_setpoint_hold;
+    zb_uint16_t temperature_setpoint_hold_ouration;
+    zb_uint8_t thermostat_programming_operation_mode;
+    zb_int16_t thermostat_running_state;
+} zb_zcl_thermostat_schedule_and_HVAC_attrs_t;
+
+
+
+/** @} */
+
+#endif /* ZB_ZCL_THERMOSTAT_ADDONS_H__ */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>