<?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>Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61626/establish-connection-for-dfu-implementing-dfu-master-over-ble</link><description>Hello, 
 I implement my own DFU master in nrf52 using SDK11 to replace use of Nordic mobile App. Target to upgrade is also nrf52 but with SDK15. 
 I have difficulty to get GAP connection. 
 From master I initiate connection with : 
 In bootloader of peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Dec 2022 02:05:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61626/establish-connection-for-dfu-implementing-dfu-master-over-ble" /><item><title>RE: Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/thread/400035?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 02:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2967d445-d0ff-4b78-8095-0f876be6035d</guid><dc:creator>Son Ha</dc:creator><description>&lt;p&gt;hi Vincent, I have a relatively similar project with yours. I wonder if I can get your source code for reference please?&lt;br /&gt;&lt;br /&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/thread/252433?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 13:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e19c0e48-4ee0-4cc9-b84e-050d658ca694</guid><dc:creator>Vincent Smf</dc:creator><description>&lt;p&gt;Hello Marjeris,&lt;/p&gt;
&lt;p&gt;Could you precise the implementation in sdk11?&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: Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/thread/251982?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0202c66-b6cd-46ca-ac52-771621d0486d</guid><dc:creator>Vincent Smf</dc:creator><description>&lt;p&gt;Hello Marjeris,&lt;/p&gt;
&lt;p&gt;Nice to hear you. The master DFU use SDK11 and I am looking now for the way to enable Service Changed characteristic in SDK11.&lt;/p&gt;
&lt;p&gt;I found the enum SD_BLE_GATTS_SERVICE_CHANGED but I don&amp;#39;t know where to enable it (there is no sdk_config.h).&lt;/p&gt;
&lt;p&gt;Best regards and thanks for the support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/thread/251883?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 09:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:732fb7b6-3810-4e04-83f6-371c73f2f211</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. The DFU master sends a BLE_GAP_EVT_SEC_PARAMS_REQUEST, but the bootloader doesn&amp;#39;t support bonding or pairing.&lt;/p&gt;
&lt;p&gt;What happens then is that sd_ble_gatts_value_get() returns NRF_ERROR_NOT_FOUND and this gets picked up by APP_ERROR_CHECK, which causes the nRF to reset.&lt;/p&gt;
&lt;p&gt;Have you added the Service Changed characteristic on the DFU master? You can do this by changing the NRF_CONFIG macro &lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_SDH_BLE_SERVICE_CHANGED&lt;/pre&gt;&lt;br /&gt;to 1 in the sdk_config.h file in SDK v16.0.0.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Establish connection for DFU (implementing DFU master over BLE)</title><link>https://devzone.nordicsemi.com/thread/250968?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 12:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0dc229-3ed7-4cea-9ce6-b9a1bd94d8e5</guid><dc:creator>Vincent Smf</dc:creator><description>&lt;p&gt;One precision, at the moment I loaded only bootloader in the target. After DFU, firmware image is well loaded but I cannot connect again if I try launching an other DFU it does not enter in bootloader within my implementation (work with mobile App).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>