<?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>mcumgr relay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111226/mcumgr-relay</link><description>Does mcumgr support relay functionality? On one device, I have a firmware image stored in external flash connected to a 9160 and need to relay that image via UART to an on-board 52833 in order to BLE-FOTA another device, all running zephyr. Is there a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 May 2024 16:51:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111226/mcumgr-relay" /><item><title>RE: mcumgr relay</title><link>https://devzone.nordicsemi.com/thread/484763?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 16:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baa880ac-e91e-40db-8611-ce45c852c4c6</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;This is great info, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcumgr relay</title><link>https://devzone.nordicsemi.com/thread/484728?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 14:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15260080-56eb-4def-8064-a2246e323717</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The mcumgr does not directly support relay functionality. However,&amp;nbsp;&lt;span&gt;The Zephyr Project supplies&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/services/device_mgmt/mcumgr.html" rel="nofollow"&gt;mcumgr&lt;/a&gt;&lt;span&gt;&amp;nbsp;as a SMP Client. The mcumgr library can help with receiving the images and writing them&lt;/span&gt;&lt;span&gt;&amp;nbsp;over Bluetooth Low Energy, UART, and UDP over IP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;To communicate with MCUmgr, you need an SMP Client. An implementation is available in&amp;nbsp;NCS. It is demonstrated in this sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/samples/bluetooth/central_smp_client/README.html"&gt;Bluetooth: Central SMP Client&lt;/a&gt;.&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;If you want to work with NCS&amp;#39;s built-in solution, your nRF&lt;span&gt;9160&amp;nbsp;&lt;/span&gt;module needs to support an SMP Client. You might be able to port it from NCS&amp;#39;s implementation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can use &amp;nbsp;the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP Server Sample&lt;/a&gt; on the&amp;nbsp;nRF52833 Peripheral device, swapping out the transport layer from Serial to Bluetooth.&amp;nbsp;This sample includes several Kconfig fragments to enable different MCUmgr transport methods, such as&amp;nbsp;overlay-serial.conf for UART transport.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My colleague, Hellesvik, provides some such samples here:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Please note that these samples on Hellesvik&amp;#39;s&amp;nbsp;repository are unofficial, not tested, and only maintained during contributors&amp;#39; free time.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>