<?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>Error updating DFU - Platform exception</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78320/error-updating-dfu---platform-exception</link><description>Hi, 
 We are developing a flutter mobile app, for Actility/Abeeway (chips from Avnet Silica) using flutter pluggin that relies on the Android SDK. In some situations (after 2/3 succefull updates) we are getting the PlatformException error. Here are the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Aug 2021 10:22:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78320/error-updating-dfu---platform-exception" /><item><title>RE: Error updating DFU - Platform exception</title><link>https://devzone.nordicsemi.com/thread/323957?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 10:22:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a2d9d4-063d-4779-a601-edb08ddab2f4</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have a look at:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library/blob/b5d587bfbfaa5b1eacebce3a8846746a9d3a9793/dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java#L1324"&gt;https://github.com/NordicSemiconductor/Android-DFU-Library/blob/b5d587bfbfaa5b1eacebce3a8846746a9d3a9793/dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java#L1324&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Based on this link, the log message:&amp;nbsp;&lt;/p&gt;
[quote userid="99426" url="~/f/nordic-q-a/78320/error-updating-dfu---platform-exception"]08-03 13:26:53.970 14599 15550 E DfuBaseService: Device not reachable. Check if the device with address DD:F9:55:CA:3C:89 is in range, is advertising and is connectable[/quote]
&lt;p&gt;should happen &amp;gt; 25 sec after the connection attempt. In your case it looks like 5 seconds passed, from&amp;nbsp;&lt;span&gt;13:26:48.559 to 13:26:53.970. This indicates something with how you start the DFU again, after the last one completed/failed (are you trying to update multiple devices at the same time?), or modified library? Also, looks like you&amp;#39;re filtering logs, as I can&amp;#39;t see those on Info level (e.g line 1321 of the file above).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why do you start and stop scanning so often?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What phone are you testing on? Did you try a different phone? Is it common for a user to do more than 2/3 updates, or are you stress-testing?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>