<?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>[NRF51822] connection related</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/909/nrf51822-connection-related</link><description>I&amp;#39;m using NRF51822 and I have some question about the ble connection:
according to BLE 4.0 spec, when Tsup(connection supervision time) reaches, connection lost is considered. but I&amp;#39;ve tried to stop send data from bi-direction(mater &amp;amp; slave) for a while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Nov 2013 13:36:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/909/nrf51822-connection-related" /><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4414?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2013 13:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b2d8b0-7d81-4e43-8a96-ba353a7038e4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is why unrelated questions should be posted separately. :-)&lt;/p&gt;
&lt;p&gt;One question can have only one answer. I took the liberty to accept this one instead, since this one answers the original question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4413?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2013 01:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16a49616-dbed-4f58-a39c-71cbbd94dc18</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Dear Morten,
Actually, this should also be the answer I want, but i cannot found &amp;quot;ACCEPT AS ANSWER&amp;quot; button after I accept the above reply as answer.
Anyway, thank you very much for all your replies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4416?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2013 10:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0be3164-8fb2-4cca-b7a5-14f417f2dff0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;As long as the devices are within RF range of each other, the connection should not be lost, except in cases of (strong) interference or similar.&lt;/p&gt;
&lt;p&gt;As for the UART, this should not be any problems as long as you make sure that your UART interrupt runs on a legal interrupt priority (1 or 3, not 0 or 2). When using the sd_nvic_* API instead of NVIC_* directly to enable the interrupt, this will be checked for you.&lt;/p&gt;
&lt;p&gt;The reason you cannot add images as a comment is that separate questions should be posted separately instead of combining them as here. If you found my other answer useful, I&amp;#39;d be happy if you could click the &amp;quot;Accept as answer&amp;quot; button below it to mark this question answered. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4412?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2013 03:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7eb0a1a-3428-4508-88ad-d8b733a09f04</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Dear Ole Morten, see follow reply by myself for further question, thanks.(sorry, I don&amp;#39;t know how to upload picture in COMMENT mode)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4415?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2013 03:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40408a1b-9423-41b0-9d69-8518c70cc7c2</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Dear Ole Morten, thanks for your kindly reply.
Sure, it must be that. Does it to say, once ble deviece(nrf51822) get into connection state(interference &amp;amp; other abnormal situation not to be considerd.), the connection will keep active all the time? I mean, doese it lost connection if device always answer empty packets?&lt;/p&gt;
&lt;p&gt;Another question, I&amp;#39;m using uart to transmit datas between PC and my MCU via 51822, see the attached picture.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5775_2E00_.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] connection related</title><link>https://devzone.nordicsemi.com/thread/4411?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2013 10:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67670c19-a165-43a3-b363-5b53bb3be655</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The S110 softdevice will keep the link active, by answering to empty packets that the Central device will send for each connection interval, to keep the link up. How often such empty packets are exchanged are determined by the connection interval and the slave latency used.&lt;/p&gt;
&lt;p&gt;If you actually want to disconnect the link, you should call sd_ble_gap_disconnect(), as discussed &lt;a href="https://devzone.nordicsemi.com/index.php/how-can-i-voluntarily-disconnect-ble-devices"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>