<?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 with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18609/dfu-with-encrypted-connection-sdk-11-stuck-in-dfu_ble_svc_peer_data_set</link><description>Hi I am using sdk 11 and adding DFU to my application 
 My application always stuck at dfu_ble_svc_peer_data_set(&amp;amp;m_peer_data);
in function &amp;#39;static void dfu_app_peer_data_set(uint16_t conn_handle)&amp;#39; 
 Before asking a question
I already saw this page</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Dec 2016 14:58:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18609/dfu-with-encrypted-connection-sdk-11-stuck-in-dfu_ble_svc_peer_data_set" /><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71841?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 14:58:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe510e3-4723-4642-a1fc-74af9f317f4c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi kibo,&lt;/p&gt;
&lt;p&gt;I assume you followed all the steps &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_appextending.html?cp=4_0_3_4_3_1_2_1"&gt;here&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;In the bootloader have you made sure you setup IRAM2 from 0x20007F80 size 0x80 and tick NoInit (if you are using KEIL)&lt;/p&gt;
&lt;p&gt;You can try to add DFU service into one of our example, such as the proximity example, to reproduce the issue, and then send me your project so I can test here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71840?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 14:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9246ae02-66f1-4097-acdf-40b91bd46eee</guid><dc:creator>kibo</dc:creator><description>&lt;p&gt;I printed all ble_event with RTT Viewer.
I used SEGGER_RTT_printf function to print event id in ble_evt_dispatch function
Here are my application&amp;#39;s BLE event steps.
0x10
0x14
0x13
0x12
0x1A
0x30
0x19
0x12
0x50
0x50
0x50
0x51
I am not sure this information is helpful.&lt;/p&gt;
&lt;p&gt;And sometimes my application stuck at dfu_ble_svc_peer_data_set function or GATT Error is occurred.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71839?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 14:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:776ae43d-518c-462e-b953-80dfd4b34579</guid><dc:creator>kibo</dc:creator><description>&lt;p&gt;Yes, I tried ble_app_hrs with DFUexample. It works well.
I use SAMSUNG GALAXY Note 5 and nRF Toolbox
Here are my steps.
Select my device and zip file then, press UPLOAD button&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71838?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 10:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93cf4712-364a-4720-a9f5-f056f52f2f88</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you tried to test with the buttonless application ble_app_hrs_with_dfu in our SDK ?
Could you state the steps you do when testing? start with programming the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71837?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 10:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5da111-c937-4ca1-966a-0f0acaec654d</guid><dc:creator>kibo</dc:creator><description>&lt;p&gt;Yes, I use device manager.
I use device_manager_peripheral.c file
And I checked that dfu_ble_svc_peer_data_set function is in bootloader&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu with encrypted connection(SDK 11). stuck in dfu_ble_svc_peer_data_set</title><link>https://devzone.nordicsemi.com/thread/71836?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 10:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e2955c-d963-498a-ac07-34bc44da3d8b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi kibo,&lt;/p&gt;
&lt;p&gt;Have you flashed the bootloader ? And in the bootloader the SVC call for dfu_ble_svc_peer_data_set is declared (as in our bootloader example).&lt;/p&gt;
&lt;p&gt;Do you use device manager in your application ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>