<?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 Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51417/primary-services-discovery-fails-after-8-connects</link><description>Hey All, 
 
 I&amp;#39;m using the nrf52840 for gathering device information from Bluetooth devices having an nrf52 chip on board. The application runs through connect/disconnect routines, on a unique server every time, and I&amp;#39;m using the sd_ble_gattc_primary_services_discover</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Sep 2019 19:38:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51417/primary-services-discovery-fails-after-8-connects" /><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/209033?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 19:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db66c6e9-6bc5-4892-ac8a-9623fb3cee01</guid><dc:creator>EvanJohnson</dc:creator><description>&lt;p&gt;Hey Kenneth,&lt;/p&gt;
&lt;p&gt;Sorry for not replying earlier. The basis of this app is the example experimental\ble_app_interactive on the SDK mentioned previously. The issue was with a seg fault in primary_services_discovery_rsp handler. If you want to look into it for fixing the&amp;nbsp;example you can, but my issue is resolved now.&lt;/p&gt;
&lt;p&gt;Thanks for pushing me to get the J-link debugger up and working, it helped.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/209030?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 19:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bf11fd-edb5-4084-9952-0d3eec7c4f62</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do I understand it correctly that enabling&lt;span&gt;&amp;nbsp;debugging and fault handler still doesn&amp;#39;t catch any issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can you provide a description of how I may recreate your setup here?&amp;nbsp;For instance can I use the&amp;nbsp;\ble_app_multilink_central example in the SDK to recreate the same?&lt;/p&gt;
&lt;p&gt;Any change if you modify&amp;nbsp;NRF_SDH_BLE_CENTRAL_LINK_COUNT or&amp;nbsp;NRF_SDH_BLE_TOTAL_LINK_COUNT?&lt;/p&gt;
&lt;p&gt;Looking at&amp;nbsp;discovery_start() I can find that the error code from&amp;nbsp;sd_ble_gattc_primary_services_discover() isn&amp;#39;t really checked or forwarded in any way, the function will actually always return&amp;nbsp;NRF_SUCCESS. Can you print out the actual err_code when calling&amp;nbsp;sd_ble_gattc_primary_services_discover()?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/208983?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 13:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cef373b-3766-47b9-aedf-ecd459a0e22f</guid><dc:creator>EvanJohnson</dc:creator><description>&lt;p&gt;Kenneth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems there was a seg fault in NRF_CLI_HISTORY. Let&amp;#39;s disregard this, and get back to the issue of the softdevice not returning an event, then&amp;nbsp;fatally errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/208737?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 14:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:784a1839-44bf-470c-b592-dc48f4b20c35</guid><dc:creator>EvanJohnson</dc:creator><description>&lt;p&gt;Kenneth,&lt;/p&gt;
&lt;p&gt;For some reason after enabling debugging for the J-link, I&amp;#39;m now very consistently getting errors with the nrf_cli. Here&amp;#39;s the call chain:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568039541480v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Any ideas why this would be...?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/206534?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 08:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dd60b54-59f8-42a5-a95e-0deb44ada5d7</guid><dc:creator>Kenneth</dc:creator><description>[quote user="EvanJohnson"]I may resort to soldering a header onto the dongle to debug the app over SES. Let me know what you suggest.[/quote]
&lt;p&gt;I think that is the best suggestion.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/206438?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 15:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7c341ec-b398-4771-a4c1-e40db2b0cc55</guid><dc:creator>EvanJohnson</dc:creator><description>&lt;p&gt;Hey Kenneth,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 15.0.3 with sd140. Hardfault handler is enabled, but doesn&amp;#39;t seem to catch the fault when the application quits. I could possibly be missing something.&lt;/p&gt;
&lt;p&gt;I may resort to soldering a header onto the dongle to debug the app over SES. Let me know what you suggest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primary Services Discovery Fails After 8 Connects</title><link>https://devzone.nordicsemi.com/thread/206258?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 08:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa15ca06-8df2-465e-9a68-ae51f2642724</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK + SD are you using?&lt;/p&gt;
&lt;p&gt;Can you enable debugging and fault handler so you may find the exact file name, line number and error code?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>