<?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>Question about the reporting of the multi-sensor</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88937/question-about-the-reporting-of-the-multi-sensor</link><description>Good day, 
 I am currently developing with two NRF52840 DK boards, and I also have two NRF Dongles. On a dongle a sniffer for ZigBee. I am working with SDK 3.2. This is my first project with ZigBee, so I don&amp;#39;t have much know-how yet. 
 I have a few questions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jun 2022 14:54:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88937/question-about-the-reporting-of-the-multi-sensor" /><item><title>RE: Question about the reporting of the multi-sensor</title><link>https://devzone.nordicsemi.com/thread/372626?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 14:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:284b73ab-5cd0-4dba-b787-3c5103bc3ac3</guid><dc:creator>Jonas T</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thanks for your answers. Yes, that with decreasing the ZIGBEE_CONFIGURE_REPORT_DEFAULT_MAX_INTERVAL or increasing the ZIGBEE_CONFIGURE_REPORT_DEFAULT_MIN_INTERVAL worked, after sending the new report request setting.&lt;/p&gt;
&lt;p&gt;So the reporting can be changed by doing this with variables too.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll make a note of that with the sensor.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Jonas T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the reporting of the multi-sensor</title><link>https://devzone.nordicsemi.com/thread/372554?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 11:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9059589a-64b5-4e6a-a831-57df329f04a0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Jonas,&lt;/p&gt;
[quote user=""]Is it normal that in such cases no subscribe function is needed, so it is only needed for devices that do not have automatic attribute reporting?[/quote]
&lt;p&gt;If reporting is configured on a device it will send reports based on the current state of its binding table. The multi sensor configures reporting itself, so when you then create a binding on the clusters it has configured reporting for it will start reporting.&lt;/p&gt;
[quote user=""]2) How can the attribute report be increased, i.e. instead of every 5 seconds, only 2 seconds?[/quote]
&lt;p&gt;Do you want to make this change from the coordinator or on the multi sensor?&lt;/p&gt;
&lt;p&gt;If you want the coordinator to change how often the multi sensor reports you can send a configure reporting command with a new reporting interval. This command has a minimum reporting interval field and maximum reporting interval field, so setting maximum interval 2 seconds will make the device report at least every 2 seconds. You can fill out and send this command using&amp;nbsp;ZB_ZCL_GENERAL_INIT_CONFIGURE_REPORTING_SRV_REQ,&amp;nbsp;ZB_ZCL_GENERAL_ADD_SEND_REPORT_CONFIGURE_REPORTING_REQ and&amp;nbsp;ZB_ZCL_GENERAL_SEND_CONFIGURE_REPORTING_REQ, similar to how it is done in the CLI agent. Make sure to set the max_interval in&amp;nbsp;ZB_ZCL_GENERAL_ADD_SEND_REPORT_CONFIGURE_REPORTING_REQ.&lt;/p&gt;
&lt;p&gt;If you instead want to make these changes locally on the multi sensor you can use&amp;nbsp;zb_zcl_put_reporting_info() to change the configuration. First create a&amp;nbsp;zb_zcl_reporting_info_t structure and set the required fields for the configuration, such as def_max_interval, then call&amp;nbsp;zb_zcl_put_reporting_info():&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* Structure to store reporting configuration for a given attribute. */
    zb_zcl_reporting_info_t rep_info;
    /* Erase the structure. */
    ZB_BZERO(&amp;amp;rep_info, sizeof(rep_info));
    /* This is a reporting configuration to send Reports. */
    rep_info.direction = ZB_ZCL_CONFIGURE_REPORTING_SEND_REPORT;
    /* Device endpoint to send Reports from. */
    rep_info.ep = TODO;
    /* Cluster ID in which the attribute belongs. */
    rep_info.cluster_id = TODO;
    /* Cluster role (client/server). */
    rep_info.cluster_role = TODO;
    /* Profile ID, usually Home Automation. */
    rep_info.dst.profile_id = TODO;
    /* Set attribute ID */
    rep_info.attr_id = TODO;
    /* TODO: Configure desired intervals of the reporting. */
    rep_info.u.send_info.def_min_interval = TODO;
    rep_info.u.send_info.def_max_interval = TODO;
    
    /* Put the reporting configuration to use and handle the returned value.
     * Use Overrie option so the already present default configuration will be changed. */
    zb_zcl_put_reporting_info(&amp;amp;rep_info, ZB_TRUE);&lt;/pre&gt;&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: Question about the reporting of the multi-sensor</title><link>https://devzone.nordicsemi.com/thread/372375?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 12:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd70f2bb-f908-4514-b30a-2aad9ee73bc3</guid><dc:creator>Jonas T</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Thank you for your reply, I had a bit of a mix up there. Under the documentation of the SDK for the multi-sensor you will find the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRF5 SDK for Thread and Zigbee v4.1.0
-------------------------------------
Release Date: Week 18, 2020&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Yes, the multi-sensor works with SDK4.1 and not SDK3.2 (W37, 2019). However, the coordinator works with the older one which still works fine.&lt;/p&gt;
&lt;p&gt;In the code of the multi-sensor I have only changed the values of the clusters, nothing else, this works also quite great.&lt;/p&gt;
&lt;p&gt;When I started learning about these areas, the light example worked great with SDK3.2, but did not work with SDK4.1. Afterwards, I read in a devzone that it is necessary to add code, but it was too late. Now I am with the coordinator on the older state.&amp;nbsp;This is just a test setup.&lt;/p&gt;
&lt;p&gt;How my coordinator main is set up can be seen in the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88554/zigbee-problems-with-coordinator-to-subscribe-the-multi-sensor?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;ticket &lt;/a&gt;at the following verified answer. I have now improved and shortened the code, but still had the same function.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jonas T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the reporting of the multi-sensor</title><link>https://devzone.nordicsemi.com/thread/372366?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 11:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306a725e-fbdc-4806-a2cf-1f4f4528a3de</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Jonas,&lt;/p&gt;
&lt;p&gt;Before moving forward with your questions, I have to remind you that the SDK version you are using is quite old, there are many changes(bug fixes and improvements) after this release. You may also have a risk to get certification for your Zigbee product since t&lt;span&gt;he Connectivity Standards Allianc&lt;/span&gt;e(formerly the&amp;nbsp;Zigbee Alliance) requests ZCL 8 compatibility for new Zigbee products, which are now only supported by&amp;nbsp;nRF5 SDK for Thread and Zigbee v4.2.0 and NCS 2.0.0. NCS2.0.0 is highly recommended since&amp;nbsp; nRF5 SDK for Thread and Zigbee v4.2.0 will be the last release for nRF5 SDK based solution.&lt;/p&gt;
&lt;pre&gt;nRF5 SDK for Thread and Zigbee v3.2.0
-------------------------------------
Release Date: Week 37, 2019&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;Let me know which SDK solution you want to continue with and I will investigate and answer your questions based on it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>