<?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>Android application development</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58831/android-application-development</link><description>Hi, 
 We are developing an android application using nRF51422 to connect the BLE device, discovering characteristics and sending commands to the device. Here we are facing following difficulties. 
 1. Sometimes the nordic board is refusing to connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 06:29:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58831/android-application-development" /><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/244319?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 06:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:749584e7-abb9-4423-9f1e-15714f11177a</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Prithwi Chanda"]I am worried about when it stops responding suddenly. That is the reason why it is not connecting or suddenly getting disconnected.[/quote]
&lt;p&gt;As mentioned, this could happen if e.g. the device lost power, or if there was an assert in the code. You will likely need to do some debugging to find the root cause . Maybe some error-code was returned somewhere ? Take a look at e.g. this post &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/243779?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 04:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d995bbc7-762c-4814-b7bd-7c8188ba8ff0</guid><dc:creator>Prithwi Chanda</dc:creator><description>&lt;p&gt;Master is sending&amp;nbsp;&lt;span&gt;LL_TERMINATE_IND packet when disconnection is done intentionally using the disconnect button. I m not worried about that. I am worried about when it stops responding suddenly. That is the reason why it is not connecting or suddenly getting disconnected.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/243720?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 14:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9ca843-ec52-4606-bd71-ef2a532ba08e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;In the log report7.pcapng, we see the master/phone sends an LL_TERMINATE_IND packet. It’s not clear from the log why the master terminates the connection. If you use nRF-Connect for mobile app, the log there might reveal more information about why the phone disconnected.&lt;/p&gt;
&lt;p&gt;In report13.pcapng, it seems like the slave suddenly stopped responding. This could happen if e.g. the device lost power, or if there was an assert in the code. You will likely need to do some debugging to find the root cause here. If you enable logging in the code, then nrf_log outputted over UART or Segger RTT, could provide you with some clues about what happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/242935?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 11:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b2bdbb-3c8f-402b-8405-54d2fdc76da1</guid><dc:creator>Prithwi Chanda</dc:creator><description>&lt;p&gt;Hi, is there any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/242329?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 09:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec260e7-1360-4ef1-9a21-035f77e484fe</guid><dc:creator>Prithwi Chanda</dc:creator><description>&lt;p&gt;Right now I have found one more issue like,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-&amp;nbsp; Once devices are connected it is expected to send Empty PDU to both sides.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Some time slave is not sending Empty PDU and causing disconnection.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In bellow image, we can see the highlighted area and wireshark logs also attached&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1585559291223v1.png" alt=" " /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/report13.pcapng"&gt;devzone.nordicsemi.com/.../report13.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/242279?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 05:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5260194f-4206-4c5c-a36e-10024f9a2bc1</guid><dc:creator>Prithwi Chanda</dc:creator><description>&lt;p&gt;1. SDK version:- 11 SoftDevice version:- 130&lt;/p&gt;
&lt;p&gt;2. I have used Redmi Note 6 pro(Android 9), Moto G4 plus(Android 7), Samsung A107F&lt;span&gt;(Android 9)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Yes I have faced same issue in nRF-Connect for mobile too&lt;/p&gt;
&lt;p&gt;4. Wireshark log is attached bellow.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/report7.pcapng"&gt;devzone.nordicsemi.com/.../report7.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/242068?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 10:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74572e57-1c4a-4f6d-a536-7be126740947</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What SDK version and SoftDevice version are you using?&lt;/p&gt;
&lt;p&gt;What phone model and brand are using ?&lt;/p&gt;
&lt;p&gt;Do you see the same issue when using &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile/GetStarted"&gt;nRF-Connect for mobile&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;Please upload the wireshark log&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android application development</title><link>https://devzone.nordicsemi.com/thread/241380?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 13:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81769901-a899-4c45-a7db-6e4ced68a87c</guid><dc:creator>Prithwi Chanda</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have done debugging using wireshark. there I faced the following issue.&lt;/p&gt;
&lt;p&gt;When phone is sending LL_FEATURE_REQ packet it expects LL_FETURE_RES in return from the board like this&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1585055167370v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But when the nRF board is refusing to response&amp;nbsp;&lt;span&gt;LL_FETURE_RES&amp;nbsp;device is not getting connected with phone like this&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1585055189417v2.png" alt=" " /&gt;&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: Android application development</title><link>https://devzone.nordicsemi.com/thread/238633?ContentTypeID=1</link><pubDate>Sat, 07 Mar 2020 10:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff99e479-58d6-48fc-b50c-8c6b68c52ede</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So what &lt;strong&gt;debugging&lt;/strong&gt; have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt; &lt;/em&gt;done to find what&amp;#39;s going on ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.argenox.com/library/bluetooth-low-energy/ultimate-guide-to-debugging-bluetooth-smart-ble-products/"&gt;https://www.argenox.com/library/bluetooth-low-energy/ultimate-guide-to-debugging-bluetooth-smart-ble-products/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/debug.html"&gt;https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/debug.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_keil/UG/gsg/debug.html"&gt;https://infocenter.nordicsemi.com/topic/ug_gsg_keil/UG/gsg/debug.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/comment/2418156#comment-2418156"&gt;www.avrfreaks.net/.../2418156&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="88519" url="~/f/nordic-q-a/58831/android-application-development"]the nordic board is refusing to connect[/quote]
&lt;p&gt;How do you know it&amp;#39;s specifically the Nordic board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>