<?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>ZigBee Custome cluster: Testing of reporting feature</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105914/zigbee-custome-cluster-testing-of-reporting-feature</link><description>Hi 
 have created a custom cluster. I would like to enable the reporting. How can I do that using ZBOSS_SHELL from a coordinator? 
 Surendra</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Nov 2023 11:51:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105914/zigbee-custome-cluster-testing-of-reporting-feature" /><item><title>RE: ZigBee Custome cluster: Testing of reporting feature</title><link>https://devzone.nordicsemi.com/thread/456894?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 11:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4959270f-7c3b-44bc-ab7f-fa3d7fddffac</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Surendra,&lt;/p&gt;
&lt;p&gt;For attribute reporting, you first need to create a binding between the endpoint on the coordinator and the endpoint on the reporting device for the specific cluster. This is done with the &lt;code&gt;zdo bind on&lt;/code&gt; command.&lt;/p&gt;
&lt;pre&gt;zdo bind on &lt;em&gt;h:source_eui64&lt;/em&gt; &lt;em&gt;d:source_ep&lt;/em&gt; &lt;em&gt;h:dst_addr d:dst_ep&lt;/em&gt; &lt;em&gt;h:source_cluster_id&lt;/em&gt; &lt;em&gt;h:request_dst_addr&lt;/em&gt;&lt;/pre&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;zdo&lt;/span&gt; &lt;span&gt;bind&lt;/span&gt; &lt;span&gt;on&lt;/span&gt; &lt;span&gt;0B010&lt;/span&gt;&lt;span&gt;E0405060708&lt;/span&gt; &lt;span&gt;1&lt;/span&gt; &lt;span&gt;0B010&lt;/span&gt;&lt;span&gt;E4050607080&lt;/span&gt; &lt;span&gt;2&lt;/span&gt; &lt;span&gt;8&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;In your case, the source_eui64, source_ep and request_dst_addr are for the reporting device, while dst_addr and dst_ep are for the shell coordinator.&lt;/p&gt;
&lt;p&gt;After you have created the binding, you can use the &lt;code&gt;zcl subscribe on&lt;/code&gt; command to configure attribute reporting.&lt;/p&gt;
&lt;pre&gt;zcl subscribe on &lt;em&gt;h:addr&lt;/em&gt; &lt;em&gt;d:ep&lt;/em&gt; &lt;em&gt;h:cluster&lt;/em&gt; &lt;em&gt;h:profile&lt;/em&gt; &lt;em&gt;h:attr_id&lt;/em&gt; &lt;em&gt;d:attr_type&lt;/em&gt; [&lt;em&gt;d:min interval (s)&lt;/em&gt;] [&lt;em&gt;d:max interval (s)&lt;/em&gt;]&lt;/pre&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;zcl&lt;/span&gt; &lt;span&gt;subscribe&lt;/span&gt; &lt;span&gt;on&lt;/span&gt; &lt;span&gt;0x1234&lt;/span&gt; &lt;span&gt;10&lt;/span&gt; &lt;span&gt;0x0006&lt;/span&gt; &lt;span&gt;0x0104&lt;/span&gt; &lt;span&gt;0x00&lt;/span&gt; &lt;span&gt;16&lt;/span&gt; &lt;span&gt;5&lt;/span&gt; &lt;span&gt;20&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;For more information about the shell commands and all available Zigbee shell commands, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/libraries/zigbee/shell.html"&gt;Zigbee shell&lt;/a&gt;.&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>