<?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>Central vs Peripheral performance in dual concurrent role</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52194/central-vs-peripheral-performance-in-dual-concurrent-role</link><description>During some FA on a customer complaint on a pre-production system it was found that delays in receiving HVX notifications on the central side were linked to having a currently connected link on the peripheral side. Are there any QoS parameters I can set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Sep 2019 08:34:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52194/central-vs-peripheral-performance-in-dual-concurrent-role" /><item><title>RE: Central vs Peripheral performance in dual concurrent role</title><link>https://devzone.nordicsemi.com/thread/210313?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 08:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b34740-dcd8-4dcd-8f9f-15554e783196</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. As mentioned in my initial reply there is, unfortunately, no way to tune the SoftDevice scheduling priority, so you have to try to solve this in another way, tweaking other parameters like you have been doing. I cannot say whether this will be enough of not though, as&amp;nbsp;you are dealing with a difficult 3rd party peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central vs Peripheral performance in dual concurrent role</title><link>https://devzone.nordicsemi.com/thread/210157?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 13:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dbc23de-3dfe-42cb-9f72-eb4c86c542f5</guid><dc:creator>Jim Dattolo</dc:creator><description>&lt;p&gt;&lt;span&gt;Einar,&amp;nbsp; the link is getting dropped on &amp;quot;policy&amp;quot; it was added to the 3rd party peripheral to save on battery, all connections can last no more than 2 seconds now;&amp;nbsp; it has zero to do with supervision timeout.&amp;nbsp; I have zero say over their peripheral as it&amp;#39;s a released class 2 medical device.&amp;nbsp; The new &amp;quot;feature&amp;quot; was added and introduced product complaints on my class 2 medical device that is currently in clinical trials.&amp;nbsp; I&amp;#39;m trying to rectify this and need ideas on how to make sure that concurrent&amp;nbsp;dual roles don&amp;#39;t interfere with this new feature.&amp;nbsp; &amp;nbsp;Adding 120ms to&amp;nbsp;most HVX responses from the peripheral seems waaaaaaay to much delay.&amp;nbsp; &amp;nbsp;I can solve this by simply requesting less information from the peripheral but if there is a way to tune the system that would be preferable&amp;nbsp;as after the 2 seconds are up I cannot connect for another 5 minutes as per the peripheral &amp;quot;policy&amp;quot; or they will immediately drop the link.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central vs Peripheral performance in dual concurrent role</title><link>https://devzone.nordicsemi.com/thread/210090?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 11:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0b959e0-201e-4199-8dbf-44c83ff8208a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Are there any QoS parameters I can set to control where time is allocated?[/quote]
&lt;p&gt;The SoftDevice is responsible for scheduling all BLE events, and the more is happening concurrently, the more often there will be &amp;quot;collisions&amp;quot;, where you would like something to happen simultaneously on both links. You can see how the scheduling operates in the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/multilink_scheduling/multilink_scheduling.html?cp=3_4_2_0_14"&gt;Scheduling chapter in the SDS&lt;/a&gt;. The priorities are documented &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/multilink_scheduling/priorities_and_events_intro.html?cp=3_4_2_0_14_0"&gt;here&lt;/a&gt;, but there is no API for tweaking the scheduling.&lt;/p&gt;
[quote user=""]Any ideas?&amp;nbsp;[/quote]
&lt;p&gt;I don&amp;#39;t know why the 3rd party peripheral drops the link, and that may have something to say for how you should go about solving this. Generally, tweaking connection parameters are sensible. Is the link dropped because the nRF skips some connection events? If so, perhaps using a higher supervision timeout is sensible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>