<?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>Confusion about BLE connection interval and how often the Peripheral will send data to the Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89540/confusion-about-ble-connection-interval-and-how-often-the-peripheral-will-send-data-to-the-central</link><description>Hi everyone, 
 
 Does anyone ever get confused about BLE connection interval? As explained in this post , it determines how often the Central will ask for data from the Peripheral (min 7.5 ms -- max 4 sec). For my application, I&amp;#39;m using a timer and set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Jul 2022 15:21:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89540/confusion-about-ble-connection-interval-and-how-often-the-peripheral-will-send-data-to-the-central" /><item><title>RE: Confusion about BLE connection interval and how often the Peripheral will send data to the Central</title><link>https://devzone.nordicsemi.com/thread/375149?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 15:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3e0eafb-1685-4cc9-a445-ace0fecd4056</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;It makes sense anh. I&amp;#39;ll definitely watch the video you suggested. Thank you for your answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion about BLE connection interval and how often the Peripheral will send data to the Central</title><link>https://devzone.nordicsemi.com/thread/375148?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 15:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85658d86-60d8-4edc-bd2c-bca21b8038bc</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks Zara for this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion about BLE connection interval and how often the Peripheral will send data to the Central</title><link>https://devzone.nordicsemi.com/thread/375035?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 09:17:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb04b3e7-b7aa-42d1-9957-3a876ba5b8b9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tai,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can watch a BLE tutorial &lt;a href="https://www.youtube.com/watch?v=BZwOrQ6zkzE"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Be noted that in each connection event (or in other words &amp;quot;in each connection interval&amp;quot;) the central will send a packet to the perpiheral. It&amp;#39;s not the central asking for data from the peripheral. It can be an empty packet from the central and if the peripheral has any data it can choose to send data otherwise it can send an empty packet back.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a way of keeping the connection alive. The slave can choose not to reply (slave latency) but it should reply (either with data or with empty packet) before the connection is terminated because of the inactivity timeout.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The handling of sending empty data or skip the responding (slave latency) is handled by the BLE stack so the application doesn&amp;#39;t need to handle this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In your case you send data every 10 seconds, so most of the time it will just reply to the central with empty packet and every 10seconds sending a data packet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Confusion about BLE connection interval and how often the Peripheral will send data to the Central</title><link>https://devzone.nordicsemi.com/thread/375030?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 09:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4fab4a5-6353-4221-afea-4e56bd469041</guid><dc:creator>Zara Wu </dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using timer_callback, the 10 seconds here can not be determined as how often the Peripheral will send the data to the Central.&lt;/p&gt;
&lt;p&gt;If no data is sent from the peripheral to the central, the BLE protocol also stipulates that heartbeat packets will be sent according to the connection interval settings.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt;BR./Zara Wu (RF-star technology)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>