<?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>Secure buttonless DFU operation fails when DFU service is enabled after initialization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83879/secure-buttonless-dfu-operation-fails-when-dfu-service-is-enabled-after-initialization</link><description>Hello, 
 In my application (SDK, 16.0.0, nRF 52840) I need to enable the DFU service after initialization, which I do by exposing a custom service &amp;quot;DFU enable&amp;quot;. This in turn allows to read/write a uint8_t property which I check in the code, inside the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jan 2022 14:04:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83879/secure-buttonless-dfu-operation-fails-when-dfu-service-is-enabled-after-initialization" /><item><title>RE: Secure buttonless DFU operation fails when DFU service is enabled after initialization</title><link>https://devzone.nordicsemi.com/thread/349289?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 14:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51dd58e8-fe6e-4ced-85e5-1a3829e8f65a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Stefano,&lt;/p&gt;
&lt;p&gt;That makes sense. You should have got an error returned when trying to add another UUID with the&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT being too low, though. So I suggest double checking that you properly check all return codes to avoid other bad surprises in the future (or risk spending longer than necessary tracking down bugs/errors in the future).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure buttonless DFU operation fails when DFU service is enabled after initialization</title><link>https://devzone.nordicsemi.com/thread/348985?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 14:42:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77b04c2e-5ff1-4d80-a0a2-3a3266b2e7be</guid><dc:creator>ste2108</dc:creator><description>&lt;p&gt;Dear Einar,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. In the end what worked for me was to increase the&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT parameter in the sdk_config by the number of UUIDs added (I forgot that while adding the custom service). This was somehow troubling the DFU, even though the custom characteristic I added seemd to work fine anyhow. Do you have by any chance an explanation for that?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Stefano&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure buttonless DFU operation fails when DFU service is enabled after initialization</title><link>https://devzone.nordicsemi.com/thread/348934?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 13:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55164998-576b-4204-aded-f0b09803d004</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Stefano,&lt;/p&gt;
&lt;p&gt;I do not see any explanation for this, and I was not able to reproduce it with a slightly modified buttonless example in nRF5 SDK 16.0.0 (see below). Perhaps you also do some other changes? Can you explain/show?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2451.main.c.diff"&gt;devzone.nordicsemi.com/.../2451.main.c.diff&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>