<?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>DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38153/dfu-scanner-failed-on-android-o-with-sr3-v1-1</link><description>Hi, 
 
 We are working on Android O with SR3 v1.1. 
 
 There is an issue that our Android STB can&amp;#39;t find any BLE device using your library. 
 ( https://github.com/NordicSemiconductor/Android-Scanner-Compat-Library) 
 
 Here is our code and error log </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Sep 2018 14:38:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38153/dfu-scanner-failed-on-android-o-with-sr3-v1-1" /><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/149282?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 14:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621d2d2a-9469-4fe7-8f08-b9f852ffc821</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Take a look at Bjørn&amp;#39;s answer in this post.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/15100/what-is-connection-bonding/57676"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/15100/what-is-connection-bonding/57676&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148924?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 07:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bdc3baa-2921-46bd-8b8e-233a5a437b96</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;I tested DFU function on Android 8 smart phone with nRF connect :&lt;/p&gt;
&lt;p&gt;1.First, we try to use some combo keys to enter DFU mode but keep failing, in this stage we always bond the RCU with phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.I found a config called&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS in sdk_config.h, so I clear it, just give it a try, and then it can enter DFU mode by combo keys without bonding.&lt;/p&gt;
&lt;p&gt;3.DFU can be done without&amp;nbsp;bonding&amp;nbsp;but connecting.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;p&gt;1. What is the main difference between &amp;quot;connecting&amp;quot; and &amp;quot;bonding&amp;quot; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Why can&amp;#39;t it enter DFU with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS sets? No logs for this issue,it just reboot likes nothing happened.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148134?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 07:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401b872b-bc94-4f1e-9f5d-55a29d827bcb</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148133?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 07:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059f988b-cc26-4de5-a95c-d19fbe823d71</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Great that it helped. Could you please open a new issue for this? Opening a new issue would also help other users who might have faced the same issue! Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148131?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 07:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03c79cb0-7883-4cb3-8b52-9eaf4d50c025</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks your help. I can find the DFU device now, but it gets another issue when&amp;nbsp;DFU&amp;nbsp;is&lt;span&gt;&amp;nbsp;&lt;/span&gt;running.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;E/DfuImpl: Executing object failed (error 10)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;D/BluetoothGatt: onSearchComplete() = Device=C7:76:13:BC:5D:F2 Status=0
W/Notification: Use of stream types is deprecated for operations other than volume control
W/Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/BluetoothGatt: onConnectionUpdated() - Device=C7:76:13:BC:5D:F2 interval=13 latency=0 timeout=400 status=0
D/BluetoothGatt: onConnectionUpdated() - Device=C7:76:13:BC:5D:F2 interval=13 latency=0 timeout=400 status=0
D/BluetoothGatt: setCharacteristicNotification() - uuid: 8ec90001-f315-4f60-9fb8-838830daea50 enable: true
E/DfuImpl: Executing object failed (error 10)
W/Notification: Use of stream types is deprecated for operations other than volume control
W/Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/BluetoothGatt: cancelOpen() - device: C7:76:13:BC:5D:F2
D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=7 device=C7:76:13:BC:5D:F2
D/BluetoothGatt: refresh() - device: C7:76:13:BC:5D:F2
D/BluetoothGatt: close()
D/BluetoothGatt: unregisterApp() - mClientIf=7
E/UploadingFragment: Upload failed: UNKNOWN (8202)&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148118?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 04:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ddd270-5e33-4037-b6ca-262f4080372c</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hi Ralph, this is permission set in the manifest file. If you go in to your Android settings &amp;gt;&amp;gt; apps &amp;gt;&amp;gt; your application and check for permissions listed there. Also go to settings and security &amp;amp; location to see if location services is enabled. Please check if these two are enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/148111?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 01:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5f18224-c012-4b64-a111-8900b226816a</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I sure that I have enable location permission&amp;nbsp;on the device.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;uses-permission android:name=&amp;quot;android.permission.BLUETOOTH&amp;quot;/&amp;gt;
&amp;lt;uses-permission android:name=&amp;quot;android.permission.BLUETOOTH_ADMIN&amp;quot;/&amp;gt;
&amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_COARSE_LOCATION&amp;quot;/&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x120/__key/communityserver-discussions-components-files/4/permission.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After&amp;nbsp;setting&amp;nbsp;&lt;span&gt;setUseHardwareBatchingIfSupported(&lt;/span&gt;&lt;span class="pl-c1"&gt;false&lt;/span&gt;&lt;span&gt;), it still doesn&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Scanner Failed on Android O with SR3 v1.1</title><link>https://devzone.nordicsemi.com/thread/147467?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 06:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5739f20b-fb46-4ce2-b7fe-38b5d8849eef</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;Hi Ralph,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you ensure if you have enabled location permission and location services on the Device running Android O? This could be one of the reasons you may not see the scan results. Also you may try setting setUseHardwareBatchingIfSupported(&lt;span class="pl-c1"&gt;false&lt;/span&gt;). Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>