<?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>Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27628/changing-hvn_tx_queue_size-with-s132-v5-1</link><description>I am using S132 V5.1 in combination with nRF5 14.2, and I cannot find where I can set hvn_tx_queue_size. 
 We are using the new option to configure the softdevice using the sdk_config.h file, thus 
 uint32_t sd_ble_cfg_set (uint32_t cfg_id, ble_cfg_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Nov 2017 10:17:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27628/changing-hvn_tx_queue_size-with-s132-v5-1" /><item><title>RE: Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/thread/109111?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 10:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfde90dd-22d6-435b-9737-cf7bc755d4f3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;sd_ble_opt_set()? I&amp;#39;m not following.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/thread/109110?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 16:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59cffb15-5834-486e-b4e3-8af6ff3e2b79</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;Ok, thanks for the help.
We will stick with the procedure you recommended of modifying some of the config details afterwards.
Would sd_ble_opt_set() be able to serve the same purpose in our case?
If so, I will use that since it is clearer upon reading that no other config details will be modified when calling it other than the one specified.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/thread/109109?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 09:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89e3b719-8b95-4095-9de9-43824782bfec</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It shouldn&amp;#39;t override all settings. It should only override the GATTS connection configuration, since BLE_CONN_CFG_GATTS is used as configuration ID. It is up to you if you want to use nrf_sdh_ble_default_cfg_set() or not, you can set up everything manually, or you can call nrf_sdh_ble_default_cfg_set() and modify some of the configurations afterwards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/thread/109108?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 09:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e7b45d-ef8c-430f-93ff-221e246c8d2b</guid><dc:creator>Kyle Krueger</dc:creator><description>&lt;p&gt;Ok, looks easy enough.&lt;/p&gt;
&lt;p&gt;However, the documentation sounds like this will override all settings from nrf_sdh_ble_default_cfg_set() which we have defined in our app_config.h.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;If a configuration is set more than once, the last one set is the one that takes effect on sd_ble_enable.
Any part of the BLE stack that is NOT configured with sd_ble_cfg_set will have default configuration.&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Does this mean we shouldn&amp;#39;t bother to use nrf_sdh_ble_default_cfg_set() in the first place? I expected that it was the new paradigm to be using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing hvn_tx_queue_size with S132 V5.1</title><link>https://devzone.nordicsemi.com/thread/109107?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 19:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cd72b9a-2ced-4e23-a98b-9464de68b9c8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Just do something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;memset(&amp;amp;ble_cfg, 0, sizeof ble_cfg);
ble_cfg.conn_cfg.conn_cfg_tag                     = conn_cfg_tag;
ble_cfg.conn_cfg.params.gatts_conn_cfg.hvn_tx_queue_size = 4;
err_code = sd_ble_cfg_set(BLE_CONN_CFG_GATTS, &amp;amp;ble_cfg, ram_start);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After you have called nrf_sdh_ble_default_cfg_set().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>