<?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>use DFU SDK ( Android phone central) to update firmware on multiple peripheral devices concurrently</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62638/use-dfu-sdk-android-phone-central-to-update-firmware-on-multiple-peripheral-devices-concurrently</link><description>Hi 
 We are planning to use the DFU SDK to update the firmware from an Android tablet(central) to multiple peripherals/slaves at the same time. The FW is around 200KB and the peripheral devices have nRF52832 BLE parts) I know Android supports up to 7</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jun 2020 17:03:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62638/use-dfu-sdk-android-phone-central-to-update-firmware-on-multiple-peripheral-devices-concurrently" /><item><title>RE: use DFU SDK ( Android phone central) to update firmware on multiple peripheral devices concurrently</title><link>https://devzone.nordicsemi.com/thread/256006?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 17:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f4531a-4319-407a-91e2-a9b68787e885</guid><dc:creator>gerry h</dc:creator><description>&lt;p&gt;Thanks Alek,&amp;nbsp; I have a second issue( may need a new ticket?). Mt device is buttonless. I will use DFU but not sure how to get the device into the BLE bootloader.&amp;nbsp; I saw the following options shown below for the bootloader to enter DFU mode.&amp;nbsp; I would like to understand what and how to activate SotfDevice. From what I read SoftDevice is just the BLE stack, so I do not understand how this mobile application can initiate the device to go into BLE DFU bootloader?&lt;/p&gt;
&lt;p&gt;Thanks Gerry&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the DFU mode, the bootloader activates the DFU transports and the device is ready to receive new firmware. The bootloader enters the DFU mode on the following conditions:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No valid application is present.&lt;/li&gt;
&lt;li&gt;SoftDevice is activated and a valid application is present. In that case, the bootloader expects that an application update can be requested by the host.&lt;/li&gt;
&lt;li&gt;Entering DFU mode is triggered by one of the optional sources:
&lt;ul&gt;
&lt;li&gt;Button (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__bootloader__config.html#ga2a0043889d40d5b09e524cc701f93fbf"&gt;NRF_BL_DFU_ENTER_METHOD_BUTTON&lt;/a&gt;),&lt;/li&gt;
&lt;li&gt;Pin reset (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__bootloader__config.html#gaa89bea64482f2c4d83919922e5e84bc3"&gt;NRF_BL_DFU_ENTER_METHOD_PINRESET&lt;/a&gt;),&lt;/li&gt;
&lt;li&gt;Special value in GPREGRET register (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__bootloader__config.html#ga4e1297da5d25948277b4323a6fb87659"&gt;NRF_BL_DFU_ENTER_METHOD_GPREGRET&lt;/a&gt;),&lt;/li&gt;
&lt;li&gt;Request from the application written to the settings page (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__bootloader__config.html#gab540083b75cd50e020bbd166198476c4"&gt;NRF_BL_DFU_ENTER_METHOD_BUTTONLESS&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: use DFU SDK ( Android phone central) to update firmware on multiple peripheral devices concurrently</title><link>https://devzone.nordicsemi.com/thread/255335?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 16:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddcd1059-2c10-4a3e-b0cc-4b3ebd4ffc5b</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;The dfu bootloader from SDK 14 (or 15?) supports MTU &amp;gt; 23 and DLE (Data Length Extension) which greatly increase bandwidth. They both increase the percentage of time used to send payload. That means that the phone has less time that can spend on sending data to other devices. Higher MTU are supported in Android since Lollipop, and DLE since Marshmallow, if their hw supports it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: use DFU SDK ( Android phone central) to update firmware on multiple peripheral devices concurrently</title><link>https://devzone.nordicsemi.com/thread/255318?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 14:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1387da06-69e3-4621-83f6-58efac392a34</guid><dc:creator>gerry h</dc:creator><description>&lt;p&gt;Hi Alek, thanks very much for your answer. Clear that we would have to modify the transport to get it working as DFU only support 1-to-1.&amp;nbsp; &amp;nbsp;Not so clear when you say&amp;quot;&lt;span&gt;If your fw is based on SDK 14+, which supports long MTUs and DLE, and your Android tablet isn&amp;#39;t very old as well, the host would have to jump between devices&amp;quot; can you please explain? Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: use DFU SDK ( Android phone central) to update firmware on multiple peripheral devices concurrently</title><link>https://devzone.nordicsemi.com/thread/255231?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 11:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37e90536-4162-4a5e-8380-529fea4c63e7</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The current DFU library is build as IntentService of which can be only one instance at the same time. You could rebuild the library to make it more transport independent, and manage connections on your own. Maintaining multiple connections is indeed possible, but remember that there&amp;#39;s just one host on the tablet, which would have to split time between each device. If your fw is based on SDK 14+, which supports long MTUs and DLE, and your Android tablet isn&amp;#39;t very old as well, the host would have to jump between devices, which will limit the speed per single update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you sniff the DFU using a Bluetooth sniffer, on modern phones and new Nordic SDKs a single upload takes significant portion of bandwidth, so sending it ti multiple clients at the same time would definitely make it slower per device, don&amp;#39;t know how about the overall time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>