<?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 dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104100/zigbee-dimmable-light-level-control-attribute-reporting</link><description>Hi, 
 I am trying to implement the attribute reporting for a zigbee dimmable light device, reporting its current level attribute to the coordinator. The code is based on the zigbee\light_bulb example, and I have declared dimmable light attributes and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 13:05:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104100/zigbee-dimmable-light-level-control-attribute-reporting" /><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/452600?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 13:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:117e167c-4ba7-4550-9bda-a0d33d2cedbc</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Jostar,&lt;/p&gt;
&lt;p&gt;I was able to reproduce the same issue on my side. However, my suspicion is that the coordinator does not support it. Are you able to test with a different coordinator or device?&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/451859?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 01:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b1bebb0-aa27-4f39-8cde-41058d02c412</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Hi, Marte&lt;br /&gt;&amp;nbsp;I am sorry about the wrong key, here is the sniffer log and the key. By the way. It response with &amp;quot;unsupported cluster &amp;quot; now.&lt;br /&gt;key:24c986effa62ab3cfc3ea2b26eaad321&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4812.10_2D00_24.pcapng"&gt;devzone.nordicsemi.com/.../4812.10_2D00_24.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jostar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/451680?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 11:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edc270d9-f8b7-48f3-a24a-ec82106d2dc4</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not able to decrypt the packets using the key you shared (3d02b59e8ff81858d569c6d6c5c6aca8).&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/451668?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 10:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24d460ce-a2d4-475c-81df-8912fdffd658</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;I have been busy&amp;nbsp;for other project in recent days, so I&amp;nbsp;did not test the configure reporting request to a Nordic device&amp;nbsp;as you &lt;span&gt;advised that period. I am focusing on this project now, I use nrf 52840 as a coordinator&amp;nbsp;which is based on the&amp;nbsp;zigbee-shell example,&amp;nbsp;and I sent bind request to the coordinator by the light device at first, it response with a success signal. Then a configure reporting request was also sent by the light device, but the coordinator did not response. What is going on?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698057296321v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698057309326v4.png" alt=" " /&gt;&lt;br /&gt;here is the sniffer log:&lt;br /&gt;the transport key is:3d02b59e8ff81858d569c6d6c5c6aca8&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5504.10_2D00_24.pcapng"&gt;devzone.nordicsemi.com/.../5504.10_2D00_24.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/449947?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 05:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:352e0b5f-acaf-49bb-8dd2-c95fba3906b4</guid><dc:creator>jostar</dc:creator><description>&lt;div class="content full threaded-reply-content user-defined-markup" data-replyid="349944" data-userid="94117" data-permalink="~/f/nordic-q-a/82568/zigbee-read-attributes-bug/349944"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
Jostar&lt;/div&gt;
&lt;/div&gt;
&lt;div id="gtx-trans" style="left:-97px;position:absolute;top:57.4546px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/449484?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 08:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:387fda0d-0d50-4bc6-b577-86221940d9ac</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Jostar,&lt;/p&gt;
&lt;p&gt;The packets in the latest sniffer log are encrypted, so I am not able to see the contents of the packets.&lt;/p&gt;
&lt;p&gt;I gave you incorrect information in my previous reply, so I apologize for that. This is the correct information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If the binding request is sent from the reporting device (light device) to the receiver (coordinator), the source address and endpoint should be the receiver device and the destination should be the reporting device.&lt;/li&gt;
&lt;li&gt;If the binding request is sent from the receiver (coordinator) to the reporting device (light device), the source address and endpoint should be the reporting device and the destination should be the receiver.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So you were doing it correctly previously. I am not sure why the coordinator responded with &amp;#39;Unsupported General Command&amp;#39; to the Configure Reporting command, but I see that the coordinator is not a Nordic device. Could you try with a Nordic coordinator to see if that also returns unsupported? You can for example use the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/samples/zigbee/shell/README.html"&gt;Zigbee shell&lt;/a&gt; sample as coordinator.&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/449438?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 05:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c57723-0207-49de-9541-0a616a8d83de</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I did made a mistake of the source device and the destination device.&amp;nbsp;After I revised my code, it comes another question. When the endpoint device send a bind request to the coordinator, the coordinator response with &amp;quot;Not supported &amp;quot;. What should I do now?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Here is the sniffer log. You can see the response in line 59 and Line 77.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696916667364v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/10_5F00_8_5F00_log1.pcapng"&gt;devzone.nordicsemi.com/.../10_5F00_8_5F00_log1.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jostar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/449371?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2023 13:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52b998b8-5f98-4cc6-8001-707c10ae9dea</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Jostar,&lt;/p&gt;
[quote user="jostar"]1) The &lt;span&gt;configure reporting request send a&lt;/span&gt;fter I&amp;nbsp;&lt;span&gt;configured the binding from the reporting device (the light device in my case). But it still response &amp;quot;unsupported general command&amp;quot;, and without attribute reporting, which&amp;nbsp;can be find in the sniffer log in line 388. 390 and&amp;nbsp;403.&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Regarding the bind request, the source address and endpoint should be the address and endpoint of the reporting device, which I assume is the Nordic device in your case (address f4:ce:36:78:be:0a:54:17), while the destination address and endpoint is that of the device that will receive the reports.&lt;/p&gt;
&lt;p&gt;Try sending the configure reporting command to the same endpoint as the one you create the binding for (based on your bind request this is endpoint 0 if the Nordic device is the reporting device), instead of the broadcast endpoint 255.&lt;/p&gt;
[quote user="jostar"]2) I had tried to binding the custom(private) cluster, the coordinator response &amp;quot;binding table full&amp;quot;. What can I do to solve it. It can be find in the sniffer log in line 204.[/quote]
&lt;p&gt;You can send a Binding Table Request to the coordinator to see if the binding table is full. If it is full, you can delete bindings you do not need.&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/449248?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2023 07:57:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93d325eb-3fcc-40ad-aab7-bf8d909c2cc4</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Sorry for long time without replying. Your advices had helped me a lot, but I still got some question with it, which are&amp;nbsp;listed as below:&lt;br /&gt; 1) The &lt;span&gt;configure reporting request send a&lt;/span&gt;fter I&amp;nbsp;&lt;span&gt;configured the binding from the reporting device (the light device in my case). But it still response &amp;quot;unsupported general command&amp;quot;, and without attribute reporting, which&amp;nbsp;can be find in the sniffer log in line 388. 390 and&amp;nbsp;403.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696665680532v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696665696685v4.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696665705252v5.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) I had tried to binding the custom(private) cluster, the coordinator response &amp;quot;binding table full&amp;quot;. What can I do to solve it. It can be find in the sniffer log in line 204.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696665659414v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jostar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/10_5F00_7_5F00_log.pcapng"&gt;devzone.nordicsemi.com/.../10_5F00_7_5F00_log.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447881?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 08:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c513d0c-3a42-4c4d-b266-c237d8d15158</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Jostar,&lt;/p&gt;
&lt;p&gt;Regarding the sniffer log. You do not send any bind requests to create a new binding in the sniffer log. I see a binding table request, but this command is used to retrieve information about the binding table on a device, that is, which bindings already exist on the device. It does not create a new binding.&lt;/p&gt;
&lt;p&gt;You can see the difference between the two packets here:&lt;br /&gt;Binding Table Request (to get information about bindings):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695800459945v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Bind Request (to configure a new binding):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695800507745v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user="jostar"]By the way, If I want to send a report attribute command to the coordinator by&amp;nbsp;the endpoint after I press the button3 every time(not automatically), which API(macro) should I used?[/quote]
&lt;p&gt;What is it you want to achieve by doing this? There is no macro for directly sending a report attribute command, but there might be other solutions to this depending on why you want to do this.&lt;/p&gt;
[quote user="jostar"]And, how to retrieve the long address of the coordinator?[/quote]
&lt;p&gt;If you know the short address of the device, which in this case is 0x0000, you can send an IEEE address request, similar to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef struct parent_device_params_s
{
  zb_uint8_t  endpoint;
  zb_uint16_t short_addr;
  zb_addr_u nwk_addr;
} parent_device_params_t;

static parent_device_params_t     parent_device_ctx;

/**@brief A callback called on EUI64 address response.
 *
 * @param[in] bufid Reference number to ZBOSS memory buffer.
 */
static void zb_resolve_ieee_addr_cb(zb_bufid_t bufid)
{
    zb_zdo_ieee_addr_resp_t * p_resp = (zb_zdo_ieee_addr_resp_t *)zb_buf_begin(bufid);
    zb_char_t addr_buf[2 * 8 + 1];    /* 8 bytes (2 characters) plus one byte for null-terminator. */

    if (p_resp-&amp;gt;status == ZB_ZDP_STATUS_SUCCESS)
    {
        ZB_LETOH64(parent_device_ctx.nwk_addr.addr_long, p_resp-&amp;gt;ieee_addr_remote_dev);
        ieee_addr_to_str(addr_buf, sizeof(addr_buf), parent_device_ctx.nwk_addr.addr_long);
        LOG_INF(&amp;quot;Received EUI64 address for device 0x%04x -&amp;gt; %s&amp;quot;, parent_device_ctx.short_addr, addr_buf);
    }
    else
    {
        LOG_WRN(&amp;quot;Unable to resolve EUI64 source address. Status: %d&amp;quot;,
                        p_resp-&amp;gt;status);
    }

    zb_buf_free(bufid);
}

/**@brief Resolve EUI64 by sending IEEE address request.
 *
 * @param[in] nwk_addr  Network address to be resolved.
 */
static void zb_resolve_ieee_addr()
{
    zb_zdo_ieee_addr_req_param_t * p_req = NULL;
    zb_bufid_t                     bufid;

    bufid = zb_buf_get_out();
    zb_uint16_t dst_short_addr = 0x0000;

    // Create new IEEE address request and fill with default values.
    p_req = ZB_BUF_GET_PARAM(bufid, zb_zdo_ieee_addr_req_param_t);
    p_req-&amp;gt;start_index  = 0;
    p_req-&amp;gt;request_type = 0;
    p_req-&amp;gt;nwk_addr     = dst_short_addr;
    p_req-&amp;gt;dst_addr     = p_req-&amp;gt;nwk_addr;
    zb_zdo_ieee_addr_req(bufid, zb_resolve_ieee_addr_cb);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you use a struct like parent_device_ctx as in the code above, you can use this in the bind request like so:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ZB_MEMCPY(p_req-&amp;gt;src_address, parent_device_ctx.nwk_addr.addr_long, sizeof(zb_ieee_addr_t));&lt;/code&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447713?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 12:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e5ab1e-bfaa-458b-bd05-096fc5bfe0fa</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You&amp;#39;ve really helped me a lot!&amp;nbsp;I understand how the report attribute works now.&amp;nbsp;By the way, If I want to send a report attribute command to the coordinator by&amp;nbsp;the endpoint after I press the button3 every time(not automatically), which API(macro) should I used?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The sniffer log file is&amp;nbsp;upload below. As you can see, in line 115(I press the button), the endpoint send a configuring reporting command, and in line 119, the coordinator send back a response &amp;quot;unsupport general command&amp;quot; with no attribute report response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695794504578v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bset regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jostar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/9_5F00_27_5F00_log.pcapng"&gt;devzone.nordicsemi.com/.../9_5F00_27_5F00_log.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447673?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 10:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f6b3bc-7660-4d5c-8025-74a4127d5b71</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please upload the sniffer log as a pcap file so I can look at the packets.&lt;/p&gt;
[quote user="jostar"]1)Is the API&amp;nbsp;ZB_ZCL_GENERAL_INIT_CONFIGURE_REPORTING_CLI_REQ, ZB_ZCL_GENERAL_ADD_RECV_REPORT_CONFIGURE_REPORTING_REQ and&amp;nbsp;ZB_ZCL_GENERAL_SEND_CONFIGURE_REPORTING_REQ I used is corret?[/quote]
&lt;p&gt;Yes, these are the correct macros to use when configured on the reporting device, and the macros are filled correctly.&lt;/p&gt;
[quote user="jostar"]2)Is every time I call zb_zcl_start_attr_reporting function, then the endpoint device will report its attribute to the coordinator?[/quote]
&lt;p&gt;No, this is not how reporting works. What you are doing in configure_attr_reporting() is to configure and enable the reporting, and this only needs to be done once. After it is configured, the device should automatically start sending the attribute report periodically. You do not need to manually start and stop the reporting.&lt;/p&gt;
&lt;p&gt;One important thing is that in order to configure reporting, you need to first create bindings between the two devices on the cluster that should be reported. This is done by sending a bind request, with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.11.2.1/group__zdo__bind.html#ga403cbc689175cec5196544d784d5b067"&gt;zb_zdo_bind_req()&lt;/a&gt;. If you configure the binding from the reporting device (the light device in your case), it can be done similar to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void bind_req()
{
    zb_bufid_t                   bufid;
    zb_ieee_addr_t               src_nwk_addr;
    zb_zdo_bind_req_param_t    * p_req;
    

    bufid = zb_buf_get_out();

    // Get the long address of the reporting device
    zb_osif_get_ieee_eui64(src_nwk_addr);

    zb_uint16_t receiver_short_addr = 0x0000;
    
    p_req = ZB_BUF_GET_PARAM(bufid, zb_zdo_bind_req_param_t);
    // receiver_nwk_addr is the long address of the device that will receive the reports
    // This needs to be retrieved in some way
    ZB_MEMCPY(p_req-&amp;gt;src_address, receiver_nwk_addr, sizeof(zb_ieee_addr_t));
    p_req-&amp;gt;src_endp = 255
    p_req-&amp;gt;cluster_id = ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID;
    p_req-&amp;gt;dst_addr_mode = ZB_BIND_DST_ADDR_MODE_64_BIT_EXTENDED;
    ZB_MEMCPY(p_req-&amp;gt;dst_address.addr_long, src_nwk_addr, sizeof(zb_ieee_addr_t));
    p_req-&amp;gt;dst_endp = HA_DIMMABLE_LIGHT_ENDPOINT;

    p_req-&amp;gt;req_dst_addr = receiver_short_addr;


    zb_zdo_bind_req(bufid, zb_bind_callback);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This code is provided as if, so please make sure to modify it to your needs and test that it works.&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447596?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 01:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b9e66f5-2687-4a2d-bd84-7bf235e87533</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Hi, here is my sniffer log, log circled in red are sent by the coordinator.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695692419533v8.png" alt=" " /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695692429232v9.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447477?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 12:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2dfc3da-d098-4862-968b-68141a6e06c3</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Marte,&lt;br /&gt;The &amp;quot;unsupported general command&amp;quot; response was sent by the&amp;nbsp;coordinator, and I will share the sniffer log tomorrow morning, cause I am not in my office now. After that, I still have some question:&lt;br /&gt;1)Is the API&amp;nbsp;ZB_ZCL_GENERAL_INIT_CONFIGURE_REPORTING_CLI_REQ, ZB_ZCL_GENERAL_ADD_RECV_REPORT_CONFIGURE_REPORTING_REQ and&amp;nbsp;ZB_ZCL_GENERAL_SEND_CONFIGURE_REPORTING_REQ I used is corret?&lt;br /&gt;2)Is every time I call zb_zcl_start_attr_reporting function, then the endpoint device will report its attribute to the coordinator?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Your response to this&amp;nbsp;question will be great help! Thanks.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jostar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447464?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 11:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc16aa49-f743-4713-96a5-0be1a33dafcf</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Was the &amp;quot;unsupported general command&amp;quot; response sent as a response to the configure reporting command from the light device, or something else?&lt;/p&gt;
&lt;p&gt;Please share the sniffer log as a pcap file.&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><item><title>RE: ZigBee dimmable light level control attribute reporting</title><link>https://devzone.nordicsemi.com/thread/447340?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 05:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7603f81c-af1c-462b-9508-1de933e5880c</guid><dc:creator>jostar</dc:creator><description>&lt;p&gt;Configure report attributes code&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void configure_attr_reporting(bulb_device_ctx_t m_device_ctx){
    zb_bufid_t                  bufid;
    configure_reporting_req_t   req;
    zb_uint8_t                * cmd_ptr;
    
	zb_uint16_t addr = 0x0000;
    
    bufid = zb_buf_get_out();

	ZB_ZCL_GENERAL_INIT_CONFIGURE_REPORTING_CLI_REQ(bufid, cmd_ptr, ZB_ZCL_ENABLE_DEFAULT_RESPONSE);
	ZB_ZCL_GENERAL_ADD_RECV_REPORT_CONFIGURE_REPORTING_REQ(cmd_ptr, ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID, 0);
	ZB_ZCL_GENERAL_SEND_CONFIGURE_REPORTING_REQ(bufid, cmd_ptr, addr, ZB_APS_ADDR_MODE_16_ENDP_PRESENT, 255, HA_DIMMABLE_LIGHT_ENDPOINT, ZB_AF_HA_PROFILE_ID
												, ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL, NULL);

}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;button press callback code&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void start_reporting(zb_bufid_t bufid)
{
	configure_attr_reporting(dev_ctx);

	if(RET_OK == zb_zcl_start_attr_reporting(HA_DIMMABLE_LIGHT_ENDPOINT, ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL, ZB_ZCL_CLUSTER_SERVER_ROLE, ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID))
	{
		printf(&amp;quot;report sucess start!\n&amp;quot;);
	}

	if(ZB_TRUE == zcl_is_attr_reported(HA_DIMMABLE_LIGHT_ENDPOINT, ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL, ZB_ZCL_CLUSTER_SERVER_ROLE, ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID)){
		printf(&amp;quot;report sucess send!\n&amp;quot;);
	}
	
	// zb_zcl_stop_attr_reporting(HA_DIMMABLE_LIGHT_ENDPOINT, ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL, ZB_ZCL_CLUSTER_SERVER_ROLE, ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID);
}


/**@brief Callback for button events.
 *
 * @param[in]   button_state  Bitmask containing the state of the buttons.
 * @param[in]   has_changed   Bitmask containing buttons that have changed their state.
 */
static void button_changed(uint32_t button_state, uint32_t has_changed)
{
	/* Calculate bitmask of buttons that are pressed and have changed their state. */
	uint32_t buttons = button_state &amp;amp; has_changed;

	if (buttons &amp;amp; IDENTIFY_MODE_BUTTON) {
		ZB_SCHEDULE_APP_CALLBACK(start_identifying, 0);
	}

	if (buttons &amp;amp; DK_BTN3) {
		printk(&amp;quot;start reporting\n&amp;quot;);
		ZB_SCHEDULE_APP_CALLBACK(start_reporting, 0);
	}

}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>