<?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>Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82584/enable-disable-slave-latency-using-nrf-connect-sdk-zephyr-bt-stack-on-nrf52840</link><description>Hello, 
 I have an interest in reproducing within Zephyr (and nRF5 SDK) a specific behaviour that was possible to implement with the classic SoftDevice API, running on a nRF52 chip. Is there a way with Zephyr BT Stack to force the Link Layer to &amp;quot;ignore</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Dec 2021 09:04:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82584/enable-disable-slave-latency-using-nrf-connect-sdk-zephyr-bt-stack-on-nrf52840" /><item><title>RE: Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/thread/343078?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 09:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6712fd2b-a77c-45a0-8183-17c8e705f3e1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have discussed with the R&amp;amp;D team responsible for our BLE stack and have created a feature request for it. I cannot say if or when this will be supported in nRF Connect SDK, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/thread/342992?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 18:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47815f6a-be83-4070-bceb-a8a778aa37a3</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hello again Einar,&lt;/p&gt;
&lt;p&gt;it would be really important to understand this in more details and check if there&amp;#39;s any plan to have this feature baked-in on a future release or not.&lt;/p&gt;
&lt;p&gt;Please keep me posted on this thread if you have any update.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/thread/342991?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 18:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14802f1d-99e3-4205-b7cd-d9fba7ffe8b9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ah, I see. I did not remember what the&amp;nbsp;&lt;span&gt;BLE_GAP_OPT_SLAVE_LATENCY_DISABLE does, so I made a wrong assumption before answering&amp;nbsp;(to be honest I do not recall ever seeing it used before).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do not believe there is any way to get the same behavior&amp;nbsp;in the nRF Connect SDK (regardless of using Zephyr or SoftDevice BLE controller). I&amp;nbsp;have started a discussion&amp;nbsp;with our BLE stack development team though, and update here if they see a way to do it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/thread/342940?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 13:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b5bb63d-fd09-4e75-ab78-416493b17c03</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Dear Einar,&lt;/p&gt;
&lt;p&gt;this is not what I&amp;#39;m looking for.&lt;/p&gt;
&lt;p&gt;Our device is only peripheral AND in this issue the connection is &lt;strong&gt;already&lt;/strong&gt; established (with a specific set of parameters).&lt;br /&gt;One of them is Slave Latency, that in our case cannot be 0.&lt;/p&gt;
&lt;p&gt;What we want is being able to toggle Slave Latency on and off, so that we can be more &amp;quot;reactive&amp;quot; in specific cases (e.g. before pairing) but then going back to &amp;quot;low power&amp;quot; without renegotiating the whole sets of parameters.&lt;/p&gt;
&lt;p&gt;Now, this behaviour was perfectly possible using the option&amp;nbsp;&lt;span&gt;BLE_GAP_OPT_SLAVE_LATENCY_DISABLE&amp;nbsp;and&amp;nbsp;&lt;em&gt;sd_ble_opt_set&lt;/em&gt;&amp;nbsp;API with SoftDevice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It would be weird to know this has not being ported to Zephyr BT subsystem (+Nordic SD Controller) in some form.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you tell me if there&amp;#39;s an equivalent?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable/Disable Slave Latency using nRF Connect SDK + Zephyr BT Stack on nRF52840</title><link>https://devzone.nordicsemi.com/thread/342935?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 13:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c18cd6a-780e-47aa-b142-a9cbc30f2469</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;div&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Are you making a peripheral&amp;nbsp;or central? &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;For the central you decide the connection parameters and most examples use &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/4c5893f9683681bc7c63312a18a0f7af39a483ce/include/bluetooth/conn.h#L74"&gt;BT_LE_CONN_PARAM_DEFAULT&lt;/a&gt;, where the slave latency is 0.&amp;nbsp;If you want other values you should make your own&amp;nbsp;&lt;code&gt;bt_le_conn_param&lt;/code&gt; instance, for instance&amp;nbsp;using&amp;nbsp;&lt;code&gt;BT_LE_CONN_PARAM_INIT&lt;/code&gt;, and use that in the&amp;nbsp;&lt;code&gt;bt_scan_init_param&lt;/code&gt; instance you pass to&amp;nbsp;&lt;code&gt;bt_scan_init()&lt;/code&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;If you are making a peripheral you can specify the preferred&amp;nbsp;slave latency using &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/kconfig/CONFIG_BT_PERIPHERAL_PREF_SLAVE_LATENCY.html"&gt;CONFIG_BT_PERIPHERAL_PREF_SLAVE_LATENCY&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>