<?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>What are the GATT database/profile Discovery&amp;#39;s Limits?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11705/what-are-the-gatt-database-profile-discovery-s-limits</link><description>In [sdk10_folder]\components\ble\ble_db_discovery.h , BLE_DB_DISCOVERY_MAX_SRV is given the value 2 . 
 In [sdk10_folder]\components\ble\common\ble_gatt_db.h , BLE_GATT_DB_MAX_CHARS is given the value 4 . 
 Are these limitation of the SoftDevice itself</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Feb 2016 07:58:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11705/what-are-the-gatt-database-profile-discovery-s-limits" /><item><title>RE: What are the GATT database/profile Discovery's Limits?</title><link>https://devzone.nordicsemi.com/thread/44257?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 07:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdaf8f9c-9e2d-4190-984f-418b437727c4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;There are no plans to create a generic discovery module, at least not as far as I know. The current version seems to cover most use cases, except the generic discovery. Note that you can discover 128 bit UUID&amp;#39;s using the &lt;a href="http://sd_ble_gattc_attr_info_discover"&gt;sd_ble_gattc_attr_info_discover&lt;/a&gt; function (introduced in S130/S132 v2).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the GATT database/profile Discovery's Limits?</title><link>https://devzone.nordicsemi.com/thread/44255?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 05:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845eac6c-bfed-4c82-afce-820424bc4483</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;After looking at the code I feel the same. Glad to hear your opinion agrees with mine. I am just posting this question to be sure that I would not break anything by modifying it. After all I don&amp;#39;t know the inner working of the SoftDevice besides what I could look up in the SDK documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the GATT database/profile Discovery's Limits?</title><link>https://devzone.nordicsemi.com/thread/44258?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 05:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ecbbcf-08c5-45b1-b7ad-070a7b0c90b4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Yes. I have read over the code for ble_db_discovery module and learned that I need a custom module to make a generic discovery. I actually just finished working on making a modified version of the ble_db_discovery module for that purpose.&lt;/p&gt;
&lt;p&gt;On other note, is there plan to introduce a module for generic discovery in future SDK version? Given the design of the ble_db_discovery module and the fact that discovery event only return 16-bit UUID instead of full 128-bit UUID, it feels like the SDK is intended more for application with specific GATT Profiles rather than any generic one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the GATT database/profile Discovery's Limits?</title><link>https://devzone.nordicsemi.com/thread/44256?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 13:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5d15cb-d6e2-4b5c-9e3a-3ecae2ea4bfc</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;These limits are set to limit the amount of memory used by the discovery manager, but they can be increased. However, if you want to create a generic discovery feature, you might want to create your own module as the DB module searches for registered UUID&amp;#39;s only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the GATT database/profile Discovery's Limits?</title><link>https://devzone.nordicsemi.com/thread/44254?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 10:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fcacd73-4f3b-4dbc-9fa5-6ad498e0addb</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;I know that BLE_DB_DISCOVERY_MAX_SRV can be updated to the value you need, 2 is just the default value. After looking at the use of BLE_GATT_DB_MAX_CHARS, I don&amp;#39;t see why this could not be updated to whatever value is required.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>