<?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>ANCS &amp;amp; DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11702/ancs-dfu</link><description>Hi, everyone 
 I add the dfu service codes to the ancs sample program, the dfu service codes comes from the heart rate sample, and download the bootloader codes to the device. The result is that I can successfully update the device sometimes, but another</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Feb 2016 13:02:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11702/ancs-dfu" /><item><title>RE: ANCS &amp; DFU</title><link>https://devzone.nordicsemi.com/thread/44232?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2016 13:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfb89044-a668-4e68-bec6-6e28d936cecc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Attached a modified version of the ANCS example that should  support &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_application.html?cp=4_0_1_4_3_1_2"&gt;buttonless DFU&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_appbonding.html?cp=4_0_1_4_3_1_2_3"&gt;sharing of bond information&lt;/a&gt;. See the &amp;#39;diff&amp;#39; file in the chip for an overview of the changes I did.&lt;/p&gt;
&lt;p&gt;error code 0x8043 (DM_DEVICE_CONTEXT_FULL) is notified to the application when the bond table is full. One possible way of handling this event is shown in this example here : &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-peripheral-bond-handling"&gt;github.com/.../nRF51-ble-peripheral-bond-handling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attachment:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf51_5F00_sdk_5F00_9.0.0_5F00_ancs_5F00_dfu_5F00_160216.zip"&gt;nrf51_sdk_9.0.0_ancs_dfu_160216.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS &amp; DFU</title><link>https://devzone.nordicsemi.com/thread/44231?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 02:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee7cdfb-c7cd-4d2a-9a8d-4c4d8ff6c55b</guid><dc:creator>Frank</dc:creator><description>&lt;p&gt;Line 446 in ANCS example.&lt;/p&gt;
&lt;p&gt;No, I mean the device paired with the phone before OTA, and I want it still to pair with the phone automatically after OTA. But it just cannot after that, always toggled between &amp;quot;connected&amp;quot; and &amp;quot;disconnected&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS &amp; DFU</title><link>https://devzone.nordicsemi.com/thread/44230?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 14:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2e71f83-845d-4f33-9888-c699d35da1e7</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;On which line does this error occur?&lt;br /&gt;
Do you mean that you create a new bond every time you connect? e.g. delete the bone on iOS? I&amp;#39;m not sure I understand what you do to trigger this error. Note that Bond info can be retained so you don&amp;#39;t have to create a new bond all the time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS &amp; DFU</title><link>https://devzone.nordicsemi.com/thread/44229?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2016 06:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9da2eac0-8b06-469b-91c3-d996c8424ac8</guid><dc:creator>Frank</dc:creator><description>&lt;p&gt;I‘ve found out the reason why the error occurs -- the reset prepare program before dfu. I close the db discovery, disable the ancs notification, stop the adc module and stop all timers disable the gpiote in event, then it succeeds every time.&lt;/p&gt;
&lt;p&gt;but now there&amp;#39;s another problem. It&amp;#39;s about bonding. the ancs sample erase the bonds by press button, but my board has no button, and I don&amp;#39;t need to erase the bonds, the result I want is after I update the firmware,  the device can quickly pair with the phone it paired before without other operations.&lt;/p&gt;
&lt;p&gt;So I set initial value &amp;quot;false&amp;quot; to the boolean variable erase_bonds. And it did worked well for several times. However, it failed finally. Several times later, it cannot paired with the phone. The error information is :&lt;/p&gt;
&lt;p&gt;error occurs at device_manager_evt_handler --&amp;gt; APP_ERROR_CHECK(event_result);
error code: 0x8043&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS &amp; DFU</title><link>https://devzone.nordicsemi.com/thread/44228?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 16:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a150ec70-0cc3-4361-8243-964e99e5af28</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;A good start would be to go through the &lt;a href="https://devzone.nordicsemi.com/tutorials/9/setting-up-device-firmware-updatedfu-on-the-nrf51-/"&gt;DFU tutorial&lt;/a&gt;. I assume you have added all the code from the HRS example that is within BLE_DFU_APP_SUPPORT #ifdef&amp;#39;s?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>