<?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>nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22887/nrf51822-connection-issue</link><description>Hi support team,
We met an issue for connecting our device built in nRF51822 to Android device. 
 The nRF51822 uses below firmware program: 
 
 nRF5_SDK_12.3.0_d7731ad 
 s130_nrf51_2.0.1_softdevice
The service we use is UART. 
 
 For using nRF</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jun 2017 11:31:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22887/nrf51822-connection-issue" /><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90009?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 11:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bc4169-1d9e-487f-b7c6-025f2168582f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It could be the issue with the phone, you can clearly in the screenshot, it&amp;#39;s not the correct UUID.&lt;/p&gt;
&lt;p&gt;If you see the issue again, please let us know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90008?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 16:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84ac7516-933f-4384-9a49-a83248855d95</guid><dc:creator>David</dc:creator><description>&lt;p&gt;We do not modify any UUID that Nordic originally provides. We load the official firmware (s130_nrf51_2.0.1_softdevice with nRF5_SDK_12.3.0_d7731ad), and expected the UART_SERVICE_UUID = UUID.fromString(&amp;quot;6E400001-B5A3-F393-E0A9-E50E24DCCA9E&amp;quot;) can be enumerated by the nRF Toolbox and nRF Connect two appls. Sometimes it can be enumerated (or received) by app, but sometime not. If the app cannot get the expected UART_SERVICE_UUID, for nRF Toolbox, it will abort and show error message (we can trace this app source code), for nRF Connect, it seems to try to request UUID again and finally got it (we don&amp;#39;t know how this happen and Nordic doesn&amp;#39;t provide this app source code).
Today we reset the Asus ZenPhone to factory default and it seems the connection issue be corrected. If we know the reason that cause this issue, then we may modify the app to improve connection failed issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90012?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 12:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eef263a-d027-4131-b419-c35551530194</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I can see in the screenshot that you are not using the NUS_BASE_UUID, which is:&lt;/p&gt;
&lt;p&gt;{0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}&lt;/p&gt;
&lt;p&gt;Your last value was 55534243 instead of 24DCCA9E as in our description. This explain why the nRFToolbox disconnect and saying that   &amp;quot;The device does not have required services.&amp;quot;&lt;/p&gt;
&lt;p&gt;If you want you can modify the UUID, but you need to update that in the nRFToolbox also.&lt;/p&gt;
&lt;p&gt;This also explain why you see unknown service in nRFConnect, simply because the UUID is not recognizable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90011?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 16:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48ddff9d-5c87-49a5-a716-ad187764a854</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi Hung, the screen shot: &lt;a href="https://www.dropbox.com/s/cbot5lpk4w329bt/Screenshot_2017-06-14-10-44-24.jpg?dl=0"&gt;www.dropbox.com/.../Screenshot_2017-06-14-10-44-24.jpg&lt;/a&gt;&lt;br /&gt;
The profile (service?) we use is UART. The firmware we use is mentioned as above:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RF5_SDK_12.3.0_d7731ad&lt;/li&gt;
&lt;li&gt;s130_nrf51_2.0.1_softdevice
nRF Connect app may connect failed, but when this happen, it looks it can recover the error after few seconds then connect OK. The nRF Tool doesn&amp;#39;t has this ability to recover the error if connect failed.
Nordic only provides the nRF Tools app source code, but not provide the nRF Connect app source code, so we cannot make our app to has the recover function by implementing the nRF Connect function.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90007?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 16:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5bb4e9-f4bb-425c-980b-aea721449edc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@David: Which BLE profile are you testing on ?  Which firmware are you testing ? what is the &amp;quot;connection error&amp;quot;
Could you upload the screenshot on other place ? the slack link requires sign in to your group to view.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 connection issue</title><link>https://devzone.nordicsemi.com/thread/90010?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2017 16:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abb1ad33-1420-4422-8e7f-fa4d21a6237a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi David, have you considered to sniff what is really happening on the radio to see differences between the phones and getting the glimpse of what is going on? Does the behavior change when you erase network settings/BT Snare process in android or when you reset whole device to factory settings? Many issues with mobiles comes simply from different caching/lean update of parameters because there is low level BT stack managed typically by chipset provider (e.g. Broadcom) which is responsible for certain parts (e.g. GATT Service Discovery procedure, BT LE Security Manager layer implementation etc.) and then upper parts with &amp;quot;driver&amp;quot; and Android itself. These layers interact but it can have many different approaches and the same way you have millions bugs in upper parts of Android and its customs you will see them in BT interface as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>