<?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>MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7909/mitm-bonding-issue-with-android-l</link><description>Hi,
we&amp;#39;d like to use nexus 7 II(android 5.1.1) to connect nrf51822, but cannot connect if nrf51822 uses whitelist. 
 step 1. we send advertising packets without using whitelist, and uses MITM. Nexus 7 II can do the bonding. 
 adv_params.type = BLE_GAP_ADV_TYPE_ADV_IND;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jul 2015 03:33:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7909/mitm-bonding-issue-with-android-l" /><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28280?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 03:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8d79b0a-bce2-44c8-9e47-766d50560a18</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;okay, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28277?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 07:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fa45e58-f399-4f99-8bd8-e43f0951ceed</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Now: I would suggest to close this case and continue on the other one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28273?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 11:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7864fff1-cb5e-4731-a5f1-9bff0e0f98ce</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;Hi Hung, &amp;#39;Cause Nexus 7 II uses irk not bt address, so we only saved irk.  I used two android devices to do the test again. And the link is : &lt;a href="https://devzone.nordicsemi.com/question/43236/irk-saved-but-android-50-cannot-reconnect-to-s110/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thanks for your resply again.&lt;/p&gt;
&lt;p&gt;===================================================&lt;/p&gt;
&lt;p&gt;we have two devices using android 5.0 have this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;bonding to s110, irk_counter=1; s110 uses whitelist advertising. android 5.0 device can reconnect to s110.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;android 5.0 device delete bonding info, and rebonding to s110, irk_counter=2; s110 uses whitelist advertising. android 5.0 device cannot reconnect to s110.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;s110 uses advertising without whitelist, android 5.0 device can reconnect to s110.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;iPhone5s and android 4.4 device can do it right. Anyone have similar issue like me? thanks.&lt;/p&gt;
&lt;p&gt;S110 + SDKv6.1 + SDv7.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28272?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 11:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:957f9d52-17c7-4fcd-984a-2bcaddf4ccef</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Now: There is something that I&amp;#39;m confusing about. You mentioned that &amp;quot;it&amp;#39;s okay for nexus 7 to reconnect while using whitelist advertising&amp;quot;, but on the last comment you said the BT address of Nexus 7 is not saved in the whitelist.&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s not saved how could you reconect with whitelist on ?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m testing here with my Nexus 7 with the proximity example in SDK v8.1 on nRFMaster Control panel app. It works fine exect for only one issue that it won&amp;#39;t disconnect when click disconnect button after bonding. I have to turn off Bluetooth to do so. Delete bond on the tablet, won&amp;#39;t stop it from re-connecting (and then initiate another bond).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28279?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 03:29:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:594ea5a5-dfab-46c8-854d-113c9751a8bf</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;Hi Hung,
as you said, the bt address of nexus 7 II is not saved in the whitelist!!  But the BT address of HTC M7 (with android 4.4) can be saved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28278?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 02:36:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91097c5c-535f-4ab0-8a37-1c1276c2a1e8</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;we  think nexus 7 with android 5.1.x may not handle whitelist advertising correctly, since it enters connected state and s110 is still advertising in disconnected state.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28276?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 02:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f2d28f5-c910-454b-9d79-8f1d0bbcff35</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;Hi Hung, thanks for your suggestion.
We&amp;#39;ve clear the database while doing the test, and we&amp;#39;ll check if bt address saved in whitelist. When Nexus 7 fails to reconnect, it can find nrf51822 on its scan list and press connect button.&lt;/p&gt;
&lt;p&gt;BTW we find a weird behavior:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;if we clear our nrf51822 database and use nexus 7 to do its first bonding. it&amp;#39;s okay for nexus 7 to reconnect while using whitelist advertising.&lt;/li&gt;
&lt;li&gt;if we delete bonded data in nexus 7, and then re-bonding again. it can&amp;#39;t reconnect while using whitelist advertising. The weird thing is nexus 7 can reconnect if we use advertising without whitelist.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;looks like data mismatch when we use whitelist advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28275?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 08:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b61c2710-80ea-4364-8545-23aeff8bd48d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Now: If you are using SDK v6.1 you don&amp;#39;t have to apply the patch in the blog post.&lt;/p&gt;
&lt;p&gt;Have you tried the SDK proximity example to see if the Nexus 7 can reconnect to the board ?
You can also check and make sure the device is not full of bonded device and couldn&amp;#39;t add your device in the database ?
Could you check if the address of your tablet is in the list of &amp;quot;whitelist&amp;quot; ?
When mentioned Nexus 7 can&amp;#39;t connect to the device, you meant you couldn&amp;#39;t find it in the list on the Nexus 7 or you found but when click connect nothing happened ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MITM Bonding issue with Android L</title><link>https://devzone.nordicsemi.com/thread/28274?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 01:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ceecf8d-44b1-4c09-a5b1-6cd2853bb162</guid><dc:creator>Now</dc:creator><description>&lt;p&gt;already used the patch for Q1/Q2/Q5 on my SDK6.1
&lt;a href="https://devzone.nordicsemi.com/blogs/12/nrf51-sdk-v600-bug-report-and-temporary-workaround/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;but android L device still cannot reconnect if using whitelist advertising&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>