<?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>Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61570/connection-timeout-with-nrf-connect-desktop-tool</link><description>Hello, 
 
 I am using nRF52840, SDK_16.0.0, SoftDevice S140 V7.0.1 and Segger for flashing the image. I am using ‘ble_app_blinky’. 
 
 I modified ble_app_blinky with below parameters and with “Just Works”. I merged with Secure Serial bootloader and loaded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Mar 2020 09:48:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61570/connection-timeout-with-nrf-connect-desktop-tool" /><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250705?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 09:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5232c36c-1161-483c-a1c2-ad0efb0f7a1d</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please let me know your inputs on the experiment you did.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250704?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 14:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0632c85d-b40f-4471-b17a-cdaaeb506431</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Sure. Please share your inputs based on your tests. As mentioned, we need to use either Dongle or DK to connect to nRF Connect Desktop tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250703?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 14:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d1b3f4-b754-40a3-9c22-ddf328f5e4cb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="beemavishnu"]I am using nRF Development board for testing. I think it should be 20ppm.[/quote]
&lt;p&gt;Based on my testing here, the problem seems to be the nRF52840 dongle. For me it seems like the nRF52840 dongle is not 20 ppm. If I use e.g. nRF52840 DK for nRF Destkop BLE app instead, I don&amp;#39;t see this issue. I will do some more testing on this.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Sigurd&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250702?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 11:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99ee8964-be95-4818-b7c1-48abd5533b00</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using nRF Development board for testing. I think it should be 20ppm.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250701?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 11:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:150ad6c9-e241-4c6f-8646-59e2d621c097</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) What is the ppm&amp;nbsp;accuracy of your LF crystal ? Maybe it was set too low.&lt;/p&gt;
&lt;p&gt;2) Passkey should be supported on&amp;nbsp;&lt;span&gt;nRF Connect Desktop app also.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3)&amp;nbsp;nRF Connect Desktop parses the data for you. Raw format is not shown.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4) No support for different data type. Only hex values.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5) Yes, this seems to be a bug. &amp;quot;ms&amp;quot; should be removed.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250700?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 09:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329a093f-09b8-451a-9c58-f986f2a3bb20</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With NRF_SDH_CLOCK_LF_SRC set to 1 and NRF_SDH_CLOCK_LF_ACCURACY to 1 now its working fine. Can you please clarify my above queries. For easy tracking, I updated once again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) With my settings it was working well with nRF Connect mobile app. With the changes you mention, will there be any impact on timing issues and Current consumption. Any reason why it is working with nRF Android app but not with nRF Connect Desktop tool.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) Even we want to work with Static passkey. With Android app we are give passkey as input. With nRF Desktop tool what are the options to give passkey.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3) Similar to nRF Mobile app how to see RAW data of Advertisement packet in nRF Desktop connect tool.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7a063d5cac5b4fc7b2acb765181ac2de/pastedimage1582709893194v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;4) Using nRF Connect app, I am able to select type of data. But how to do the same in nRF Connect desktop tool. I am not seeing such options.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7a063d5cac5b4fc7b2acb765181ac2de/pastedimage1582709907610v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;5) Just a correction. For Latency there is no units. In below its showing as 5 ms when I configure Latency as 5.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7a063d5cac5b4fc7b2acb765181ac2de/pastedimage1582709911443v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250699?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 18:01:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69d9751b-f70f-4d23-989c-73615f203a1c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can keep&amp;nbsp;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC&amp;nbsp;at 1. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1) Did you try to set NRF_SDH_CLOCK_LF_ACCURACY to 1 ? Did it change the behavior?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) If it did not change the behavior, can you then try to caputure a sniffer trace ?&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;See nRF Sniffer.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250698?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 16:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c938bac-26af-4376-8fee-a3b2f36dfd11</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am getting 0x8 as error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7a063d5cac5b4fc7b2acb765181ac2de/pastedimage1582648064734v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) But&amp;nbsp;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC is already set to 1. Still do I need to set&amp;nbsp;NRF_SDH_CLOCK_LF_ACCURACY to 1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) I was working well with nRF Connect mobile app. With the changes you mention, will there be any impact on timing issues and Current consumption.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vishnu Beema&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250697?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 15:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c5edc47-2648-4f8a-860e-b2fae9388bc2</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What is the disconnect reason on the nRF5-side ?&lt;/p&gt;
&lt;p&gt;You can print it in ble_evt_handler() like this, snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;        case BLE_GAP_EVT_DISCONNECTED:
        
            NRF_LOG_INFO(&amp;quot;Disconnected&amp;quot;);
            NRF_LOG_INFO(&amp;quot;Disconnected reason: 0x%x&amp;quot;,p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If its&amp;nbsp;0x16 (BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION), then check if you are calling&amp;nbsp;&lt;span&gt;sd_ble_gap_disconnect() in the function on_conn_params_evt().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If its 0x08 (BLE_HCI_CONNECTION_TIMEOUT), then try to set&amp;nbsp;NRF_SDH_CLOCK_LF_ACCURACY in sdk_config.h to 1 (500ppm), if you have&amp;nbsp;NRF_SDH_CLOCK_LF_SRC set to 0.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250696?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 07:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3b8290-c026-4782-ac8c-123a69c7092f</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) There is no error on device side. It’s just disconnecting. Below is the RTT log. Even with original ble_app_blink, just changed with my BLE configuration and it’s just disconnecting. You can crosscheck as is with my settings.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7a063d5cac5b4fc7b2acb765181ac2de/pastedimage1582616271212v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;2) With the settings you mentioned its working fine. But we need Connection interval for 1 sec and Slave latency as 5 so save battery. With my settings its working fine with nRF Connect Android app but not with nRF Connect Desktop tool.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) As per my other ticket even there is issue with iPhone nRF Connect mobile app. If any issue with nRF Connect Desktop tool please check with your team.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57945/connecting-to-nrf-connect-app-in-ipad"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/57945/connecting-to-nrf-connect-app-in-ipad&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection Timeout with nRF Connect Desktop tool</title><link>https://devzone.nordicsemi.com/thread/250695?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 16:17:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc87c51e-6a3b-40e2-a6a6-72754f0859e8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Then I selected “Pair…” with “IO Capability” as “No Keyboard, no display”. Now I am able to write/read. But once “Connection parameters updated for device” I am getting BLE_HCI_CONNECTION_TIMEOUT after 13sec.[/quote]
&lt;p&gt;1) Does it work with these settings?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(100, UNIT_1_25_MS)        /**&amp;lt; Minimum acceptable connection interval (0.1 seconds). */
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(200, UNIT_1_25_MS)        /**&amp;lt; Maximum acceptable connection interval (0.2 second). */
#define SLAVE_LATENCY                   5                                       /**&amp;lt; Slave latency. */
#define CONN_SUP_TIMEOUT                MSEC_TO_UNITS(7000, UNIT_10_MS)         /**&amp;lt; Connection supervisory timeout (7 seconds). */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2) Do you get&amp;nbsp;any error-code on the nRF52 side? Any errors printed in the log from the nRF52(use Segger RTT or UART as logger backend)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>