<?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>SMP (DFU) service enabling/disabling - can I set the default in kconfig?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127169/smp-dfu-service-enabling-disabling---can-i-set-the-default-in-kconfig</link><description>nRF54L10 + NCS 3.02 
 A simple question: So I found CONFIG_MCUMGR_TRANSPORT_BT_DYNAMIC_SVC_REGISTRATION=y which lets me enable/disable the SMP service. Is there another config to make the default disabled, or do I need to call smp_bt_unregister() on startup</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Feb 2026 13:47:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127169/smp-dfu-service-enabling-disabling---can-i-set-the-default-in-kconfig" /><item><title>RE: SMP (DFU) service enabling/disabling - can I set the default in kconfig?</title><link>https://devzone.nordicsemi.com/thread/562049?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 13:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2fe66a0-842b-4d73-beb1-86e35f746085</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;OK thanks. Caching isn&amp;#39;t an issue here as the actual DFU will probably be done using nRF Connect once we enable it using our own config app or CLI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP (DFU) service enabling/disabling - can I set the default in kconfig?</title><link>https://devzone.nordicsemi.com/thread/562033?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 12:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b6991b-069f-4f7c-a235-ae2cab95cba6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To remove the service, you will need to call smp_bt_unregister() on startup before starting the advertiser since it is added unconditionally by the BT transport here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/baf177647fc40c5b87d35b24f13b5e4174bd7de3/subsys/mgmt/mcumgr/transport/src/smp_bt.c#L676"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/baf177647fc40c5b87d35b24f13b5e4174bd7de3/subsys/mgmt/mcumgr/transport/src/smp_bt.c#L676&lt;/a&gt;. And as you may know, when adding/removing services from the attribute table, it is important to consider potential issues related to attribute caching&amp;nbsp;(&lt;a href="https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/Core-54/out/en/host/generic-attribute-profile--gatt-.html#UUID-542d3f08-c238-c464-d662-b3982828e5bc"&gt;2.5.2. Attribute caching&lt;/a&gt;). The DFU client must do a new service discovery after the service is registered.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>