<?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 Attributes Reporting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97741/zcl-attributes-reporting</link><description>I am working on a zigbee Coordinator and have successfully able to perform most of the operations on the end device (thermostat which is custom developed) including read and write of multiple attributes. Now would like to receive reporting data from the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Apr 2023 05:45:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97741/zcl-attributes-reporting" /><item><title>RE: ZCL Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/422871?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 05:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5ab21b-cb4d-4f27-a5e2-cc28bb367fad</guid><dc:creator>soundarya</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I interchanged the source and destination address and also the endpoints in my code. I am now able to send bind request and got bind response as success. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/420802?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8ce838-af84-411f-91f3-d958b9546885</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. Quite some backlog after the Easter holidays.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let us fix this now.&lt;/p&gt;
&lt;p&gt;What is the difference between the two sniffer traces? As far as I can tell, it is the coordinator sending the bind request in both cases, but it was only accepted in one of them? I assume you don&amp;#39;t have the source code of the&amp;nbsp;&lt;span&gt;deconz device? And that it doesn&amp;#39;t use the same stack?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to send the pcapng files, so that I can look at the packets?&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 Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/418751?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2023 07:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b79438b7-c18e-48dd-bb4f-5574834e7084</guid><dc:creator>soundarya</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The aim here is to get reporting data from end device. I can now send bind request from zigbee coordinator to end device. But the end device responds with status not supported. When i am testing with third party coordinator such as deconz, I am able to receive bind response with status success.I am attaching the wireshark logs of deconz and our zigbee coordinator. Comparing the wireshark logs, the difference I can see is that the source and destination addresses are interchanged with respect to deconz log. So I also tried interchanging the source and destination addresses in my code, but then I was not able to send the bind request. I have also attached the code for your reference. What is the correct way to send bind request?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Zigbee_5F00_Coordinator.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6433.deconz.PNG" /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int SendBindReq()
{

	zb_ret_t zb_err_code;
	zb_err_code = (zb_buf_get_out_delayed(send_bind_req));
	if (!zb_err_code)
	{
		LOG_DBG(&amp;quot;Buffer is full&amp;quot;);
	}
	return zb_err_code;
}



void send_bind_req(zb_uint8_t param)
{
 zb_bufid_t buf = param;
 zb_zdo_bind_req_param_t *req;
 TRACE_MSG(TRACE_APP2, &amp;quot;&amp;gt;&amp;gt; bind_device param %hd&amp;quot;, (FMT__H, param));
 req = ZB_BUF_GET_PARAM(buf, zb_zdo_bind_req_param_t);
 ZB_MEMCPY(&amp;amp;req-&amp;gt;src_address, arr1, sizeof(zb_ieee_addr_t));
 req-&amp;gt;src_endp = ZIGBEE_COORDINATOR_ENDPOINT;
 req-&amp;gt;cluster_id = ZB_ZCL_CLUSTER_ID_THERMOSTAT;
 req-&amp;gt;dst_addr_mode = ZB_APS_ADDR_MODE_64_ENDP_PRESENT;
 req-&amp;gt;dst_endp = ENDDEVICE_END_POINT;
 req-&amp;gt;req_dst_addr = dev_ctx.dev_addr.short_addr;
 zb_zdo_bind_req(param, zb_bind_callback);
 TRACE_MSG(TRACE_APP2, &amp;quot;&amp;lt;&amp;lt; bind_device&amp;quot;, (FMT__0));
}
 
void zb_bind_callback(zb_uint8_t param)
{
 zb_bufid_t buf = param;
 zb_zdo_bind_resp_t *bind_resp = (zb_zdo_bind_resp_t*)zb_buf_begin(buf);
 
 if (param)
 {
 zb_buf_free(buf);
 }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/416207?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 09:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f638e1a8-be5d-4470-8240-afa78fedfe44</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry if I wasn&amp;#39;t being clear. The purpose of sending the nRF5 SDK links was that they describe with some samples how to use the command line sample, which was called the &amp;quot;cli&amp;quot; sample in the nRF5 SDK, and &amp;quot;Zigbee shell&amp;quot; in NCS (nRF Connect SDK). So the purpose was for you to test it on NCS, but instead of having to read through the documentation of the CLI commands to figure out how to enable subscriptions, you could use the guide from the old SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I know that those descriptions/guides says to use &amp;quot;bdb role zc&amp;quot;, which would set the device in the coordinator role, but I was thinking you could try it with &amp;quot;bdb role zr&amp;quot;, to use it as a router. Please note that you need another device acting as the networks coordinator.&lt;/p&gt;
&lt;p&gt;My claim is that you don&amp;#39;t need to be the coordinator to do this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/415960?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 10:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d2962ef-ea8f-4284-b40f-db11454fc409</guid><dc:creator>soundarya</dc:creator><description>&lt;p&gt;&lt;span&gt;Edvin,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I think there is a misunderstanding here. I just need to know, in order for reporting to work, do we have to send a bind request to the end device? Here only the coordinator can send a bind request as the reporting should happen to the coordinator from the end device.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Also the sources you have pointed to are all NRF SDK samples, but we are more interested in NRF Connect SDK as we are using the CONNECT sdk. So, Can you point me to any sample/guide how we can send a bind request from a zigbee device(coordinator) to the end device. Even a basic structure regarding this will be highly helpful.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZCL Attributes Reporting</title><link>https://devzone.nordicsemi.com/thread/415748?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 14:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72315406-c1e1-4bac-8ef3-1ac08bfa5aef</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You do not need to be the coordinator to issue the local binding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest you look into the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/shell/README.html"&gt;zigbee shell sample&lt;/a&gt;, and look at the documentation there and in the nRF5 SDK for how to test the CLI sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_example_cli_agent.html?cp=9_3_3_8_5_1_3#zigbee_example_cli_agent_testing"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_example_cli_agent.html?cp=9_3_3_8_5_1_3#zigbee_example_cli_agent_testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The documentation for the multi-sensor sample is also useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_multi_sensor_example.html?cp=9_3_3_8_5_3_1#zigbee_multi_sensor_example_test"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_multi_sensor_example.html?cp=9_3_3_8_5_3_1#zigbee_multi_sensor_example_test&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you need to be a coordinator to enable binding. Give it a go having another coordinator.&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></channel></rss>