<?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>Always connected peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6596/always-connected-peripheral</link><description>What should the connection or other settings be to have a peripheral always connected? It is a bit contradictory for low energy device, however for a lost&amp;amp;found (link-loss and immediate alert services) this is required. 
 We experience in testing with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Apr 2015 17:55:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6596/always-connected-peripheral" /><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23071?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 17:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:393802e0-bc91-4d50-9eb6-c8ac77c880ec</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;yes, thank you! will follow the other thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23070?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 13:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d8b8f72-75e6-4c0c-b054-36736198f4fd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry for the late response, did you see comment from Runar in the other question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23069?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2015 23:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:760fcd96-4aa9-47cc-b66f-33be568d4e4a</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;a short statistic of last 3 hours of testing the disconnect-issue, here are the values I&amp;#39;ve got with my comment:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0x2a &amp;gt; initial test&lt;/li&gt;
&lt;li&gt;0x3e &amp;gt; probably due to uart logging lots of data (detailed)&lt;/li&gt;
&lt;li&gt;0x16 &amp;gt; dunno why...&lt;/li&gt;
&lt;li&gt;0x08 &amp;gt; as soon as I changed some connection params.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23068?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2015 23:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:537468d4-0a0d-4d19-b53c-13504c73a645</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;Short update.&lt;/p&gt;
&lt;p&gt;Did some more testing and changed several times connection parameters.&lt;/p&gt;
&lt;p&gt;having these:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS( 20, UNIT_1_25_MS) // prev val: 200&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS) // prev val: 2000, 1500&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#define SLAVE_LATENCY 0 // always 0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) // prev val: 6000, 5000&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;the disconnection is not immediate.&lt;/p&gt;
&lt;p&gt;scanning with wireshark there are frequent LL_CHANNEL_MAP_REG packages, then some LL_PING_REQ with the LL_UNKNOWN_RSP, and until new connection values were set frequent BLE_GAP_EVT_CONN_PARAM_UPDATE events in the log. with new min_conn_intervall these disappeared.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23067?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2015 19:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ea04a51-b80f-46bc-b981-a86d92c48610</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;I&amp;#39;m receiving 0x2A BLE_HCI_DIFFERENT_TRANSACTION_COLLISION as the reason. found some more info this link &lt;a href="https://devzone.nordicsemi.com/question/22058/disconnect-reason-hci-error-code-0x2aupdated/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23066?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 09:06:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d4758a0-f57c-40ac-bd3f-260938f8dfd9</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;Thank you Petter, will try and be back with more details!&lt;/p&gt;
&lt;p&gt;Tested with ios 8.3, sdk 7.1.0, s110, nRF51 DK board and custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23065?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 09:04:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1555bdea-32c5-4ba6-a415-5b56eaf0dd80</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Do you have a sniffer available, for example nRF Sniffer? It would be helpful to see what is actually happening on the air. Could you also check the disconnect reason in the BLE_GAP_EVT_DISCONNECTED event? Use the debugger (remember to turn off optimizations, set it to Level 0) and check the value of p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason; Are you using our board or a custom board? How are the noise levels in the room?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23064?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 08:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3848f155-9354-46ab-a8bd-babb0c0f5f8c</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;few minutes: 3 to 5 minutes, testing on iPhone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Always connected peripheral</title><link>https://devzone.nordicsemi.com/thread/23063?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 08:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38758dc0-8e9c-4968-8b8c-bb0f3300ad7a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;How much time is some time? What kind of phone are you testing with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>