<?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>Disconnection time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24762/disconnection-time</link><description>Hello, 
 I&amp;#39;m trying to optimize my application : 
 I have a central (nRF52832 s132) which communicates for a short time to a peripheral (nRF51822 s130) and then disconnect.
The connection interval is 7.5ms, the communication last around 60ms. 
 After</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Sep 2017 16:10:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24762/disconnection-time" /><item><title>RE: Disconnection time</title><link>https://devzone.nordicsemi.com/thread/97525?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2017 16:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e62d86cd-2f74-4447-b909-60e7e757dd70</guid><dc:creator>Guillaume76</dc:creator><description>&lt;p&gt;I&amp;#39;m using s132 v5.0
I can implement the no disconnection option, should not be a problem. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection time</title><link>https://devzone.nordicsemi.com/thread/97524?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2017 13:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc83ef3b-552d-452c-bd68-375f7c893ba5</guid><dc:creator>Martin Tverdal</dc:creator><description>&lt;p&gt;Hi,
disconnecting in Bluetooth LE requires you to send the disconnect to the peer, and then get an ack for that disconnection. The SoftDevice will not give the BLE_GAP_EVT_DISCONNECTED until the ACK is received.&lt;/p&gt;
&lt;p&gt;This can take 1 or more connection intervals. You are seeing that it takes two connection intervals, which might be because the SoftDevice has a simplified logic where it will delay sending the disconnect by one event. What version of the SoftDevice are you using?&lt;/p&gt;
&lt;p&gt;You can consider (carefully!), to not do disconnect() on your central application. But just disable the SoftDevice. This will cause your peer (slave application) to wait until whatever you have configured for supervision_timeout, before it gets the Disonnected event with reason BLE_HCI_CONNECTION_TIMEOUT. This might be acceptable, depending on your usecase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection time</title><link>https://devzone.nordicsemi.com/thread/97522?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 12:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e1be37-bfb6-4559-b6fa-678517c8c6ee</guid><dc:creator>Guillaume76</dc:creator><description>&lt;p&gt;Hello Martin, thanks for your comment. I will register a new case on my page to share more informations regarding this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection time</title><link>https://devzone.nordicsemi.com/thread/97523?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 11:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b235740-6e8f-4072-aae5-fbdc8553e7e2</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why it would seem that 2 connection intervals are required before the disconnect event is received. Are you able to provide a sniffer trace?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>