<?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>Primary services discovery stuck</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6751/primary-services-discovery-stuck</link><description>Hello everyone, 
 I have two nRF51822 (PCA10024) which I want to communicate, one is a peripheral s110 and working properly with a batery service and a custom service, and the other is a central multilink (the example) s120. I have some trouble on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 May 2015 09:35:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6751/primary-services-discovery-stuck" /><item><title>RE: Primary services discovery stuck</title><link>https://devzone.nordicsemi.com/thread/23707?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 09:35:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a07b49b3-3037-47e6-83df-65aa466e7ce8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I just tested this with SoftDevice S120 2.0.0 and ble_app_hrs_c in SDK 8.0.0, it seems to be working fine. What SoftDevice and SDK version are you using? So you hit the breakpoint if you put it on &lt;code&gt;m_dm_device_handle = (*p_handle);&lt;/code&gt; but not if you put it on &lt;code&gt;err_code=ble_db_discovery_start(m_ble_db_discovery,p_event-&amp;gt;event_param.p_gap_param-&amp;gt;conn_handle);&lt;/code&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary services discovery stuck</title><link>https://devzone.nordicsemi.com/thread/23706?ContentTypeID=1</link><pubDate>Tue, 05 May 2015 13:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5317098a-e4df-499d-8cb7-fc2967b48f54</guid><dc:creator>Th&amp;#233;o</dc:creator><description>&lt;p&gt;Well, I didn&amp;#39;t change anything, but I had to remove the bsp_indication_set(...) instructions because it doesn&amp;#39;t work on my PCA10024. In fact, I managed to know that the line m_dm_device_handle = (*p_handle) is the one making the program stuck. I click run and the debug led just keeps blinking but nothing happens ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary services discovery stuck</title><link>https://devzone.nordicsemi.com/thread/23705?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 13:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcea074d-3530-4d18-95c7-5eb8a144282c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you edit your question to include the code you changed in the example? What do you mean by gets stuck? Does it return an error? If so, add a breakpoint and check what the error code is (remember to turn set optimizations to Level 0 to see the error code).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>