<?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>Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35702/extend-ble-application-to-support-the-ble-dfu-service-with-nrf52832-sdk15-0-0-softdevice-s132</link><description>Hello, 
 I&amp;#39;m using nRF52832, SDK15.0.0, Softdevice S132. 
 What should be the code added to application in order to support BLE DFU service? 
 I&amp;#39;ve been here , but its for nRF52 SDK V0.9.2 (which I think is very old). 
 Thanks in advance for your reply</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2019 00:46:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35702/extend-ble-application-to-support-the-ble-dfu-service-with-nrf52832-sdk15-0-0-softdevice-s132" /><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/191897?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 00:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccff6b9c-8879-4663-8f19-1715ecb79dfe</guid><dc:creator>breaker</dc:creator><description>&lt;p&gt;Thank you for replying. will do like your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/191862?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2019 16:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a007a5-16d9-4e74-8e8c-4dc40de6d2d1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Not that I am aware of. I will be out of office for about a week, so I suggest that you create a new ticket, where you describe what the issues you encountered when trying to add the buttonless_dfu service to your project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/191799?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2019 09:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7daa1a73-cdc6-468a-bab9-9874832eeb9b</guid><dc:creator>breaker</dc:creator><description>&lt;p&gt;Hi Edvin, do we have a tutorial on how to migrate buttonless_dfu service to any existing bonding project such as&amp;nbsp;&amp;nbsp;ble_app_gls?&lt;/p&gt;
&lt;p&gt;I failed and had no clue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137896?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 12:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf138dc8-dddd-4df1-968c-6e95b2426cef</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;That may be. nrfutil is not always up to date on the --sd-req hex values. 0x008a will still work, but it is not listed in the --help menu. To see what version a softdevice is, you can flash the softdevice to a DK, and open nRFgo Studio, and see the softdevice id there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also remember to update the --application-id to always be at least 1 higher than the currently running application. Unless the the bootloader will reject the packet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137879?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 11:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d4696d0-d46c-4039-8fe5-81df3d7cea16</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have a BLE sensor. We would like to update FW OTA.&lt;/p&gt;
&lt;p&gt;So now I want to see if I can update the&amp;nbsp;ble_app_hrs.zip (which is created via the nrfutil tool) from the DK to our sensor (DK -&amp;gt; Sensor)&lt;/p&gt;
&lt;p&gt;I hope the problem was that I used the same&amp;nbsp;--sd-req 0x98 as in the blog post and not 0x00a8 for S132 V6 (as I commented&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35550/updating-an-nrf52-application-over-the-air-with-ota-dfu"&gt;here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;My DK was burned out, so I&amp;#39;m waiting for new board to continue the experiment.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Ran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137721?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 14:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c488c5c9-bea2-43dc-abfd-2e1327be9681</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am a bit confused. Do you have one custom device and one DK?&lt;/p&gt;
&lt;p&gt;And you want to update the DK, right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1: on the device that you want to be able to update:&lt;/p&gt;
&lt;p&gt;program the bootloader, softdevice and application &lt;strong&gt;via programming cable&lt;/strong&gt;. You can use the project in examples\dfu.&lt;/p&gt;
&lt;p&gt;2: Now it should advertise as DfuTarg. You can connect to it with nRF Connect. Either the app for a phone, or with a computer running nRF Connect for Desktop with a &lt;strong&gt;separate &lt;/strong&gt;DK connected.&lt;/p&gt;
&lt;p&gt;3: After the connection is established, select your application package (ble_app_hrs.zip). This package must be created via the nrfutil tool in the guide that I linked to in a previous answer. It is not possible to just zip the application folder. Then click &amp;quot;Start DFU&amp;quot;, and it should run the DFU process.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to do these steps, or does something fail in one of these 3 steps?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137498?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 15:12:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f61a177f-c178-4aed-88e2-933e6b977f6d</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have only one DK.&lt;/p&gt;
&lt;p&gt;I thought to:&lt;/p&gt;
&lt;p&gt;1. Upgrade my application as described at my last comment and flash the SD, application and BL to my &amp;nbsp; &amp;nbsp; custom device.&lt;/p&gt;
&lt;p&gt;2. Upload the DFU packet &lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt; (e.g.&amp;nbsp;ble_app_hrs.zip&lt;/span&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;)&lt;/span&gt; from the DK.&lt;/p&gt;
&lt;p&gt;Is it correct?&lt;/p&gt;
&lt;p&gt;Although I&amp;#39;ve downloaded the&amp;nbsp;nRFConnect_BLE_User_Guide_v2.2.pdf, can you tell me in short&lt;/p&gt;
&lt;p&gt;what should be flashed in the DK and how it sends the DFU packet to the custom device?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Ran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137478?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 14:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f45b0a57-e694-40e5-bb4b-7fd165128de7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have an extra DK that you can try to upload the DFU packet with, instead of using the phone?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The last sentence:&lt;/p&gt;
&lt;p&gt;What I meant is that if you only flash your application with the buttonless_dfu service, you will get an error in services_init() saying that it couldn&amp;#39;t find a bootloader. If you start by doing the dfu\secure_bootloader project, and upgrade the firmware to the buttonless_dfu project by creating a DFU pack containing this project, it will not erase the bootloader in this process. But if you use nRFGo studio or nrfjprog to erase the chip, it will remove the bootloader.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But do you have access to 2x nRF52 DKs? Just to eliminate the phone as a possible source of error? Try to use the latest release of &lt;a href="http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Connect-for-Desktop"&gt;nRF Connect for desktop&lt;/a&gt; to upload the DFU firmware.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137469?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 13:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef76b5c-78a7-40ff-917e-e9e084dfd03e</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve followed the guide but I had problems as described&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35550/updating-an-nrf52-application-over-the-air-with-ota-dfu"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please correct me if I&amp;#39;m wrong. What I need to do is:&lt;/p&gt;
&lt;p&gt;1. Add the buttonless_dfu service from the ble_app_buttonless_dfu example to my project.&lt;/p&gt;
&lt;p&gt;2. Flash the application.&lt;/p&gt;
&lt;p&gt;3. Flash the chip with the same bootloader that I&amp;#39;ve made in the guide (with its settings).&lt;/p&gt;
&lt;p&gt;4. Flash sd132 V6.0.0.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand the last sentence: &amp;quot;This can be ensured upgrading from the dfu\secure_bootloader example to the buttonless_dfu example using the bootloader&amp;quot;.&lt;/p&gt;
&lt;p&gt;Can you explain it please?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132</title><link>https://devzone.nordicsemi.com/thread/137439?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 13:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f9be541-a897-4db5-bc7a-dc13de889204</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you have not used the bootloader and DFU yet, I suggest that you start with &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;this guide&lt;/a&gt;. I know it is a bit old, but it should be very suited as a starting point for SDK15.&lt;/p&gt;
&lt;p&gt;If you start with this example, and then move over to the ble_app_buttonless_dfu example in SDK15\examples\ble_peripheral, using the same bootloader that you made in the guide, using the SDK15\examples\dfu\secure_bootloader\pca10040_ble, you should be up and running.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you want to do, eventually, is to add the buttonless_dfu service from the ble_app_buttonless_dfu example to your custom project. Note that this requires the chip/board to have a bootloader flashed when running, or it will cause an application error. This can be ensured upgrading from the dfu\secure_bootloader example to the buttonless_dfu example using the bootloader.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if you run into any problems on the way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>