<?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>Usage of S132 v4.0.x ble-features</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22044/usage-of-s132-v4-0-x-ble-features</link><description>Hello, 
 I just went through the release-notes of the S132 and found a passage that the s132_nrf52_4.0.0-1.alpha introduced some new ble-features like f.ex. the role-configuration for up to 20 links individually. 
 It also states that the hvn-queue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 May 2017 11:34:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22044/usage-of-s132-v4-0-x-ble-features" /><item><title>RE: Usage of S132 v4.0.x ble-features</title><link>https://devzone.nordicsemi.com/thread/86514?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 11:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d1a8990-2d96-435d-b7d9-33fc1b8bd95a</guid><dc:creator>Ray Breslin</dc:creator><description>&lt;p&gt;Thank you very much for the fast response! Ill make sure to check it out :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usage of S132 v4.0.x ble-features</title><link>https://devzone.nordicsemi.com/thread/86513?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 09:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ed7c0e-0da9-4bde-be61-51965e80aa03</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I just went through the release-notes
of the S132 and found a passage that
the s132_nrf52_4.0.0-1.alpha
introduced some new ble-features like
f.ex. the role-configuration for up to
20 links individually.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That is correct, SoftDevice S132 v4.0.X added support for 20 connections, where you can freely configure each link in any combination between Peripheral and Central.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Q1&lt;/strong&gt;: It also states that the hvn-queue-size could be configured - does that mean that while having a tx-packet-count of 7 for each connection, I am able to still queue more then 7 notifications before I receive a BLE_ERROR_NO_TX_BUFFERS-error?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A1&lt;/strong&gt;: The application packet concept has been replaced with a dedicated transmission queue for Handle Value Notifications. The number of Handle Value Notifications that can be queued is configured by &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v5.0.0/structble__gatts__conn__cfg__t.html?cp=2_3_1_0_0_2_4_4_0"&gt;ble_gatts_conn_cfg_t::hvn_tx_queue_size&lt;/a&gt;. When the queue is full, the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html?cp=2_3_0_1_1_2_4_2_4#ga313fe43c2e93267da668572e885945db"&gt;function&lt;/a&gt; call will now return &lt;code&gt;NRF_ERROR_RESOURCES&lt;/code&gt;. &lt;code&gt;BLE_ERROR_NO_TX_PACKETS&lt;/code&gt; / &lt;code&gt;BLE_ERROR_NO_TX_BUFFERS&lt;/code&gt;  is no longer used.
A &lt;code&gt;BLE_GATTS_EVT_HVN_TX_COMPLETE&lt;/code&gt; event will be issued as soon as the transmission of the notification is complete.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Q2&lt;/strong&gt;: So far I couldnt find some description on how to make use of all those new softdevice-feature - do I need a new SDK (currently v12.2.0) for it?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A2&lt;/strong&gt;: Yes, you need to upgrade to SDK 13, as shown in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/compatibility_matrix/ic_rev_sdk_sd_comp_matrix.html?cp=2_0_1_2"&gt;compatibility matrix&lt;/a&gt;. There are also new examples that shows you how to use the new functionality, such as the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_multiperipheral.html?cp=4_0_0_4_1_2_19"&gt;BLE Multiperipheral Application&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>