<?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>Disable and enable BLE OTA/DFU service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117965/disable-and-enable-ble-ota-dfu-service</link><description>Hi, 
 
 Platform: nRF54L15, SDK 2.9 
 
 The application is Matter + BLE. CONFIG_CHIP_DFU_OVER_BT_SMP &amp;amp; MCUBoot are part of the configuration. As soon as we enable the BLE services(via BLE ADV arbiter), the BLE DFU/OTA service are also enabled. 
 
 #1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Jan 2025 14:47:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117965/disable-and-enable-ble-ota-dfu-service" /><item><title>RE: Disable and enable BLE OTA/DFU service</title><link>https://devzone.nordicsemi.com/thread/518185?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 14:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36483e88-0c40-4a28-a0f6-87b4f73aff0d</guid><dc:creator>SubuMuthu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I understand that Matter uses different DFU, which is already working for us.&amp;nbsp;For clarity,&amp;nbsp; I am talking about BLE OTA&amp;nbsp; via&amp;nbsp; GATT DFU SMP service (&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/bluetooth/services/dfu_smp.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/bluetooth/services/dfu_smp.html&lt;/a&gt;) we want to update the firmware using BLE for this matter product. We are also able to do that.&lt;/p&gt;
&lt;p&gt;Rephrasing the questions:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#1: &lt;span&gt;we would like to enable and disable the BLE OTA from our&amp;nbsp; application.&amp;nbsp; Is there a way to do it?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Subu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable and enable BLE OTA/DFU service</title><link>https://devzone.nordicsemi.com/thread/518171?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 14:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a72ef6ba-376b-47c6-abb1-e7bbad73a3cf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]#1. Is&amp;nbsp; there way to disable and enable the DFU? we looked at&amp;nbsp;dfu/smp/dfu_over_smp, which has a API for starting the service but I don&amp;#39;t this API is called.&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;Matter uses a different DFU config rather than&amp;nbsp;&lt;span&gt;dfu_over_smp.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;To configure the application to support the DFU over Matter and SMP, you can use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_DFU_OVER_BT_SMP&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can disable DFU support &lt;/span&gt;&lt;span&gt;by setting the&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_DFU_OVER_BT_SMP&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-2.6.99-cs2/page/kconfig/index.html#CONFIG_CHIP_OTA_REQUESTOR"&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_OTA_REQUESTOR&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;Kconfig options to&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;n&lt;/span&gt;&lt;/code&gt;&lt;span&gt;, and removing the&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;pm_static_nrf54l15pdk_nrf54l15_cpuapp_release.yml&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;file if you are using a Matter sample from NCS.&lt;/span&gt;&lt;/p&gt;
[quote user=""]#3. Clarification: we assume that the DFU uses the same level of security as the other services. For example, if we set a customer service to L4(encryption),&amp;nbsp; DFU will also be encrypted?[/quote]
&lt;p&gt;You can additionally require BLE pairing to perform OTA update with&amp;nbsp;&lt;span dir="ltr"&gt;CONFIG_MCUMGR_TRANSPORT_BT_AUTHEN.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>