<?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>How long to advertise for correct DFU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37967/how-long-to-advertise-for-correct-dfu</link><description>Hi, 
 I use buttonless DFU with the secure bootloader. 
 When I push a button my application advertise in fast mode with an interval of 40ms and for 5s. After it return to slow mode with advertising interval of 10s and infinitely duration. 
 I use nRF</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Sep 2018 13:56:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37967/how-long-to-advertise-for-correct-dfu" /><item><title>RE: How long to advertise for correct DFU?</title><link>https://devzone.nordicsemi.com/thread/147607?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 13:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:210c3a81-a714-428a-8875-7fe29ab8dd4c</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;Unfortunately I have not managed to reproduce the error (maybe it is not). I have flashed 10 time the device without an error, exept a timemout durring the connection because it&amp;#39;s return into slow mode.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="" lang="en"&gt;&lt;span class=""&gt;Thank you for your time.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How long to advertise for correct DFU?</title><link>https://devzone.nordicsemi.com/thread/147343?ContentTypeID=1</link><pubDate>Wed, 05 Sep 2018 10:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3509a223-caf9-4fd9-a5c8-3177613119e4</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Very sorry for the delayed response. What kind of errors are you receiving when you keep the fast mode timeout at 10 seconds? It is important to remember that the timeout will expire once you have established a connection between the smartphone &amp;amp; the peripheral you want to do the dfu on.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How long to advertise for correct DFU?</title><link>https://devzone.nordicsemi.com/thread/146685?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 09:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b6ff661-cd16-41f7-8a0f-43aca3247fd2</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;I use SDK 12.3.0.&lt;/p&gt;
&lt;p&gt;Fast mode: I advertise at 40ms for 5s or 10s&lt;/p&gt;
&lt;p&gt;Slow mode: I advertise at 10s for infinite&lt;/p&gt;
&lt;p&gt;When I perform the DFU I am in fast mode, so I advertise at 40ms for 10s. But apparently 10s is not sufficient to establish each time the DFU process &lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class=""&gt;(write the DFU caracteristic + reboot to the bootloader + establish the connection with the bootloader + restart with advertising at DFUTarg + start the DFU)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How long to advertise for correct DFU?</title><link>https://devzone.nordicsemi.com/thread/146678?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 08:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:465028e3-19e4-41b5-8664-179ea7c3f6e0</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>[quote user=""]With a timeout of 5s it&amp;#39;s very difficult to perform the DFU, so I change it to 10s, now it&amp;#39;s better but not in all case.[/quote]
&lt;p&gt;&amp;nbsp;Could you please explain what you mean by this statement? Why does it not work great in all situations?&lt;/p&gt;
&lt;p&gt;It is not a good idea to have an advertising interval of 10 seconds, as it could be very difficult for the phone to connect to this. Are you using sdk 12.3?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>