<?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>time out when DFU fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17336/time-out-when-dfu-fail</link><description>Hi ALL:
now the time out when dfu fail is 120s,It&amp;#39;s a little bit long for us，can i reduce it ？how much is the least?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Oct 2016 06:44:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17336/time-out-when-dfu-fail" /><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66620?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 06:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fab28ee0-6866-45f2-a885-2a7afd9257ea</guid><dc:creator>MR.liu</dc:creator><description>&lt;p&gt;thank your for help，You solved my problem very well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66619?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 06:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6595079f-e3c7-4ebc-ba6d-52bf96d35dd5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;YEs, in a connection the maximum payload of a BLE packet is 20 bytes, so an image of 127 kB will be about 6503 packets. The dfu timer will be reset when a data packet is received, so it will not timeout unless the connection is broken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66618?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 03:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b2d018a-948a-4e4d-b9a8-d4e3148d0c21</guid><dc:creator>MR.liu</dc:creator><description>&lt;p&gt;How much size is the packets which can trigger peer activity? for example 20 byte?my application DFU upgrade package is 127kB, how many times peer activity triggered?just once?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66617?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 02:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee82a88-6f51-416f-ba9e-9f1cf36bc359</guid><dc:creator>MR.liu</dc:creator><description>&lt;p&gt;It is to said that under normal circumstances waiting for peer activity is far less than the 30S? 30s timeout to fully meet system requirements of transmission?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66616?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 11:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba3822c-6b7e-48d2-bddb-3dce331cf2f9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, i do not think so since the bootloader is waiting for peer activity, i.e. waiting for the start packet, the init packet or a data packet. And as you say the  dfu timer will be reset everytime one of the packets above is received.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66614?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 07:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c17d523-556f-4e78-bfe3-b24303978e07</guid><dc:creator>MR.liu</dc:creator><description>&lt;p&gt;What the program is doing in the time of time out? Why the default is 120s？All the steps of DFU is no more than 30S?When I changed the timeout to 30S, could it be possible to trigger a timeout before dfu_timer_restart()?In this case, DFU will always fail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66615?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 06:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c57d5d0-e52c-4f43-a18c-21c0d8e57c16</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, it should not lead to any unknown errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66613?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 07:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e91cb21-ed89-43b8-b6bb-22d21082ec7a</guid><dc:creator>MR.liu</dc:creator><description>&lt;p&gt;This will not lead to some unknown error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: time out when DFU fail</title><link>https://devzone.nordicsemi.com/thread/66612?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 07:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7350bdb2-6901-4d6b-abad-e862699f5c7e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;We do not have a specified minimum time timeout interval, but I think that you should be able to set it to 30s without running in to any issues. Generally, I would just test som different values and if you dont see any issues, then you&amp;#39;re ok.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>