<?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>52832 center to discover 2 service UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53618/52832-center-to-discover-2-service-uuid</link><description>use sdk:11.0 
 Reference routine：ble_nus_c 
 now I use 52832 to connect a device,the service UUID like the photo. 
 
 when I only discover one service UUID,like this code 
 
 the center can connect the device,and send some command to control the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2019 11:05:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53618/52832-center-to-discover-2-service-uuid" /><item><title>RE: 52832 center to discover 2 service UUID</title><link>https://devzone.nordicsemi.com/thread/216578?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 11:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f001b46c-81ca-4eca-82f1-3034d7afe6de</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please read this tutorial on how to catch errors and assert, to find the actual file name, line number and error code that caused it.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/an-introduction-to-error-handling-in-nrf5-projects"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/an-introduction-to-error-handling-in-nrf5-projects&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default the error handler is setup to reset the chip to safely recover, and this make sense for an end-product, however during development it is more useful to define DEBUG to catch such errors so you fix them. In your case the problem may be that you have not initialized the softdevice to support more than 1 vendor specific UUID, e.g.:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;p_ble_enable_params-&amp;gt;common_enable_params.vs_uuid_count = ??&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, is there any particular reason why you are working on an old SDK such as v11? The latest is nRF5 SDK v16. You should be aware that the system_nrf52.c file in SDK v11 is missing workaround for errata_108(), so this file should at least be updated from SDK v16 if you intend to continue work with SDK v11.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>