<?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>ble_db_discovery_start returns NRF_ERROR_BUSY for previously bonded device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24372/ble_db_discovery_start-returns-nrf_error_busy-for-previously-bonded-device</link><description>I am working off the ble_cts_c example, using SDK 14.0.0, SoftDevice S140, and nRF52840. 
 All works well when I pair a device for the first time: the nRF discovers services on the central device. 
 When I reset and connect to a previously bonded device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Aug 2017 16:43:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24372/ble_db_discovery_start-returns-nrf_error_busy-for-previously-bonded-device" /><item><title>RE: ble_db_discovery_start returns NRF_ERROR_BUSY for previously bonded device</title><link>https://devzone.nordicsemi.com/thread/95949?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 16:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c778f58b-2a2d-4e6d-af60-66e037955058</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Strange. Have you checked where the error originates from? Is it from this?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (p_db_discovery-&amp;gt;discovery_in_progress)
{
    return NRF_ERROR_BUSY;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or from somewhere else? Also, maybe &lt;a href="https://devzone.nordicsemi.com/question/111845/parallel-db-dyscovering-services-for-several-connections/"&gt;this&lt;/a&gt; is of interest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>