<?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>[nrf ncs 2.9.0] Zigbee custom cluster client implementation example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126077/nrf-ncs-2-9-0-zigbee-custom-cluster-client-implementation-example</link><description>Hi Team, 
 I am using NCS v2.9.0 and trying to implement a custom Zigbee cluster with custom attributes. 
 
 Could you please suggest an example or guide me on how to send custom data using the cluster as a client role?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 14 Dec 2025 12:36:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126077/nrf-ncs-2-9-0-zigbee-custom-cluster-client-implementation-example" /><item><title>RE: [nrf ncs 2.9.0] Zigbee custom cluster client implementation example</title><link>https://devzone.nordicsemi.com/thread/556930?ContentTypeID=1</link><pubDate>Sun, 14 Dec 2025 12:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cb3e516-b87f-4bae-b580-b55cd5b46814</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the nRF Connect SDK directly, or are you using the &lt;a href="https://docs.nordicsemi.com/bundle/addon-zigbee-r23-latest/page/index.html"&gt;Zigbee R23 add-on for the nRF Connect SDK&lt;/a&gt;? You should use the add-on. There are instructions on how to install the add-on in the add-on&amp;#39;s&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/addon-zigbee-r23-latest/page/setup.html"&gt;Requirements and setup&lt;/a&gt;&amp;nbsp;documentation.&lt;/p&gt;
&lt;p&gt;The API and documentation for ZBOSS (the Zigbee stack) can be found here:&amp;nbsp;&lt;a href="https://ncsdoc.z6.web.core.windows.net/zboss-r23"&gt; ZBOSS R23 Documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is some information on declaring a custom cluster in&lt;a href="https://ncsdoc.z6.web.core.windows.net/zboss-r23/4.2.2.3/using_zigbee__z_c_l.html#cluster_declaration_custom"&gt;&amp;nbsp;Implementing a Zigbee end product with ZCL&lt;/a&gt;. You need to define a header file, like&amp;nbsp;&lt;code&gt;zb_zcl_&amp;lt;cluster_name&amp;gt;.h&lt;/code&gt;. We already have a custom cluster file that you can look at as an example:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/ncs-zigbee/blob/v1.2.1/lib/zboss/include/zcl/zb_zcl_custom_cluster.h"&gt;zb_zcl_custom_cluster.h&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After you have created the custom cluster, you must integrate it into your device context and endpoint, just as you do with other clusters (i.e., as described under declare cluster list, endpoint simple descriptor, and device context in the ZCL guide).&lt;/p&gt;
&lt;p&gt;To send data, you can implement a custom function in your cluster file similar to those you can find in&amp;nbsp;zb_zcl_custom_cluster.h.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>