<?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>NRF5340: MCU Boot + SMP server callbacks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90821/nrf5340-mcu-boot-smp-server-callbacks</link><description>Hello, 
 we use nrf5340 with Connect SDK v2.0.0 and we have adopted rules for indicating the update process and the operation of the bootloader in the device. Therefore, I would like to know: 
 
 How can I understand that a connection to the server has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Aug 2024 14:42:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90821/nrf5340-mcu-boot-smp-server-callbacks" /><item><title>RE: NRF5340: MCU Boot + SMP server callbacks</title><link>https://devzone.nordicsemi.com/thread/496845?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 14:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ca82548-a341-4d19-ba79-b34158047e87</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;I don&amp;rsquo;t remember everything that is needed for this, since the project is now a little abandoned. The project configuration contains the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_SMP=y

CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;1.1.10+0&amp;quot;

CONFIG_MCUMGR=y
CONFIG_MCUMGR_SMP_BT=y
CONFIG_MCUMGR_SMP_BT_AUTHEN=n

CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_CMD_OS_MGMT=y

# Enable custom SMP request to erase settings partition.
CONFIG_MCUMGR_GRP_ZEPHYR_BASIC=y
CONFIG_MCUMGR_GRP_BASIC_CMD_STORAGE_ERASE=y

################################################################################
# Bootloader configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_UPDATEABLE_IMAGE_NUMBER=1

CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y
CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I did this with an eye on the documentation provided by Nordic. and Google search, of course. and a couple of issues were resolved in the Zephyr discord server&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340: MCU Boot + SMP server callbacks</title><link>https://devzone.nordicsemi.com/thread/496460?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 17:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec197f3-e481-44b2-82fd-cc870f2e40ee</guid><dc:creator>GiorgioG</dc:creator><description>&lt;p&gt;What are the CONFIGs to add and header files to include?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340: MCU Boot + SMP server callbacks</title><link>https://devzone.nordicsemi.com/thread/387631?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 08:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d344330f-703a-44f4-891d-126db88f4658</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;To get information about the progress of the update, just use the following code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;struct img_mgmt_dfu_callbacks_t dfuCallbacks;

dfuCallbacks.dfu_confirmed_cb = dfu_confirmed;
dfuCallbacks.dfu_started_cb = dfu_started;
dfuCallbacks.dfu_stopped_cb = dfu_stopped;
dfuCallbacks.dfu_pending_cb = dfu_pending;

img_mgmt_register_callbacks(&amp;amp;dfuCallbacks);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340: MCU Boot + SMP server callbacks</title><link>https://devzone.nordicsemi.com/thread/385202?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 09:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbbd92d3-ab0f-4c31-afa5-bfa3acb06f12</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;- Doctor, why is everyone ignoring me?&lt;br /&gt;- Next!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>