<?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>Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10527/losing-bluetooth-connection</link><description>Hello, 
 Recently, I used the LedButtonDemo to create a program which make one rotation on a step-by-step motor.
The program is very simple : in place of toggling the led in the handler, I control the step-by-step motor to make a full rotation. 
 When</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Dec 2015 14:57:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10527/losing-bluetooth-connection" /><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39155?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 14:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf9df965-dfd1-43f9-81d7-c6deb4513c9a</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;He posted only adverts right now. I asked him for better pcap files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39154?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 14:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cb8a716-679d-4163-aa4d-8a25656d50de</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;I am unable to download the files, can you attach them in your question instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39152?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 14:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b594646-e18b-4f31-8b77-fa401f64841e</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Sorry, I didn&amp;#39;t understand that the files were required.
Here they are :&lt;/p&gt;
&lt;p&gt;No connection, only advertising : &lt;a href="http://www.mediafire.com/download/h6zi2hplij9h20e/not_connected.pcapng"&gt;www.mediafire.com/.../not_connected.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When it is connected to my iPhone app : &lt;a href="http://www.mediafire.com/download/x8bi88oc8jo3s35/connected.pcapng"&gt;www.mediafire.com/.../connected.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39153?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f685893b-c22d-4c18-8fe1-b1ad3da97603</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Please upload complete file with packets (.pcapng?), because on the screenshots provided we can only see advertising packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39161?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de96e9c8-7a2b-4075-b9da-0b72646dddea</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here are the packets :&lt;/p&gt;
&lt;p&gt;No connection, only advertising : &lt;a href="http://hpics.li/e8844f8"&gt;http://hpics.li/e8844f8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When it is connected to my iPhone app : &lt;a href="http://hpics.li/835a4ee"&gt;http://hpics.li/835a4ee&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39156?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:283a6c9c-9ef5-4b7a-a4ce-338a66d37937</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here is some screenshots of Wireshark :&lt;/p&gt;
&lt;p&gt;No connection, only advertising : &lt;a href="http://hpics.li/e8844f8"&gt;http://hpics.li/e8844f8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When it is connected to my iPhone app : &lt;a href="http://hpics.li/835a4ee"&gt;http://hpics.li/835a4ee&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, I can&amp;#39;t post the packets received when my DK is connected to the Master Control Panel, because I only have one nRF51 Dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39162?ContentTypeID=1</link><pubDate>Sat, 28 Nov 2015 17:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5f347c-acd0-435c-93cd-86ac6bddee51</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Thanks a lot for the link !
I will post a screen of the packets Monday&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39159?ContentTypeID=1</link><pubDate>Sat, 28 Nov 2015 17:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f12f03e-fc2d-4d75-98b0-d7d64959ee4f</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Yes, I have the nRF51 dongle : I will do it Monday (the equipment is currently at my school).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39160?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 22:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7908f072-2ada-4996-932c-fcc4f409adf3</guid><dc:creator>Gustavo - Argenox</dc:creator><description>&lt;p&gt;Hi Raven,&lt;/p&gt;
&lt;p&gt;I can recommend our &lt;a href="http://www.argenox.com/bluetooth-low-energy-ble-v4-0-development/library/ultimate-guide-to-debugging-bluetooth-smart-ble-products/"&gt;tutorial on debugging BLE products&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This goes into looking at the packets to see what the cause of disconnection is. There can be a lot of reasons from significant interference to devices hanging to other issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39158?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 15:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bccbebcf-3723-4b54-8a78-46465252cb81</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;A sniffer log would be good to have, you can find info about the sniffer &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;here&lt;/a&gt;. You can also use the sniffer with nRF51 DK or EK in addition to the dongles.&lt;/p&gt;
&lt;p&gt;You should also check the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/structble__gap__evt__disconnected__t.html#a11211be968ad2898f3dd9b4d31b5ce22"&gt;disconnect reason&lt;/a&gt;. Check the variable &lt;code&gt;p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason&lt;/code&gt; when getting &lt;code&gt;BLE_GAP_EVT_DISCONNECTED&lt;/code&gt; event (in &lt;code&gt;on_ble_evt(...)&lt;/code&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Losing Bluetooth connection</title><link>https://devzone.nordicsemi.com/thread/39157?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 15:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e813908a-6162-45de-98a6-2d9ebe86ece9</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Do you have dongle to use as ble sniffer? If yes, capture some data with wireshark in both scenarios and compare them (or just post them here)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>