<?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 to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3098/how-to-determine-the-connection-interval-in-android</link><description>Did anybody know how I could determine the connection interval for a established ble connection between an android (4.4) central and a (e.g. nRF51822) peripheral?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2016 11:20:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3098/how-to-determine-the-connection-interval-in-android" /><item><title>RE: How to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/thread/11512?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 11:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cca03524-def4-4edd-bfca-540ea0952ffd</guid><dc:creator>Mark Ch</dc:creator><description>&lt;p&gt;this worked well, thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/thread/11511?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2014 14:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f2530c-72d0-453c-8181-2ca50dd54c6c</guid><dc:creator>TobiasMeln71</dc:creator><description>&lt;p&gt;Read the parameters in HCI Event LE_Connection_Complete or HCI Event LE_Connection_Update_Complete from the btsnoop_hci.log log. To get this log file:
1 Settings-&amp;gt;Developer options-&amp;gt;Enable Bluetooth HCI snoop log (if Developer options screen is hidden then make it available. Go to Settings &amp;gt; About phone and tap Build number seven times. Return to the previous screen to find Developer options.)
2 Bluetooth must be toggled to make this settings work.
3 adb pull /sdcard/btsnoop_hci.log . (the path might be different and you can find it out by adb shell cat etc/bluetooth/bt_stack.conf | grep BtSnoopFileName)
4 Open btsnoop_hci.log in &lt;a href="http://www.fte.com/support/CPAS-download.aspx?demo=ComProbe%20BPA%20600&amp;amp;iid=21"&gt;www.fte.com/.../CPAS-download.aspx&lt;/a&gt; or in wireshark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/thread/11510?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2014 11:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed6c591-4d98-40d6-beb1-705948c2e24b</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Unfortunately this is the best possible to directly find the connection interval. The other indirect method would be to send a read from the app and check the time it takes to get a read response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/thread/11509?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2014 15:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ab2909-a7f2-4cb1-bdae-1b850b4dd22d</guid><dc:creator>Joe Merten</dc:creator><description>&lt;p&gt;Of cause, this may be a way, as long as the peripheral code is under my control. But I rather desire a way which works independ of the peripherals implementation.
I&amp;#39;m quite shure, that the central has this information. But I fear that this wasn&amp;#39;t provided by the bluedroid Api.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine the connection interval in android</title><link>https://devzone.nordicsemi.com/thread/11508?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2014 14:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3925f3ed-52a3-489d-b443-233e29d67c94</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The simplest and cross platform way would be to have a characteristic that sets the link timing, this characteristic can be read or notified from the Peripheral.
There is an example for this in the BLE over UART project for Arduino using the &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino"&gt;github.com/.../ble-sdk-arduino&lt;/a&gt; , see the ble_uart_project_template.
You can view the XML file in that project using nRFgo studio and the Characteristic is called &amp;quot;UART link timing current&amp;quot;. This example is for the nRF8001 however it should be trivial to do the same for the nRF51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>