<?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>BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54090/ble-dfu-example-is-not-connectable</link><description>Hi, 
 I have been trying to get the BLE secure DFU example working on a custom board (nrf52840 - BC840 module). I tried it on SDK 15 and SDK 16. When I flash the BLE DFU, I can see it advertise on my mobile (nrfConnect) but I am unable to connect. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 01:33:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54090/ble-dfu-example-is-not-connectable" /><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/250557?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 01:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee22f29-a642-4620-a814-b9a494f08b96</guid><dc:creator>moose</dc:creator><description>&lt;p&gt;I have the same exact problem. Can I please get help form nordic to debug this issue? I am not expecting any hardware update to my board so I need to get it going. We are using BMD-301. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/219101?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 14:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0629247-cefd-4238-8d62-35fd356a2751</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;A new board arrived with an ISP-1807 module and this issue is no longer a problem. I am not sure why it was causing issues on the BC840 module - and it was confusing because everything else worked except the bootloader. Even during normal application, I could advertise and connect on my phone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyway, this now works on the new board. Thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/219015?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 10:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f40106-6678-4d71-a13e-dd48fb0bf6ae</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Ok so, I got this from the RTT Viewer&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;00&amp;gt; info&amp;gt; app: Inside main
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: In nrf_bootloader_init
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_settings: Using settings page.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_settings: Copying forbidden parts from backup page.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
00&amp;gt; 
&amp;lt;00&amp;gt; info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0xFE000.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: Enter nrf_bootloader_fw_activate
00&amp;gt; 
&amp;lt;00&amp;gt; info&amp;gt; app: No firmware to activate.
00&amp;gt; 
&amp;lt;00&amp;gt; info&amp;gt; app: Boot validation failed. No valid app to boot.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: DFU mode because app is not valid.
00&amp;gt; 
&amp;lt;00&amp;gt; info&amp;gt; nrf_bootloader_wdt: WDT is not enabled
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: in weak nrf_dfu_init_user
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: timer_stop (0x200057C4)
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: timer_activate (0x200057C4)
00&amp;gt; 
&amp;lt;00&amp;gt; info&amp;gt; app: Entering DFU mode.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: Initializing transports (found: 1)
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Initializing BLE DFU transport
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Setting up vector table: 0x000F1000
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Enabling SoftDevice.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Configuring BLE stack.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Enabling the BLE stack.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: No advertising name found
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Using default advertising name
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: Advertising...
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_ble: BLE DFU transport initialized.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_sd backend.
00&amp;gt; 
&amp;lt;00&amp;gt; debug&amp;gt; app: Enter main loop
00&amp;gt; &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And this is the log from my mobile phone.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot_5F00_2019_2D00_11_2D00_07_2D00_10_2D00_20_2D00_23_2D00_477_5F00_no.nordicsemi.android.mcp.png" /&gt;&lt;img alt=" " height="225" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_11_2D00_07-at-10.25.07.png" width="267" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you can see I tried to connect 4 times. This error code is different than the one I get from the&amp;nbsp;&lt;span&gt;pca10056_s140_ble project.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/219005?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 10:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f5469c-9419-48d6-895a-68d042ebac82</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, could you flash the debug version of the bootloader example for the nRF52840, i.e. the one found in&amp;nbsp;nRF5_SDK_16.0.0_684aa2c\examples\dfu\secure_bootloader\pca10056_s140_ble_debug and post the log output from the device when you connect to it with your smartphone. Also please post the entire log from nRF Connect on the mobile side.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/218987?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 09:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c73b7fa-1eb1-461d-9a18-df5493f59d4a</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Yes your correct, the log is from the nRF Connect app on my smartphone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have not set it. This is in the sdk_config:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/218975?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 08:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6da1b6a-dd19-4101-a9c3-9d71b2b35ceb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi mredp,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is the log, i.e.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connected to [MAC ADDRESS]
Connection parameters updae failed with status 8 (interval: 45.0ms, latency: 0, timeout: 5000ms)
Error 8 (0x8): GATT INSUF AUTHORIZATION
Error 8 (0x8): GATT CONN TIMEOUT
Disconnected&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;from the nRF52840 side or the nRF Connect app on your smartphone?&lt;/p&gt;
&lt;p&gt;GATT INSUF AUTHORIZATION usually means that the security level of the link does not match the security requirement set in the characteristic you are trying to read/write to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you set&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS to 1 in the bootloader sdk_config.h file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/218792?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 10:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8adcff46-e967-42ce-9618-0b07482561f5</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Another update. Once I OTA update the device using PC (nrfConnect). Then I can connect to my application using my phone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it appears that the only issue is that the my phone can&amp;#39;t connect to the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/218784?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 10:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f8bd64d-caee-428e-9655-a75e687865c6</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Sorry I spoke too soon, I am unable to replicate this success. I still am having issues connecting with my phone. Which is strange because I never have issues connecting with my own app - only when I flash the bootloader.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The error message is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connected to [MAC ADDRESS]
Connection parameters updae failed with status 8 (interval: 45.0ms, latency: 0, timeout: 5000ms)
Error 8 (0x8): GATT INSUF AUTHORIZATION
Error 8 (0x8): GATT CONN TIMEOUT
Disconnected&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU example is not connectable</title><link>https://devzone.nordicsemi.com/thread/218779?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 10:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d268af-0702-4314-8397-8e838f8b3bc8</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Ok I solved it,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I needed to change these lines in the sdk_config:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_DFU_ANT_MTU 1024
#define NRF_DFU_BLE_MIN_CONN_INTERVAL 12

#define NRF_DFU_BLE_MAX_CONN_INTERVAL 12&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Change them to:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_DFU_ANT_MTU 247
#define NRF_DFU_BLE_MIN_CONN_INTERVAL 10

#define NRF_DFU_BLE_MAX_CONN_INTERVAL 15&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Changing just the MTU or Just the connection interval didn&amp;#39;t work. I had to change both.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am not 100% certain why this is necessary, I assume my phone can only handle certain values?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>