<?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 commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57282/unable-to-commission-dfu-client-example-when-autocommissioning-is-set-to-false</link><description>I have nrf52840 development boards, when I ran DFU example (from NRF SDK for thread and zigbee v4.0.0) on autocommissioning true on 2 boards and was able to run it successfully i.e. I could see they have created their own thread network. DFU process is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Feb 2020 12:24:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57282/unable-to-commission-dfu-client-example-when-autocommissioning-is-set-to-false" /><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/234895?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2020 12:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d196ff3b-8ac5-499b-96b1-18eb4a0fe904</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think you already got some answers to your questions from Gaurav but I will paste the answer from the developers here as well:&lt;/p&gt;
&lt;p&gt;&amp;quot;It turns out that in SDK 2.0.0 examples were using heap memory given by the OpenThread stack while in SDK 4.0.0 the Memory Manager has been used for the same purpose. Thread Commissioning is not the only user of this memory - its size is not sufficient for the customers&amp;#39; application.&lt;/p&gt;
&lt;p&gt;The solution proposed by the customer is very good. Our plan is to align the Memory Manager configuration of the DFU Client with other Thread Applications in the next release.&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/233999?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:291169ae-6ce2-4402-b492-aeafc0965031</guid><dc:creator>Bhumika</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update.&lt;/p&gt;
&lt;p&gt;Is there any specific reason for which DFU client has these memory manager settings changed.&lt;/p&gt;
&lt;p&gt;Also NRF sdk for thread and zigbee V2.0.0 has same memory manager settings as of V4.0.0 but that still gets commissioned.&lt;/p&gt;
&lt;p&gt;My major concern is that how these memory manager changes are effecting other functioning of the DFU client.&lt;/p&gt;
&lt;p&gt;Why in the first place these settings are different from simple_coap_client and how these changes will affect my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/233974?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bad415ae-9e1b-4498-b843-87a5118fcbc3</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;From what I understood, adjusting the memory manager settings resolve the issue for you right? &lt;br /&gt;&lt;br /&gt;The Memory manager is used to allocate and free memory in the RAM. What seems to have been the issue here is that the mbedtls needs heap to perform commissioning, and this DFU client code had too small amount of RAM. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/233815?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 15:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:088452a0-d337-4f11-a87b-451487a472d2</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, I will need to consult with our Thread experts about this and will come back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/233430?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 06:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e1b9a6-42fe-44ec-abb5-460492da4914</guid><dc:creator>Bhumika</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any update on this.&lt;/p&gt;
&lt;p&gt;Have you tried recreating the issue, or commissioning DFU example with auto-commissioning set to false.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to commission DFU client example when autocommissioning is set to false</title><link>https://devzone.nordicsemi.com/thread/232716?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 06:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec43bdaf-24fa-497a-bffc-483e221e5ef9</guid><dc:creator>Bhumika</dc:creator><description>&lt;p&gt;update on above issue from&amp;nbsp; my side..&lt;/p&gt;
&lt;p&gt;I have tried setting autocommissioing to false in thread dfu client example of SDK v2.0.0 and start the joiner it worked. The dfu client example got commissioned on my network.&lt;/p&gt;
&lt;p&gt;But the same change, i.e. auto commissioning set to false in thread dfu client example don&amp;#39;t work for nrf sdk thread and zigbee v4.0.0&lt;/p&gt;
&lt;p&gt;However same SDK&amp;#39;s simple coap client example works with autocommisioning set to false.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I compared both the examples, thread dfu client and thread simple coap client of nrf sdk v4.0.0&lt;/p&gt;
&lt;p&gt;In the sdk_config file of thread dfu client, I changed the following parameters..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORY_MANAGER_SMALL_BLOCK_COUNT 8&lt;/code&gt; to &lt;code&gt;MEMORY_MANAGER_SMALL_BLOCK_COUNT 64&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; MEMORY_MANAGER_SMALL_BLOCK_SIZE 128&lt;/code&gt; to &lt;code&gt; MEMORY_MANAGER_SMALL_BLOCK_SIZE 64&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 4&lt;/code&gt; to &lt;code&gt;MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 16&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORY_MANAGER_LARGE_BLOCK_COUNT 2&lt;/code&gt; to &lt;code&gt;MEMORY_MANAGER_LARGE_BLOCK_COUNT 4&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORY_MANAGER_LARGE_BLOCK_SIZE 1024&lt;/code&gt; to &lt;code&gt;MEMORY_MANAGER_LARGE_BLOCK_SIZE 512&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;After these changes, when I compiled the thread dfu client example, it got commissioned on my network with autocommissioning set to false.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Kindly suggest what kind of effect these parameters have on the system and why they are different in simple_coap_client and thread dfu client.&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;Awaiting your reply as it is quite urgent on my side.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>