<?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>db_disc_handler Repeated invalidly and System Reset at NUS Service Discovery in Multi-Link Central with NUS-c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38297/db_disc_handler-repeated-invalidly-and-system-reset-at-nus-service-discovery-in-multi-link-central-with-nus-c</link><description>Hardware: nRF 52840 DK (PCA1005) 
 Software: nRF5_SDK_15.0.0_a53641a, s140_nrf52_6.1.0 
 Development Software: Keil v5.23 in Win7 
 Project file: 
 ------------------------------------------------------------------------------------------------------</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 08 Sep 2018 10:05:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38297/db_disc_handler-repeated-invalidly-and-system-reset-at-nus-service-discovery-in-multi-link-central-with-nus-c" /><item><title>RE: db_disc_handler Repeated invalidly and System Reset at NUS Service Discovery in Multi-Link Central with NUS-c</title><link>https://devzone.nordicsemi.com/thread/147875?ContentTypeID=1</link><pubDate>Sat, 08 Sep 2018 10:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcaff08f-12c2-45dc-99aa-b015294eb33a</guid><dc:creator>Hansen Mi</dc:creator><description>&lt;p&gt;At the function db_discovery_init(), to add init code of conn_handle is to solve the trouble.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/** @brief Database discovery initialization.*/&lt;br /&gt;void db_discovery_init(void)&lt;br /&gt;{&lt;br /&gt; for (uint16_t i=0;i&amp;lt;NRF_SDH_BLE_CENTRAL_LINK_COUNT;i++)&lt;br /&gt; {&lt;br /&gt; m_db_disc[i].conn_handle=BLE_CONN_HANDLE_INVALID;&lt;br /&gt; }&lt;br /&gt; ret_code_t err_code = ble_db_discovery_init(db_disc_handler);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: db_disc_handler Repeated invalidly and System Reset at NUS Service Discovery in Multi-Link Central with NUS-c</title><link>https://devzone.nordicsemi.com/thread/147817?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 13:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7107394f-f3e2-46ad-a581-ac2b36170c24</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m unable to open your .rar file. Maybe it is corrupt?&lt;/p&gt;
&lt;p&gt;Anyway, have you debugged your code &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;like this&lt;/a&gt;? If your device resets it is most likely because one of your functions&amp;nbsp;have asserted. If you debug like shown in the link you might be able to find out which function asserts and why.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>