<?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>sd_ble_enable returns error code 5</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3101/sd_ble_enable-returns-error-code-5</link><description>I&amp;#39;m trying the ble_app_hrs example on a custom nRF51822 board with s110 6.0.0 softdevice. 
 Debugging in Keil, the firmware runs fine up to ble_stack_init(). Within ble_stack_init() the call to sd_ble_enable(&amp;amp;ble_enable_params); returns error code 5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Sep 2014 16:00:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3101/sd_ble_enable-returns-error-code-5" /><item><title>RE: sd_ble_enable returns error code 5</title><link>https://devzone.nordicsemi.com/thread/11518?ContentTypeID=1</link><pubDate>Mon, 22 Sep 2014 16:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65221079-e842-4dfd-b7a2-5c9074f87eed</guid><dc:creator>Jules</dc:creator><description>&lt;p&gt;Hello !&lt;/p&gt;
&lt;p&gt;I am having the same problem but using SDK v6.0 and SoftDevice 7.0.0-3.
Is it really safe to comment out the block ? Will the ble stack be enabled ?
I have read somewhere that the SOFTDEVICE_HANDLER_INIT macro would enable it but I would like confirmation.&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns error code 5</title><link>https://devzone.nordicsemi.com/thread/11517?ContentTypeID=1</link><pubDate>Sun, 13 Jul 2014 23:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc943199-decc-450d-8e63-d79437af61c6</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Thanks Ulrich ..now that explains a lot of strange behavior I was finding!&lt;/p&gt;
&lt;p&gt;I had completely assumed that SDK 6.0.0 refers to S110 6.0.0 ...thought the version numbers simply followed each other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns error code 5</title><link>https://devzone.nordicsemi.com/thread/11516?ContentTypeID=1</link><pubDate>Sun, 13 Jul 2014 22:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7c18658-2c28-46c2-9bf5-07c38037bc48</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;The SDK v6.0 is for S110 version 7.0.0. If you are using the S110 6.0.0 you have to use SDK version 5.2. The API call sd_ble_enable() does not exist in 6.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns error code 5</title><link>https://devzone.nordicsemi.com/thread/11515?ContentTypeID=1</link><pubDate>Sat, 12 Jul 2014 16:17:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecbbf9ce-4aff-4d83-8cb8-2cdd063c334b</guid><dc:creator>George</dc:creator><description>&lt;p&gt;it seems I have found a solution ...I commented out the complete code block shown in my post above and now it works as expected.&lt;/p&gt;
&lt;p&gt;Why is this so ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>