<?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>Unable to configure attribute reporting on custom cluster</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82371/unable-to-configure-attribute-reporting-on-custom-cluster</link><description>Greetings. I am trying to implement a custom cluster with attribute reporting, however, for some reason, i am unable to start reporting of such attributes. I have started by copying the Template sample and modifying it in the following ways: 
 
 Created</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Dec 2021 07:35:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82371/unable-to-configure-attribute-reporting-on-custom-cluster" /><item><title>RE: Unable to configure attribute reporting on custom cluster</title><link>https://devzone.nordicsemi.com/thread/343543?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 07:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c55d4c57-d212-44a3-9f15-582d552781ca</guid><dc:creator>Isaia F</dc:creator><description>&lt;p&gt;That did it, thank you.&lt;/p&gt;
&lt;p&gt;This should be added to the guide however as i don&amp;#39;t think there is any reference to this in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure attribute reporting on custom cluster</title><link>https://devzone.nordicsemi.com/thread/343367?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 10:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:456ccbaa-18c2-473b-b516-bf5f9fc2b735</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Isaia,&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;It seems like you have forgotten to add the reporting context to your shaker device. You need to declare the context with&amp;nbsp;ZBOSS_DEVICE_DECLARE_REPORTING_CTX and add the number of reporting attributes on the device to the endpoint descriptor:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ZB_HA_DECLARE_SHAKER_EP(ep_name, ep_id, cluster_list)                                    \
  ZB_ZCL_DECLARE_SHAKER_SIMPLE_DESC(ep_name, ep_id,                                              \
      ZB_HA_SHAKER_IN_CLUSTER_NUM, ZB_HA_SHAKER_OUT_CLUSTER_NUM);                                \
      ZBOSS_DEVICE_DECLARE_REPORTING_CTX(reporting_info## device_ctx_name,                       \
                                     ZB_HA_SHAKER_REPORT_ATTR_COUNT);                            \
  ZB_AF_DECLARE_ENDPOINT_DESC(ep_name, ep_id, ZB_AF_HA_PROFILE_ID, 0, NULL,                      \
                          ZB_ZCL_ARRAY_SIZE(cluster_list, zb_zcl_cluster_desc_t), cluster_list,  \
                              (zb_af_simple_desc_1_1_t*)&amp;amp;simple_desc_##ep_name,                  \
                              ZB_HA_SHAKER_REPORT_ATTR_COUNT, reporting_info## device_ctx_name,  \
                              0, NULL) /* No CVC ctx */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Define&amp;nbsp;ZB_HA_SHAKER_REPORT_ATTR_COUNT to be the number of attributes your device should report.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure attribute reporting on custom cluster</title><link>https://devzone.nordicsemi.com/thread/342925?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 13:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d32f08f8-6df1-4aec-be82-acac4dc56811</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am so sorry for the late reply. I have forwarded this case to one of our Zigbee experts who will take a closer look at this soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure attribute reporting on custom cluster</title><link>https://devzone.nordicsemi.com/thread/342000?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 09:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f657c62-6d9d-4ea7-a4fd-be060034bbe2</guid><dc:creator>Isaia F</dc:creator><description>&lt;p&gt;Addendum: the commands sent via CLI to subscribe to the reported attribute and relative responses, if they can be of any use&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ bdb role zc
Zigbee stack has been configured in the past.
Please use the same role or disable NVRAM to change the Zigbee role.
Coordinator set
Done
uart:~$ bdb start
Started coordinator
Done
[00:00:13.114,746] &amp;lt;inf&amp;gt; zigbee_app_utils: Production configuration is not present or invalid (status: -1)
[00:00:13.115,936] &amp;lt;inf&amp;gt; zigbee_app_utils: Zigbee stack initialized
[00:00:13.158,203] &amp;lt;inf&amp;gt; zigbee_app_utils: Joined network successfully on reboot signal (Extended PAN ID: f4ce36bc41dcdf74, PAN ID: 0x6012)
uart:~$ zdo mg
  mgmt_bind   mgmt_leave  mgmt_lqi
uart:~$ zdo mgmt_lqi 0000
[idx] ext_pan_id       ext_addr         short_addr flags permit_join depth lqi
[  0] f4ce36bc41dcdf74 f4ce364145c4c951 0x2541     0x15  0           1   172
ZDO request 1 complete
Done
uart:~$ zdo bind on f4ce364145c4c951 10 f4ce36bc41dcdf74 64 0xabcd
on: wrong parameter count
on - Create bind entry.
     Usage: on &amp;lt;h:source_eui64&amp;gt; &amp;lt;d:source_ep&amp;gt; &amp;lt;h:destination_addr&amp;gt;
     &amp;lt;d:destination_ep&amp;gt; &amp;lt;h:source_cluster_id&amp;gt; &amp;lt;h:request_dst_addr&amp;gt;
uart:~$ zdo bind on f4ce364145c4c951 10 f4ce36bc41dcdf74 64 0xabcd 0x2541
Done
uart:~$ zcl subscribe on 0x2541 
on: wrong parameter count
on - Subscribe to an attribute.
     Usage: on &amp;lt;h:addr&amp;gt; &amp;lt;d:ep&amp;gt; &amp;lt;h:cluster&amp;gt; &amp;lt;h:profile&amp;gt; &amp;lt;h:attr_id&amp;gt; &amp;lt;d:attr_type&amp;gt;
     [&amp;lt;d:min_interval (s)&amp;gt;] [&amp;lt;d:max_interval (s)&amp;gt;]
uart:~$ zcl subscribe on 0x2541 10 0xabcd 0x0104 0x0001 16
Error: Unable to configure attribute 1 reporting. Status: 1

Error: One or more attributes reporting were not configured successfully[00:01:59.041,778] &amp;lt;inf&amp;gt; zigbee.eprxzcl: Received ZCL command (0): src_addr=0x2541(short) src_ep=10 dst_ep=64 cluster_id=0xabcd profile_id=0x0104 cmd_dir=1 common_cmd=1 cmd_id=0x07 cmd_seq=0 disable_def_resp=1 manuf_code=void payload=[01000100] (0)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>