<?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>How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10557/how-big-is-the-event-buffer-of-the-softdevice</link><description>Hello, 
 I am using am using sd_ble_evt_get and sd_app_evt_wait in an endless loop for handling all incoming events.
If I block this loop from executing, I&amp;#39;d expect that some events are lost at one point. So my question is, how big is the event buffer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Dec 2015 14:00:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10557/how-big-is-the-event-buffer-of-the-softdevice" /><item><title>RE: How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/thread/39282?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 14:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72ac1f6a-23c3-4ada-a80d-5a44509f3e49</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;The disconnect will also be retransmitted by the initiator a certain amount of times. If it cannot get the disconnect packet through, it will time out and just drop the connection. In your end, you will then never receive the disconnect, but receive a supervision timout on the connection. The incoming advertisements will be lost if all event buffers are full. I am not sure if a separate event buffer is set only for advertising though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/thread/39281?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 12:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827b6a92-7e99-4eb9-b827-6fe7bcdccb80</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;What happens with other events? Say: The Softdevice received 6 packets and its buffers are full, afterwards, the link is disconnected. Will the disconnect event be lost? And what about events such as incoming advertising data that do not directly belong to a link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/thread/39280?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 12:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:846c31eb-7749-4da6-b605-3b0d0a5176d3</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;For the Softdevice S130, it is 6 events per link. If this buffer is full, the softdevice will start NACK&amp;#39;ing incoming BLE packets. These packets will be retransmitted until they are successfully sent. They will therefore not be lost.&lt;/p&gt;
&lt;p&gt;-Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/thread/39284?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 14:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c2bb9af-111c-49f7-b861-153d1a64d386</guid><dc:creator>Marius Heil</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;that&amp;#39;s the way I&amp;#39;m doing event handling right now and it works, so I don&amp;#39;t want to change it right now without any reason to do so. It&amp;#39;s one of the proposed methods of the nordic SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How big is the event buffer of the SoftDevice</title><link>https://devzone.nordicsemi.com/thread/39283?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 13:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb491a2a-5c15-4f51-8a6c-bfdc7fab643c</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;I don&amp;#39;t know abput buffer, but why don&amp;#39;t you use scheduler to buffer those events? You can change scheduler queue size in app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>