<?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>Deinit fully BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15647/deinit-fully-ble</link><description>Hi i use a soft with DFU and Beacon.
I will use the beacon and when i press on a button i can update the software with DFU.
DFU and BEACON works independently but when i will use the 2 together the soft stop or restart. 
 for deinit the BLE i have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Aug 2016 11:15:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15647/deinit-fully-ble" /><item><title>RE: Deinit fully BLE</title><link>https://devzone.nordicsemi.com/thread/59752?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 11:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd2761d9-acec-4a36-93ac-9e2b56975b1f</guid><dc:creator>Henri.D</dc:creator><description>&lt;p&gt;in fact when i try to use the 2 code in same time, there is no DFU start, the program stop when i will start the DFU. My program start and works (he send BEACON) and when i will launch the DFU my program stop. If i delete all code for the BEACON i can do the DFU after pushing on button. this is why I think my problem is the initialization of the BLE and therefore I would like it removed completely After sending the BEACON and reset to start my DFU.
But i can&amp;#39;t do that and i don&amp;#39;t know why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deinit fully BLE</title><link>https://devzone.nordicsemi.com/thread/59751?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 10:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2683eb92-f9f6-498f-9e59-b7d4b1453784</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;i am not sure why your main starts directly after DFU? While in DFU,  your device is in bootloader mode and after your firmware upload is complete there should be a reset so that your device comes our of bootloader mode and your application program starts. When your application starts calling ble_stack_init function will be first one after reset. So I do not understand how your DFU and application are able to run without a reset in between? have you modified the DFU code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deinit fully BLE</title><link>https://devzone.nordicsemi.com/thread/59750?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 08:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf398038-db0b-458e-a30d-118383e2c9c5</guid><dc:creator>Henri.D</dc:creator><description>&lt;p&gt;Thank you for your answer,
In fact,
I can run the DFU BEACON and independent way, but when I try to send the BEACON and perform OTA with just after DFU, monn program stops.
By making several test I noticed that the problem came from the ble_stack_init function (); when I call 2x the program stops, that&amp;#39;s why I try to deinit the BLE in order to reset the data with DFU.&lt;/p&gt;
&lt;p&gt;I have try sd_soft_device_disable like say in the post but it doesn&amp;#39;t work in my code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deinit fully BLE</title><link>https://devzone.nordicsemi.com/thread/59749?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 08:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e342709a-b458-459c-8336-2e43708ae28a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not fully understand why you want to disable BLE but if you want to do it then you do it as mentioned in &lt;a href="https://devzone.nordicsemi.com/question/89302/shutdown-ble_peripheral/"&gt;this&lt;/a&gt; post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>