<?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>BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94909/ble-rscs-transmission-interval</link><description>Hi there, 
 I am trying to set up a BLE communication between a central and a peripheral. For this I have succesfully used the nRF RSCS example from Nordic. But the problem is now that with this example the central gets notifications with just 1Hz. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Dec 2022 10:28:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94909/ble-rscs-transmission-interval" /><item><title>RE: BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/thread/401474?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 10:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22045064-502b-4751-9ff5-0d48c043c090</guid><dc:creator>MinervaAirbagSystems</dc:creator><description>&lt;p&gt;I fixed it. I adjusted MIN_CONNECTION_INTERVAL and MAX_CONNECTION_INTERVAL. And now there is notification on central about every 10ms. &lt;pre class="ui-code" data-mode="text"&gt;#define MIN_CONNECTION_INTERVAL         (uint16_t) MSEC_TO_UNITS(7.5, UNIT_1_25_MS)     /**&amp;lt; Determines minimum connection interval in milliseconds. */
#define MAX_CONNECTION_INTERVAL         (uint16_t) MSEC_TO_UNITS(10, UNIT_1_25_MS)      /**&amp;lt; Determines maximum connection interval in milliseconds. */
#define SLAVE_LATENCY                   0                                               /**&amp;lt; Determines slave latency in terms of connection events. */
#define SUPERVISION_TIMEOUT             (uint16_t) MSEC_TO_UNITS(4000, UNIT_10_MS)       /**&amp;lt; Determines supervision time-out in units of 10 milliseconds. */
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/thread/401453?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 09:49:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:843c1c29-7813-4352-a0db-1bf193d5c01c</guid><dc:creator>MinervaAirbagSystems</dc:creator><description>&lt;p&gt;Oh I see. I am getting NRF_ERROR_RESSOURCES most of the time. I get NRF_SUCCESS just every full second.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where is handled how often central is checking for notifications?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I mean the problem seems to be that peripheral is queuing too many notifications, when updating every 5ms. So is it possible to let the central check more often for notifications?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/thread/401444?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 09:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b592172-603d-4a6e-8998-e8fb4527bbef</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The short answer to your question is that data is sent from the GATT server to the GATT client every time the sd_ble_gatts_hvx() api is called, so calling this more frequently will send it more frequently:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___g_a_t_t_s___h_v_n___m_s_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___g_a_t_t_s___h_v_n___m_s_c.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/thread/401428?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 08:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571f1a43-d47e-4721-96cf-019fd83b70e2</guid><dc:creator>MinervaAirbagSystems</dc:creator><description>&lt;p&gt;Hi Kenneth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for your answer!&amp;nbsp;I checked nRF Connect SDK, but I didn&amp;acute;t get the benefit. The biggest benefit I can see, is that I can use it with VS, which is really nice. But I don&amp;acute;t see how this help me with my problem?&lt;/p&gt;
&lt;p&gt;Right now I am using an nRF throughput example (ble_app_rscs) and it is basically working fine. My only problem is that the central is just getting a notification every single second, but I am updating on the peripheral every 200ms.&lt;/p&gt;
&lt;p&gt;I found this documentation (&lt;a href="https://www.bluetooth.com/specifications/specs/running-speed-and-cadence-service-1-0/"&gt;Running Speed and Cadence Service &amp;ndash; Bluetooth&amp;reg; Technology Website&lt;/a&gt;). There they in &amp;quot;Running Speed And Cadence Service 1.0&amp;quot; on page 11 at point 3.1.1.6 Transmission Interval: &amp;quot;In typical applications, the RSC Measurement characteristic is notified approximately once per second. The Total Distance field, if supported, is typically included in the RSC Measurement characteristic for transmission approximately once every 2 or 3 seconds. These intervals may vary and are determined by the Server and are not required to be configurable by the Client.&amp;quot;&lt;/p&gt;
&lt;p&gt;And my question is now: Can I change this transmission interval?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE RSCS transmission interval</title><link>https://devzone.nordicsemi.com/thread/400867?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 14:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2a20f49-85bf-4ea4-abac-d5eec4198be9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The throughput will depend on the conneciton interval, the size of the payloads and how frequently you are transmitting the notifications from the peripheral device. I notice you are likely working on the nRF5 SDK in this case, howevever for new development you should really consider the nRF Connect SDK, new features are only introduced on the nRF Connect SDK moving forward.&lt;/p&gt;
&lt;p&gt;Both the nRF5 SDK and nRF Connect SDK should have throughput examples that can be used as reference on how to transmit data more frequently.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>