<?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 discovery problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59490/db-discovery-problem</link><description>Hello Nordic! 
 I&amp;#39;m developing with nrf52840, s340, sdk 15.3.0, gcc-arm-none-eabi-7-2018-q2 in my customboard. 
 Recently, I am making ble central module. 
 I can scan and connect a lot of sensors. 
 However, If I call &amp;#39;ble_db_discovery_start&amp;#39; multiple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Mar 2020 13:21:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59490/db-discovery-problem" /><item><title>RE: DB discovery problem</title><link>https://devzone.nordicsemi.com/thread/241845?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 13:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a0a199-0069-4dd7-aa8e-e3aba4f2731b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;It might be that all you need to do is to replace the ble_db_discovery.c and .h files in SDK15.3 with the SDK16.0.0 versions. I can&amp;#39;t confirm this though, as there might be some defines and functions that make calls to other files and headers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB discovery problem</title><link>https://devzone.nordicsemi.com/thread/241744?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 09:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01f26066-f484-4387-aab4-613a34932e87</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;Ok, I will try to change it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just want to change discovery module. However, I don&amp;#39;t know what to change.&lt;/p&gt;
&lt;p&gt;Can you inform it to me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB discovery problem</title><link>https://devzone.nordicsemi.com/thread/241723?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 07:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a6f7da-eab0-40ad-8ec9-edbb8329d4f0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There are quite a few bugs with the discovery module that has been fixed in SDK v.16.0.0 from v.15.3.0. I suggest you either port your project to SDK 16.0.0 or try to implement the changes to the discovery module in your current project.&lt;/p&gt;
&lt;p&gt;Please see the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/index.html"&gt;release notes of SDK 16&lt;/a&gt; to see the exact updates.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB discovery problem</title><link>https://devzone.nordicsemi.com/thread/241616?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 13:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae67cc2-d7a5-4e97-ae26-7a7175d02e66</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;I register speed and cadence, heart, and power service from ble_db_discovery_evt_register.&lt;/p&gt;
&lt;p&gt;If I try to connect two sensors and start db discovery almost simultaneously , first has speed and cadence services, second has power and speed and cadence.&lt;/p&gt;
&lt;p&gt;So I can get&amp;nbsp;&lt;em&gt;BLE_DB_DISCOVERY_COMPLETE&lt;/em&gt;&lt;span&gt;&amp;nbsp; of first sensor of service(speed and cadence).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, I can sometimes get&amp;nbsp;&lt;em&gt;BLE_DB_DISCOVERY_COMPLETE&lt;/em&gt;&amp;nbsp;&amp;nbsp;of second sensor of one service(speed and cadence or power)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I always want to get all services.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB discovery problem</title><link>https://devzone.nordicsemi.com/thread/241612?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 13:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a0f26a-0369-420a-ab57-8d590cdde46b</guid><dc:creator>Simonr</dc:creator><description>[quote user=""]I can not find all services in one sensor for a long time.[/quote]
&lt;p&gt;&amp;nbsp;What do you mean about &amp;quot;long time&amp;quot; here? Are you sometimes able to discover the services, and sometimes not? Could it be that the services you can&amp;#39;t find are already found by the central when you call ble_db_discovery_start? Please check out the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__ble__db__discovery.html"&gt;Database discovery documentation&lt;/a&gt; if you haven&amp;#39;t already, to see how it should be implemented and used.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>