<?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>Stable connection BLEnano</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20104/stable-connection-blenano</link><description>Hi everybody!
I want to do a connection between two BLEnano, one is the mater and the second the slave. 
 I have programmed the two BLEnano using the Arduino IDE and libraries; the peripheral send data over an characteristic notification and the central</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2017 13:51:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20104/stable-connection-blenano" /><item><title>RE: Stable connection BLEnano</title><link>https://devzone.nordicsemi.com/thread/78284?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 13:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:282c0fd8-6c92-498a-a7bc-7958cfb5906e</guid><dc:creator>ugo</dc:creator><description>&lt;p&gt;Thanks for reply Hung Bui! I don&amp;#39;t know how to fix the connection interval! In the central role i have add in the the connection callback the connections gap preferences as:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void connectionCallBack(const Gap::ConnectionCallbackParams_t *params )
{
  Gap::ConnectionParams_t gap_conn_params;
  gap_conn_params.minConnectionInterval = 20;
  gap_conn_params.maxConnectionInterval = 40;
  gap_conn_params.slaveLatency = 0;
  gap_conn_params.connectionSupervisionTimeout = 600;
  ble.updateConnectionParams(params-&amp;gt;handle, &amp;amp;gap_conn_params);
  ble.gattClient().launchServiceDiscovery(params-&amp;gt;handle, ServiceCallBack, CharacteristicCallBack, service_uuid, chars_uuid1);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And now seems to work! Now I try to capture a sniffer trace. Thanks, U.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable connection BLEnano</title><link>https://devzone.nordicsemi.com/thread/78285?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 13:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:770c80a5-6deb-459d-8109-0c57dc48a47c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;What is the connection interval you have ?
Could you try to check what is the return code of updateCharacteristicValue() ?&lt;/p&gt;
&lt;p&gt;How often do you see disconnection ? Can you capture a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>