<?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>Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56623/can-i-enable-reporting-cluster-without-doing-binding-urgent</link><description>Hello to all, 
 I have a problem relating to cluster reporting: I have a device, Window Covering Device, which acts as a router and I want to connect it to Alexa, which acts as Coordinator so I have no control over its messages. 
 What I observe is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jan 2020 11:37:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56623/can-i-enable-reporting-cluster-without-doing-binding-urgent" /><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/230313?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 11:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14b6e2b9-4ef3-4146-b896-abc598b60c7b</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;How did you configure reporting? Could you show the code?&lt;br /&gt;Also, is the value of the attributes changing so the raporting is sent?&lt;br /&gt;Did you verify that the binding is created properly? (You can verify that using CLI to remotely read the binding table)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/230311?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 11:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b1a76a-0865-4095-8aac-0ecb7544088e</guid><dc:creator>Raffaela</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your help, I found the other endpoint and I used that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The binding is done but the reporting is not applicable: I tried to configure the reporting from the router to the Coordinator but it doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Am I doing something wrong?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you so much,&lt;/p&gt;
&lt;p&gt;Raffaela&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/229988?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 07:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6edd8c22-348e-489b-8296-e8c9458e1cb7</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Endpoint 0 is the endpoint on which the ZDO is present and probably your coordinator implements yet another endpoint.&lt;br /&gt;Try to use &lt;strong&gt;active_ep command &lt;/strong&gt;from CLI to read if any other endpoint (other than 0) is present on your coordinator and if so, use that endpoint.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/229938?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 17:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98bff057-49be-4d3c-9187-5617021bd67c</guid><dc:creator>Raffaela</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried this approach but I have a problem: the endpoint of my Coordinator is 0x00 so, when I tried to do binding from the device to the Coordinator, I saw the status of the binding being equal to:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;ZB_ZDP_STATUS_INVALID_EP&lt;/span&gt;&lt;span&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span&gt;0x82&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;that it means:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;/**&amp;nbsp;The&amp;nbsp;supplied&amp;nbsp;endpoint&amp;nbsp;was&amp;nbsp;equal&amp;nbsp;to&amp;nbsp;0x00&amp;nbsp;or&amp;nbsp;between&amp;nbsp;0xf1&amp;nbsp;and&amp;nbsp;0xff.&amp;nbsp;*/.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;So I can&amp;#39;t do the binding starting from the device.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Have you some clues on how to overcome the problem?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you so much,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Raffaela&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/229896?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 14:32:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16dfc0d6-217b-4e40-9e8a-13d46edd3f03</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;zb_apsme_bind_request() requires reference to the buffer containing request data zb_apsme_binding_req_t.&lt;br /&gt;&lt;br /&gt;There are two things which needs to be done:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - get buffer to be passed to the function&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To allocate buffer use zb_buf_get_out_delayed(callback).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Callback is called when the buffer is available and it&amp;#39;s ID is passed as function argument.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - put the structure inside the buffer - bufid is ID of the allocated buffer&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To get the pointer to the memory where the structure will be placed, use ZB_BUF_GET_PARAM&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zb_apsme_binding_req_t *p_aps_bind_req = ZB_BUF_GET_PARAM(bufid, zb_apsme_binding_req_t);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Fill the structure&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZB_IEEE_ADDR_COPY(&amp;amp;p_aps_bind_req-&amp;gt;src_addr.addr_long, &amp;amp;*your_device_ieee_addr*);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_aps_bind_req-&amp;gt;src_endpoint = *your_device_endpoint*;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_aps_bind_req-&amp;gt;clusterid = *your_cluster_id*;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_aps_bind_req-&amp;gt;addr_mode = ZB_APS_ADDR_MODE_64_ENDP_PRESENT;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZB_IEEE_ADDR_COPY(&amp;amp;p_aps_bind_req-&amp;gt;dst_addr.addr_long, &amp;amp;*coordinator_ieee_addr*);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_aps_bind_req-&amp;gt;dst_endpoint = *coordinator_ep*;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Send the request&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zb_apsme_bind_request(bufid)&lt;br /&gt;&lt;br /&gt;As for the reporting, see CLI example as reference (&amp;quot;zcl subscribe on&amp;quot; command)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/229794?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 10:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47da05e4-7785-4f72-a016-25514b58a198</guid><dc:creator>Raffaela</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you give me an example to see how and where can I use this function?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I used the function&amp;nbsp;&lt;strong&gt;zb_zcl_set_attr_val&amp;nbsp;&lt;/strong&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: Can I enable reporting cluster without doing binding? [URGENT]</title><link>https://devzone.nordicsemi.com/thread/229576?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 11:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0debb36-b3f5-449e-919f-e2e382a29bb9</guid><dc:creator>sedr</dc:creator><description>&lt;p&gt;I think you can create the binding locally on your device, so if the reporting is configured to be sent, it will be sent.&lt;br /&gt;&lt;br /&gt;Try to use &lt;strong&gt;zb_apsme_bind_request &lt;/strong&gt;to create binding locally from your device to coordinator.&lt;br /&gt;To configure reporting the device can send request to itself. &lt;br /&gt;If you use &lt;b&gt;zb_zcl_set_attr_val &lt;/b&gt;to set cluster attributes values the stack should be informed about the change and sent the reporting if necessary.&lt;/p&gt;
&lt;p&gt;If you can see the reports being sent by the stack, you&amp;#39;re half way there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>