<?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>Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library</link><description>I&amp;#39;m looking at the ZBOSS for Zigbee IAS Zone example , and in the &amp;quot; ZB_ZCL_DECLARE ...&amp;quot; statements it refers to structures such as zone_attr , poll_control_attr , and pwr_cfg_attr that I cannot find a matching type for. Do these types exist and, if so</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jun 2022 15:13:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library" /><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374790?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 15:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecb89d53-4f48-4282-88d0-74a0bbd344ca</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi mytzyiay,&lt;/p&gt;
[quote user="mytzyiay"]My next project involves adding an IAS Zone cluster and it would be helpful if we had a known-good reference implementation to use as a starting point.[/quote]
&lt;p&gt;I will note that you also are wishing for reference implementations/samples for using clusters such as the IAS Zone cluster. Also, please see my reply to the original case creator w.r.t. where to find where the types and attributes are declared in the SDK.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374787?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 15:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7704ccd8-fe3c-4ea6-93d2-ab708d172488</guid><dc:creator>AHaug</dc:creator><description>[quote user="pearson"]&lt;span&gt;What I mean here is that, for some clusters in the SDK, such as &lt;em&gt;Basic&lt;/em&gt; and &lt;em&gt;On Off&lt;/em&gt;, there are types defined for the attributes of each cluster. For these two examples, those types would be &lt;/span&gt;&lt;span&gt;&lt;code&gt;zb_zcl_basic_attrs_ext_t&lt;/code&gt; and&amp;nbsp;&lt;code&gt;zb_zcl_on_off_attrs_t&lt;/code&gt;. However, for other clusters in the SDK such as &lt;em&gt;Power Configuration&lt;/em&gt; and &lt;em&gt;Zone&lt;/em&gt;, the SDK does not seem to have any attribute types. That example from the ZBOSS documentation is clearly using attribute types for&amp;nbsp;&lt;em&gt;Power&amp;nbsp;Configuration&lt;/em&gt; and &lt;em&gt;Zone&lt;/em&gt;, yet those types do not seem to be in the SDK itself.&lt;/span&gt;[/quote]
&lt;p&gt;Thank you, that cleared a misunderstanding for my part. My apologies for the inconvenience. I will do my best to&amp;nbsp;clarify things then.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We currently don&amp;#39;t have any more samples than what you can find in our /samples folders in /nrf and /zephyr in the SDK.&lt;/p&gt;
[quote user="pearson"]If you believe the types used in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group___z_b___h_a___i_a_s___z_o_n_e.html#:~:text=IAS%20Zone%20sample-,Example,-Declaring%20clusters" rel="noopener noreferrer" target="_blank"&gt;ZBOSS for Zigbee&amp;nbsp;IAS Zone example&lt;/a&gt;&lt;span&gt;&amp;nbsp;exist in the SDK, could you please point me to where they are defined?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;As for other documentation sources, which I agree with you is hard to find, you can find some additional information to&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group__api__zb.html"&gt;ZigBee API pages&lt;/a&gt;&amp;nbsp;in the header files located in the SDK at&amp;nbsp;&lt;span&gt;v2.0.0\nrfxlib\zboss\development\include\zcl\zb_zcl_ias_zone.h (same with other headers regarding zcl). They are not as detailed in how to use such as a sample is, but it does at least confirm that they are defined in the SDK.&lt;/span&gt;&lt;/p&gt;
[quote user="pearson"]The Cluster Library Specification does not help answer this question, as I&amp;#39;m asking about the SDK and not the spec itself. I&amp;#39;m simply looking for pre-defined types for these clusters. It appears that some of the clusters defined in the SDK have these types for their attributes in the SDK and some do not.[/quote]
&lt;p&gt;You are right, I hope the partial reply above answers this question about where to find where the types and attributes are defined in the SDK.&lt;br /&gt;&lt;br /&gt;Thank you for your patience.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374640?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 23:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b88c2b8-000d-4297-826d-4a5115d71f08</guid><dc:creator>Chris Pearson</dc:creator><description>[quote userid="113934" url="~/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library/374637"]it would be helpful if we had a known-good reference implementation to use as a starting point[/quote]
&lt;p&gt;Yeah, I&amp;#39;m amazed by the lack of complete, working examples for this, especially in the nRF Connect SDK. There are more (presumably) working examples in the old nRF5 SDK for Thread and Zigbee, but of course those need some translation to work with Zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The documentation &lt;span&gt;in the nRF Connect SDK&amp;nbsp;&lt;/span&gt;is very sparse as well. One example that amazes me is&amp;nbsp;in the &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_zigbee_adding_clusters.html#passing-zcl-events-to-the-application" rel="noopener noreferrer" target="_blank"&gt;Passing ZCL events to the application&lt;/a&gt;&amp;quot; section, which states &amp;quot;&lt;span&gt;To inform the application about attributes changes, you can pass ZCL events to it with a callback that follows generic callback definition (referred to as&amp;nbsp;&lt;/span&gt;&lt;em&gt;ZCL callback&lt;/em&gt;&lt;span&gt;)&amp;quot;. &lt;strong&gt;That documentation&amp;nbsp;doesn&amp;#39;t mention what method is called to pass that callback.&lt;/strong&gt; (It does give the expected type signature of the callback function, though...)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374637?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 23:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:279dede5-1dc2-4805-9623-b71cafedb6c2</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;I agree.&amp;nbsp; My next project involves adding an IAS Zone cluster and it would be helpful if we had a known-good reference implementation to use as a starting point.&amp;nbsp; Apparently the code exists somewhere because fragments of it are seen in the docs at&amp;nbsp;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group___z_b___h_a___i_a_s___z_o_n_e.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group___z_b___h_a___i_a_s___z_o_n_e.html&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374602?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 16:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ea41fe1-d671-4da1-ba43-60ad44c47987</guid><dc:creator>Chris Pearson</dc:creator><description>&lt;p&gt;Hi Andreas.&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library/374523"]To my knowledge they do exist[/quote]
&lt;p&gt;If you believe the types used in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.12.1.0/group___z_b___h_a___i_a_s___z_o_n_e.html#:~:text=IAS%20Zone%20sample-,Example,-Declaring%20clusters" rel="noopener noreferrer" target="_blank"&gt;ZBOSS for Zigbee&amp;nbsp;IAS Zone example&lt;/a&gt;&lt;span&gt;&amp;nbsp;exist in the SDK, could you please point me to where they are defined?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library/374523"]Could you elaborate what you mean when you suggest it does not exist in the SDK to avoid misunderstandings?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I mean here is that, for some clusters in the SDK, such as &lt;em&gt;Basic&lt;/em&gt; and &lt;em&gt;On Off&lt;/em&gt;, there are types defined for the attributes of each cluster. For these two examples, those types would be &lt;/span&gt;&lt;span&gt;&lt;code&gt;zb_zcl_basic_attrs_ext_t&lt;/code&gt; and&amp;nbsp;&lt;code&gt;zb_zcl_on_off_attrs_t&lt;/code&gt;. However, for other clusters in the SDK such as &lt;em&gt;Power Configuration&lt;/em&gt; and &lt;em&gt;Zone&lt;/em&gt;, the SDK does not seem to have any attribute types. That example from the ZBOSS documentation is clearly using attribute types for&amp;nbsp;&lt;em&gt;Power&amp;nbsp;Configuration&lt;/em&gt; and &lt;em&gt;Zone&lt;/em&gt;, yet those types do not seem to be in the SDK itself.&lt;/span&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library/374193"]I would recommend some additional resources, such as the ZigBee Cluster Library Specification [/quote]
&lt;p&gt;&lt;span&gt;The Cluster Library Specification does not help answer this question, as I&amp;#39;m asking about the SDK and not the spec itself. I&amp;#39;m simply looking for pre-defined types for these clusters. It appears that some of the clusters defined in the SDK have these types for their attributes in the SDK and some do not.&lt;/span&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/89264/do-these-types-exist-in-the-zboss-library/374523"]you will have t&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_zigbee_adding_clusters.html"&gt;o add and declare the ZigBee&lt;/a&gt; clusters to your application yourself[/quote]
&lt;p&gt;&lt;span&gt;I understand this. What I do not understand is why some clusters would have these attribute types defined and some would not. The attributes of the clusters defined in the SDK do not change, so why not have types for the attributes of all clusters in the SDK rather than making the developer create the missing ones?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Again, it&amp;#39;s quite possible I just don&amp;#39;t know where to find these attribute types. Please point me to them if they are there.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374523?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 11:31:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b6d4be7-6137-4930-80d4-0e4ea0e14b1c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="pearson"]My assumption is that the types used in an example would actually exist in the SDK.[/quote]
&lt;p&gt;Could you elaborate what you mean when you suggest it does not exist in the SDK to avoid misunderstandings? I.e do you mean that you can not find the documentation&amp;nbsp;or other reasons?&lt;/p&gt;
&lt;p&gt;To my knowledge they do exist but you will have t&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_zigbee_adding_clusters.html"&gt;o add and declare the ZigBee&lt;/a&gt; clusters to your application yourself. A clusters attributes and types can be found in the ZigBee Cluster Library (ZCL) specification (rev. 7), an example here is from the IAS Zone Cluster&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1656404128229v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374403?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 18:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56195fb8-178c-4c7b-9f99-63abcf6f75ba</guid><dc:creator>Chris Pearson</dc:creator><description>&lt;p&gt;My assumption is that the types used in an example would actually exist in the SDK. If not, I&amp;#39;m curious why the types for some clusters exist while others do not.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do these types exist in the ZBOSS library?</title><link>https://devzone.nordicsemi.com/thread/374193?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 14:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a27498-3ee8-4bba-8c09-f8382b7405f5</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I was only able to locate attributes similar in name and not the specific ones you were mentioning, so I will need to dig some more and ask some of my colleagues if they&amp;#39;ve seen these before.&lt;/p&gt;
[quote user=""]how can I find them more easily?[/quote]
&lt;p&gt;In&amp;nbsp;modules for the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.2.0%2Fgroup__api__zb.html"&gt;ZigBee stack API&lt;/a&gt;&amp;nbsp;you can navigate to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/group__api__zb.html"&gt;Zigbee stack API&lt;/a&gt;&lt;span&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/group__zcl__api.html"&gt;ZCL API&lt;/a&gt;&amp;nbsp;and from there see the clusters from there. In general I would recommend some additional resources, such as the ZigBee Cluster Library Specification (We&amp;#39;re currently on revision 7) from the former ZigBee Alliance.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>