<?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>Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92264/application-advertises-but-does-not-connect</link><description>I was trying to implement the nRF5_SDK_17.1.0_ddde560 proximity example into the template. 
 After getting all the functions working and the application compiling, the board just was not advertising .. I decided to make smaller steps and after I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Sep 2022 14:33:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92264/application-advertises-but-does-not-connect" /><item><title>RE: Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/thread/387970?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17144d0e-2bba-4855-bcf1-e0294b4a7780</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can print out log for debugging, either using UART or RTT.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can follow &lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI"&gt;this debug guide.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you test with most of our BLE example, you should have some output log on UART/RTT .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please check if the device actually get the&amp;nbsp;BLE_GAP_EVT_CONNECTED event or not . You can add a break point in&amp;nbsp;ble_evt_handler() or check if &amp;quot;Connected&amp;quot; printed out on the log.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/thread/387926?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff807317-0e07-41d8-aa96-90bdd05f4def</guid><dc:creator>Aimek</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I am not sure what you have meant by &amp;quot;is there any log&amp;quot;, please can you elaborate on that. If you want me to send the DK logs, I am not sure how to do that using the SEGGER embedded.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The picture from the application above, the first error occured after building and running the application and then trying to connect to the microcontroller using nRF connect and the second error occured after pressing connect on the device tab and pressing reset on the microcontroller, so if your suspicions were that the nRF52 reset after crashing, then you would be wrong, should have explained that, my bad. The microcontroller I suppose stops working completely after the first error.&lt;/p&gt;
&lt;p&gt;I have added all the LLS service regarding files, libraries and etc, at least I believe so, and yes, as I have said the problem is with handling the LLS service.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And while testing the proximity example separately, I had no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/thread/387897?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd1041fa-e493-4721-a514-93af5bcb4f91</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s more likely to me that the application crashed after the connection established.&lt;/p&gt;
&lt;p&gt;Please check on the nRF52 if there is any log, check if it crash and reset after the connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might be related to handling the LLS service , please double check if you have everything related to LLS service copied to your application the same like in the proximity example.&amp;nbsp;&lt;br /&gt;I assume you don&amp;#39;t have any issue when testing the proximity example ?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/thread/387829?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 08:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767f3ab3-5bf2-432c-983e-c6e305a6d676</guid><dc:creator>Aimek</dc:creator><description>&lt;p&gt;Moreover, I have discovered that the application bahaves as it should when I comment out the BLE_LLS_DEF method, but I am not sure why it does that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application advertises but does not connect</title><link>https://devzone.nordicsemi.com/thread/387815?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 07:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc21e978-1d3a-4d54-9dc0-50af2760d4bc</guid><dc:creator>Aimek</dc:creator><description>&lt;p&gt;not sure if this would be helpful but I am using SEGGER version 5.64 but I do not think that this would matter, because from what I have discovered the problem occures mostly because of Android side. But I have not seen any certain way to fix the issue, most of the tickets are 3 years old and older, so maybe I don&amp;#39;t know something obvious, a secret that every bluetooth programmer nowadays knows &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f914.svg" title="Thinking"&gt;&amp;#x1f914;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>