<?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>Mobile or CLI utility for performing BLE OTA DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115377/mobile-or-cli-utility-for-performing-ble-ota-dfu</link><description>Hi, 
 I have the unfortunate task of needing to update a significant amount of inventory (several thousand units) using BLE OTA. 
 The devices are using the nRF52805 with nRF5 SDK v17.1.0 . I&amp;#39;ve used the nRF Connect mobile app to perform DFU before, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 15:00:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115377/mobile-or-cli-utility-for-performing-ble-ota-dfu" /><item><title>RE: Mobile or CLI utility for performing BLE OTA DFU</title><link>https://devzone.nordicsemi.com/thread/505931?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 15:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d797e823-df4a-4985-ac39-4c69e7ef1d20</guid><dc:creator>mbprx</dc:creator><description>&lt;p&gt;That&amp;#39;s an interesting idea -- I&amp;#39;ll take a crack at the nrfutil PC script first and then try this if that gives me too much trouble. Thanks for the detail!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile or CLI utility for performing BLE OTA DFU</title><link>https://devzone.nordicsemi.com/thread/505826?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 08:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:233ecc6b-162e-487e-9e54-edfda415d9b1</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Android dev here. nRF Connect for Android supports a feature called &amp;quot;Automated Tests&amp;quot;. It allows Secure DFU. Here you may find some documentation:&amp;nbsp;&lt;a id="" href="https://github.com/NordicSemiconductor/Android-nRF-Connect/tree/main/documentation/Automated%20tests"&gt;https://github.com/NordicSemiconductor/Android-nRF-Connect/tree/main/documentation/Automated%20tests&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Idea is as follows:&lt;/p&gt;
&lt;p&gt;1. Write a script in XML which will scan for some packet and start DFU on the found device.&lt;br /&gt;2. Copy required ZIP for the DFU onto the phone. Make sure nRF Connect has access there, so most prob it needs to be put into app&amp;#39;s private folder: Android/data/no.nordicsemi.android.mcp/Tests, or something like that.&lt;br /&gt;3. You run the test from a connected PC using batch/sh script, like written in the doc. Currently there&amp;#39;s no easy way to trigger the test without a PC, but it&amp;#39;s just based on an Intent, so perhaps Tasker app or similar can do this.&lt;br /&gt;4. If you repeat the test multiple times (you may just copy &amp;lt;run-test&amp;gt; tag many many times in the XML, it should just go one by one and update all devices. I hope there&amp;#39;s a difference in the adv packet of devices before and after the update.&lt;/p&gt;
&lt;p&gt;Anyway, I think using nrfutil and a script on a PC will be easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile or CLI utility for performing BLE OTA DFU</title><link>https://devzone.nordicsemi.com/thread/505778?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 16:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec234f63-75ce-4826-b999-e52408d48e66</guid><dc:creator>mbprx</dc:creator><description>&lt;p&gt;Appreciate the advice, I&amp;#39;ll give nRFUtil a look like you suggest. Let me know if you hear anything on the mobile end otherwise!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile or CLI utility for performing BLE OTA DFU</title><link>https://devzone.nordicsemi.com/thread/505749?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 13:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:805c17f5-b14b-4b9e-98c7-163a959f3e6b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Miles,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I will try to get the nRF Connect mobile app developer to take a look.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you want to go with the desktop route, I would suggest to use nrfutil&amp;nbsp; (nRFUtil for nRF5 SDK &lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/guides-nrf5sdk/intro.html"&gt;https://docs.nordicsemi.com/bundle/nrfutil/page/guides-nrf5sdk/intro.html&lt;/a&gt;&amp;nbsp;)&lt;br /&gt;&lt;br /&gt;You can see&amp;nbsp; &lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/guides-nrf5sdk/dfu_performing.html#dfu-over-bluetooth-low-energy"&gt;here&amp;nbsp;&lt;/a&gt;&amp;nbsp;that you can start a DFU process with command line and you can use a script for that. If they advertise with the same name then you don&amp;#39;t need to modify anything, just use the device name as the filter, or you can use BT address. In that case a script needed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>