<?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>Disabling/Enabling softdevice with a button</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10212/disabling-enabling-softdevice-with-a-button</link><description>I have a nRF51DK. And I would like to be able, to enable/disable the softdevice with 2 buttons. 
 Button 1 on nRF51DK --&amp;gt; Enable Softdevice 
 Button 2 on nRF51DK --&amp;gt; Disable Softdevice 
 Why Disable? Its not enough, if the Board is just invisible.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Nov 2015 12:28:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10212/disabling-enabling-softdevice-with-a-button" /><item><title>RE: Disabling/Enabling softdevice with a button</title><link>https://devzone.nordicsemi.com/thread/37889?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 12:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6e91de-d2bc-4f0c-a9d8-24a0db69918f</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Its solved. The problem was, that i call timers_init() twice and this will cause an error. I will update the post and than you will see it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling/Enabling softdevice with a button</title><link>https://devzone.nordicsemi.com/thread/37887?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 12:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22aa6997-c608-451a-be82-bebcc3a6ce57</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What function returns the error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling/Enabling softdevice with a button</title><link>https://devzone.nordicsemi.com/thread/37888?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2015 12:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d127ea32-5d57-440e-9254-f30afd61dca6</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;When you disable the stack, you also clear all memory regions used by the stack and the protocol extension (in this case BLE). In other words, the entire GATT database has been removed.&lt;/p&gt;
&lt;p&gt;When you enable the stack, you need to both re-enable the stack extension (sd_ble_enable) and initialize the GATT database with the required services and characteristics.&lt;/p&gt;
&lt;p&gt;To stop the stack you only need to call &amp;quot;sd_softdevice_disable&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>