<?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>Further details of buffering notifications and indications</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11979/further-details-of-buffering-notifications-and-indications</link><description>Hi, 
 I&amp;#39;m using the S110 v7.10 to implement a service with an RACP, amongst other things. I&amp;#39;m supporting multiple transmissions per connection interval. This is working fairly well at the moment but has a minor timing issue. Before I try to fix it, I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2016 12:46:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11979/further-details-of-buffering-notifications-and-indications" /><item><title>RE: Further details of buffering notifications and indications</title><link>https://devzone.nordicsemi.com/thread/45343?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 12:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ea02df-213d-432b-80e5-b42e27da2319</guid><dc:creator>Carl</dc:creator><description>&lt;p&gt;Thanks, that&amp;#39;s a great, thorough answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further details of buffering notifications and indications</title><link>https://devzone.nordicsemi.com/thread/45342?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 14:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:057cb733-6215-474b-a1d4-4ec8ccaa03a6</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you successfully queue a notification or indication it is sent as soon as possible. This normally means the next connection interval if there are no restrictions on the peer (also for indications if there are no outstanding unacknowledged indications), however if you are transmitting multiple packets the amount of notifications that can be sent in one event depends on the peer as well. This means that if you queue 6 packets and the peer can only receive one, it will take 6 connection events to empty the buffer.&lt;/p&gt;
&lt;p&gt;Buffers are served first in first out. so if you queue a notification immediately followed by an indication, the notification will be transmitted first, and the indication as soon as the notification has been received by the peer. The notification will be transmitted until it&amp;#39;s acked by the peer (NESN and SN is incremented) or the connection times out.&lt;/p&gt;
&lt;p&gt;If the connection is lost you will not get a TX_COMPLETE event. Instead you will get a disconnected event and can considered the buffers purged for the given connection upon receiving this event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further details of buffering notifications and indications</title><link>https://devzone.nordicsemi.com/thread/45341?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2016 17:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af50d349-675d-4ed0-927b-e05dfec6d09a</guid><dc:creator>Carl</dc:creator><description>&lt;p&gt;Further on the last bullet point about TX_COMPLETE. The documentation for &amp;quot;sd_ble_tx_buffer_count_get&amp;quot; suggests that buffers should be tracked from &amp;quot;boot time&amp;quot;. I think they should probably be tracked on a per-connection basis instead (i.e. the counter should be reset on every new connection). This is supported by the answer for one of the other questions linked to in the question, which says that for the s120 and s130 buffers are per-link rather than global.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>