<?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, Ble and pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33235/android-ble-and-pairing</link><description>Hello. 
 Some months ago I open this thread . 
 Yesterday talking with one member of android team, told me that the problem with &amp;quot;pairing/bond&amp;quot; persists with few Huawei phone of the company. 
 Let me explain what problem is: 
 Our app scan ble devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Apr 2018 12:29:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33235/android-ble-and-pairing" /><item><title>RE: Android, Ble and pairing</title><link>https://devzone.nordicsemi.com/thread/128241?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 12:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df588200-1b7e-4712-a686-a44f6a4abde0</guid><dc:creator>andres_mhp</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/afnowakowski"&gt;Aleksander Nowakowski&lt;/a&gt; thanks for the answer. We have been working with this solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android, Ble and pairing</title><link>https://devzone.nordicsemi.com/thread/128240?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 12:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:859797d0-7ed4-4dec-aa60-63935605708b</guid><dc:creator>andres_mhp</dc:creator><description>&lt;p&gt;Hi. &lt;/p&gt;
&lt;p&gt;After some research, when writing to characteristics the function is called with WRITE_TYPE_DEFAULT flag. The next state of the ble phone is busy, waiting for ack that never arrives, so the next characteristic write is never written.&lt;/p&gt;
&lt;p&gt;Changing this flag to WRITE_TYPE_NO_RESPONSE, the state is not busy, and the process is done succesfully.&lt;/p&gt;
&lt;p&gt;The thing does not end here. If we disable and enable again the Bluetooth, the phone never connects with hardware. I think, this behaviour can be related with the issue which is described in chapter 3 of this &lt;a href="https://www.google.es/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwjH6Im4nbfaAhVEhqYKHR-TBNkQFggrMAA&amp;amp;url=https%3A%2F%2Fdevzone.nordicsemi.com%2Fcfs-file%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-00-04-DZ-1046%2F2604.BLE_5F00_on_5F00_Android_5F00_v1.0.1.pdf&amp;amp;usg=AOvVaw0x_kuwUakEiEJ6rDsdqNk5"&gt;document&lt;/a&gt; because if bond is done programatically or manually, the phone can connect with hardware.&lt;/p&gt;
&lt;p&gt;The question what we are asking now is. Where and how can be ACK done on hardware?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Andres.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android, Ble and pairing</title><link>https://devzone.nordicsemi.com/thread/127608?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 12:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1687d66a-c9cf-412d-ac30-b91a8ca52bf2</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The device name is optional. If youryo using just works pairing then calling createBond(..) from the code should work without user interaction. On some phones a pop-up may be shown with a question, but this should work. On Lollipop+ devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android, Ble and pairing</title><link>https://devzone.nordicsemi.com/thread/127603?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 11:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f44dd72-175d-4984-b4d5-ba68791360a9</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have forwarded your question to our Android developers. Will get back to you with more information as soon as I can.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android, Ble and pairing</title><link>https://devzone.nordicsemi.com/thread/127582?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 09:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ddaa8f-b0d3-4b28-a556-741aa7fc5ff9</guid><dc:creator>andres_mhp</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;Our hardware device is advertising without name. Setting device name, in our case inside scan response, android app works.&lt;/p&gt;
&lt;p&gt;Can this be related with our problem? Is device name necessary ?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>