<?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>FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122889/fota-with-otbr-and-udp</link><description>Hi all, 
 I&amp;#39;m trying to set up MCUMGR on 54L15, such that it can receive images from my border router when they&amp;#39;re in the same Thread network. I read that we can upload images from our raspi given the IP address and port to send to. I think I&amp;#39;ve generated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Aug 2025 12:36:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122889/fota-with-otbr-and-udp" /><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/546907?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2025 12:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3fa526f-5927-413f-abad-cfc23034ad74</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for getting back to you a bit late. I was not sure about the issue, so I checked internally with some of my colleagues.&lt;/p&gt;
&lt;p&gt;Based on that, the &lt;em&gt;&amp;quot;IPv6 UDP MCUmgr thread is already running&amp;quot;&lt;/em&gt; error could indicate that&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/kconfig/index.html#CONFIG_MCUMGR_TRANSPORT_UDP_AUTOMATIC_INIT"&gt; &lt;code&gt;CONFIG_MCUMGR_TRANSPORT_UDP_AUTOMATIC_INIT&lt;/code&gt; &lt;/a&gt;is set. It is enabled by default, so could you try disabling this config in the application and see if that makes any difference? Also, please check the generated &lt;code&gt;.config&lt;/code&gt; file to verify whether this config is being enabled or not.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhij&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/545574?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2025 17:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:862cea0c-17d9-4249-88eb-7c8392c220c8</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1755105479848v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;There doesn&amp;#39;t need to be stress about setting the UDP port with the configuration, as I have verified that this does exist. What is actually confusing are the configurations in the zephyr repository. These are actually the configurations that are no longer supported and not recognized as symbols in the current version of the sdk. I would appreciate any ideas on why this is.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/545568?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2025 16:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75fb9455-1ad5-4fed-ac55-18764a139e10</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can find the&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/v2.3-branch/samples/subsys/mgmt/mcumgr/smp_svr/overlay-udp.conf"&gt; same in the Zephyr repository&lt;/a&gt; and check the branch you wish to review. I looked into the &lt;code&gt;prj.conf&lt;/code&gt; file you have shared, and I believe you have enabled all the necessary configurations. However, the setting &lt;code&gt;CONFIG_MCUMGR_TRANSPORT_UDP_PORT&lt;/code&gt; is a bit confusing, as I don’t see any such configuration option for setting the port.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/545453?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2025 01:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ad8e7b-627e-43ad-aaf3-a2ca1fac96d2</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you enlighten me on the previous versions of sample code for MCUMGR and UDP?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am pretty sure there is one&amp;nbsp;&lt;a href="https://gitlab.auto.tuwien.ac.at/auto/zephyr/-/blob/54cf9207e463919b621a2c60a8ecf9d46fbb6d1a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-udp.conf"&gt;here&lt;/a&gt;, but I believe it is taken down. There is also a discussion on this sample &lt;a href="https://github.com/apache/mynewt-mcumgr-cli/issues/17"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have tried using serial connection to upload images and list images, all of which are successful. However, the UDP is still stuck at NMP timeout.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/544158?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 02:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf5c684-cdc8-4109-9c80-d35f8761d5cd</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just another update, I tried sending more packets over to my device. All of them have timed out. But I also verified that connection to the device should okay, as shown below:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span style="color:#00ff00;"&gt;_@raspi5-2:~ $&lt;/span&gt; mcumgr --conntype udp --connstring [fdb4:4ee4:da2a:6d93:0:ff:fe00:3000]&lt;/code&gt;&lt;br /&gt;&lt;code&gt;:1337 echo hello&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Error: NMP timeout&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="color:#00ff00;"&gt;_@raspi5-2:~ $&lt;/span&gt; mcumgr --conntype udp --connstring [fdb4:4ee4:da2a:6d93:0:ff:fe00:3000]:1337 image list&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Error: NMP timeout&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="color:#00ff00;"&gt;_@raspi5-2:~ $&lt;/span&gt; nc -6 -u -v fdb4:4ee4:da2a:6d93:0:ff:fe00:3000 1337&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Connection to fdb4:4ee4:da2a:6d93:0:ff:fe00:3000 1337 port [udp/*] succeeded!&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The dump here also suggests that the packets were indeed delivered, but there has been no response:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1753927898721v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I read in another thread that we might need to enable certain configurations to ensure the handlers are enabled, such that my device will respond. I believe I have all the necessary configurations, here is my prj.conf file again, for reference:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Network shell comment out to remove CLI functionality 
CONFIG_SHELL=y
CONFIG_OPENTHREAD_SHELL=y
CONFIG_SHELL_ARGC_MAX=26
CONFIG_SHELL_CMD_BUFF_SIZE=416

# Enable OpenThread features set
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y

CONFIG_NET_L2_OPENTHREAD=y
CONFIG_NETWORKING=y

#THREAD CONFIGS
CONFIG_OPENTHREAD=y
CONFIG_OPENTHREAD_SRP_CLIENT=y
CONFIG_OPENTHREAD_FTD=y
CONFIG_OPENTHREAD_JOINER=y
CONFIG_OPENTHREAD_COMMISSIONER=y

CONFIG_SERIAL=n

#RTT CONFIG (Comment out if uart is on)
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_SHELL_BACKEND_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_SHELL_BACKEND_SERIAL=n

#UART CONFIGS FOR RECEIVING COMMANDS (Comment out if rtt is on)
# CONFIG_LOG=y
# CONFIG_SERIAL=y
# CONFIG_UART_CONSOLE=y
# CONFIG_SHELL_BACKEND_SERIAL=y
# CONFIG_USE_SEGGER_RTT=n
# CONFIG_RTT_CONSOLE=n
# CONFIG_SHELL_BACKEND_RTT=n

CONFIG_OPENTHREAD_OPERATIONAL_DATASET_AUTO_INIT=n
CONFIG_OPENTHREAD_DEBUG=y
CONFIG_OPENTHREAD_LOG_LEVEL_DEBG=y

# Storage
CONFIG_SETTINGS_ZMS=y
CONFIG_ZMS=y
CONFIG_NVS=n
CONFIG_SPI_NOR=n
CONFIG_PWM=y

CONFIG_MAIN_STACK_SIZE=6144
CONFIG_SHELL_STACK_SIZE=2048
CONFIG_MCUMGR_TRANSPORT_UDP_STACK_SIZE=2048

CONFIG_BOOTLOADER_MCUBOOT=y      # Enables image format compatibility

CONFIG_MCUMGR_TRANSPORT_UDP=y
CONFIG_MCUMGR_TRANSPORT_UDP_IPV6=y
CONFIG_NET_UDP=y
CONFIG_NET_IPV6=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
CONFIG_MCUMGR_TRANSPORT_UDP_PORT=1337

CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
CONFIG_CRC=y
CONFIG_MCUMGR=y

CONFIG_NET_SOCKETS=y
CONFIG_STATS=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUMGR_SMP_COMMAND_STATUS_HOOKS=y
CONFIG_MCUMGR_GRP_IMG=y
CONFIG_MCUMGR_GRP_OS=y
CONFIG_MCUMGR_GRP_STAT=y
CONFIG_STREAM_FLASH=y
CONFIG_MCUBOOT_IMG_MANAGER=y

CONFIG_MCUMGR_MGMT_NOTIFICATION_HOOKS=y
CONFIG_MCUMGR_GRP_IMG_STATUS_HOOKS=y
CONFIG_MCUMGR_GRP_IMG_IMAGE_SLOT_STATE_HOOK=y
CONFIG_MCUMGR_GRP_IMG_IMAGE_SLOT_STATE_STATES=20
CONFIG_MCUMGR_LOG_LEVEL_DBG=y

CONFIG_THREAD_MONITOR=y
CONFIG_MCUMGR_GRP_OS_TASKSTAT=y
CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE=1024
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=y
CONFIG_MCUMGR_TRANSPORT_WORKQUEUE_STACK_SIZE=4608

CONFIG_FLASH=y
CONFIG_FLASH_MAP=y



&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/544147?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2025 18:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e30fe8-ed7a-4f5a-9449-d02d86dc8093</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Totally understandable, I was also on a break yesterday so I was unable to get back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is a relevant chunk of code and log from my nRF54l15 development board. I call smp_udp_open from the state changed callback function; when my device attaches to the network as a child, it will call smp_udp_open.&lt;/p&gt;
&lt;p&gt;However, I am unsure of what exactly is producing the error. If the function did not return successfully, then according to my code it should log &amp;quot;Error initializing SMP UDP transport with smp_udp_open()&amp;quot;? However, this log is not present, this may be an indication that smp_udp_open probably returned successfully. We are however, seeing another error that was not manually written by me, I am suspecting that one of the configurations in &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;prj.conf&lt;/span&gt; lead to this. The full list of my configurations are attached below for your reference. Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1753900888303v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_APP_LIGHTS=y
# Network shell comment out to remove CLI functionality 
CONFIG_SHELL=y
CONFIG_OPENTHREAD_SHELL=y
CONFIG_SHELL_ARGC_MAX=26
CONFIG_SHELL_CMD_BUFF_SIZE=416

# Enable OpenThread features set
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y

CONFIG_NET_L2_OPENTHREAD=y
CONFIG_NETWORKING=y

#THREAD CONFIGS
CONFIG_OPENTHREAD=y
CONFIG_OPENTHREAD_SRP_CLIENT=y
CONFIG_OPENTHREAD_FTD=y
CONFIG_OPENTHREAD_JOINER=y
CONFIG_OPENTHREAD_COMMISSIONER=y

CONFIG_SERIAL=n

#RTT CONFIG (Comment out if uart is on)
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_SHELL_BACKEND_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_SHELL_BACKEND_SERIAL=n

#UART CONFIGS FOR RECEIVING COMMANDS (Comment out if rtt is on)
# CONFIG_LOG=y
# CONFIG_SERIAL=y
# CONFIG_UART_CONSOLE=y
# CONFIG_SHELL_BACKEND_SERIAL=y
# CONFIG_USE_SEGGER_RTT=n
# CONFIG_RTT_CONSOLE=n
# CONFIG_SHELL_BACKEND_RTT=n

CONFIG_OPENTHREAD_OPERATIONAL_DATASET_AUTO_INIT=n
CONFIG_OPENTHREAD_DEBUG=y
CONFIG_OPENTHREAD_LOG_LEVEL_DEBG=y

# Storage
CONFIG_SETTINGS_ZMS=y
CONFIG_ZMS=y
CONFIG_NVS=n
CONFIG_SPI_NOR=n
CONFIG_PWM=y

CONFIG_MAIN_STACK_SIZE=6144
CONFIG_SHELL_STACK_SIZE=2048
CONFIG_MCUMGR_TRANSPORT_UDP_STACK_SIZE=2048

CONFIG_BOOTLOADER_MCUBOOT=y      # Enables image format compatibility

CONFIG_MCUMGR_TRANSPORT_UDP=y
CONFIG_MCUMGR_TRANSPORT_UDP_IPV6=y
CONFIG_MCUMGR_TRANSPORT_UDP_PORT=8905

CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
CONFIG_CRC=y
CONFIG_MCUMGR=y

CONFIG_NET_SOCKETS=y
CONFIG_STATS=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUMGR_GRP_IMG=y
CONFIG_MCUMGR_GRP_OS=y
CONFIG_MCUMGR_GRP_STAT=y
CONFIG_STREAM_FLASH=y

CONFIG_MCUMGR_MGMT_NOTIFICATION_HOOKS=y
CONFIG_MCUMGR_GRP_IMG_STATUS_HOOKS=y
CONFIG_MCUMGR_GRP_IMG_IMAGE_SLOT_STATE_HOOK=y
CONFIG_MCUMGR_GRP_IMG_IMAGE_SLOT_STATE_STATES=20
CONFIG_THREAD_MONITOR=y
CONFIG_MCUMGR_GRP_OS_TASKSTAT=y
CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE=2475
CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=y
CONFIG_MCUMGR_TRANSPORT_WORKQUEUE_STACK_SIZE=4608

CONFIG_FLASH=y
CONFIG_FLASH_MAP=y


&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/543746?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 12:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ee3981-6545-4f99-96ea-d67b8c928e4d</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for getting back to you late. It&amp;#39;s summer vacation here in Norway, and many are on vacation, which has created some delay in getting back to this.&lt;/p&gt;
[quote user="Allan-led"], could you please clarify what you mean by the nRF side?&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;Coming back to the issue:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;By &lt;em&gt;nRF side&lt;/em&gt;, I mean the logs from the nRF54L15 to see whether it is responding to the mcumgr commands. How do you open the socket? Are you using&lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/smp_udp_8h.html#a768f36cea02d7d7781113d36516e1763"&gt; &lt;code&gt;smp_udp_open()&lt;/code&gt;&lt;/a&gt;? Can you add a log after calling &lt;code&gt;smp_udp_open()&lt;/code&gt;?&lt;/p&gt;
&lt;p&gt;I am not sure if using the Kconfig option &lt;code&gt;MCUMGR_TRANSPORT_UDP_PORT&lt;/code&gt; can be used to configure the port number.&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/dfu_tools_mcumgr_cli.html"&gt; In this example, it is done at runtime not via Kconfig&lt;/a&gt;, and the application has been built with the appropriate UDP transport like&amp;nbsp;&lt;code&gt;CONFIG_MCUMGR_TRANSPORT_UDP_IPV4&lt;/code&gt; or &lt;code&gt;CONFIG_MCUMGR_TRANSPORT_UDP_IPV6&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/543411?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 23:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd60e2a3-f4ac-456c-b33d-2054a70d4921</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hello is anyone still able to assist with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542674?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 17:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3bf97a-a25c-4329-ba6c-03a1b1f9d473</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, could you please clarify what you mean by the nRF side?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I have always been looking at the debug logs from the RTT. In the example below, I&amp;#39;m sending the image list to port 8341 (instead of the correct MCUMGR_TRANSPORT_UDP_PORT, this is the port where I have a handler that prints the bytes received. I have trouble logging the outputs of another port) :&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1752685397463v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I believe the above is an indication of the pi and nRF54L15 are connected, and I&amp;#39;m able to catch the bytes sent to me this way, but just at the wrong port.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have configured&amp;nbsp;&lt;span&gt;CONFIG_MCUMGR_TRANSPORT_UDP_PORT&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;8905, but when I specify this port while sending the mcumgr command, it also gives NMP timeout and the progress bar is stuck at 0% during the upload. Is there any code that I need to set up manually for this to work out? So far I&amp;#39;ve only enabled the relevant configurations and haven&amp;#39;t written extra code related to FOTA.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Allan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542660?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 14:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb1a7f56-002e-45f8-8c76-7c1f78c57d64</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you checking the logs from the nRF side? If so, what do they say? Is there any log that confirms the &lt;code&gt;mcumgr&lt;/code&gt; command has been received?&lt;br /&gt; I wanted to know which side is failing, the Pi or the nRF54.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542450?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2025 01:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55fae372-4eee-4818-ab91-56a70d55c131</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Increasing the buffer size did allow me to capture all of the bytes sent to me (I tried logging the bytes from a custom port, not 1337). However, it appears to me that I have not started the process correctly. I configured the SMP TRANSPORT UDP, and from the logs alone, I think it is starting correctly (the smp_udp module logged success):&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1752541438893v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I also&amp;nbsp;tried executing ping6 &amp;lt;ipv6&amp;gt; on the pi:&lt;/p&gt;
&lt;p&gt;279 packets transmitted, 233 received, 16.4875% packet loss, time 279378ms&lt;br /&gt;rtt min/avg/max/mdev = 12.510/16.910/28.840/3.133 ms&lt;/p&gt;
&lt;p&gt;The statistics above suggest that my device is indeed reachable, with occasional packet loss.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, executing mcumgr commands result in a timeout. It never responds, and even if we try sending the packages, the process bar still gets stuck at 0%.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;mcumgr --conntype udp --connstring [fdb4:4ee4:da2a:6d93:0:ff:fe00:b400]:1337 image list&lt;br /&gt;Error: NMP timeout&lt;/p&gt;
&lt;p&gt;mcumgr --conntype udp --connstring [fdb4:4ee4:da2a:6d93:0:ff:fe00:b400]:1337 im&lt;br /&gt;age upload dfu/ot-light-base.signed.bin&lt;br /&gt; 0 B / 492.27 KiB [-------------------------------------------------------------------------] 0.00%&lt;/p&gt;
&lt;p&gt;I&amp;#39;d appreciate any help, thanks!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542431?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 17:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18d686bc-97a3-49ce-abea-725238fa93fe</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will try increasing the buffer size and let you know how it goes as soon as possible. However, we must use the approach with OTBR and UDP.&lt;/p&gt;
&lt;p&gt;I am using v3.0.1 of the nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Allan Wang&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542367?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 11:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:760a4d5f-b5e9-47fd-87dc-4a18f8f49a48</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you check&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_transport.html#uartserial_and_console:~:text=SMP%20protocol%20specification%20by,is%20actually%20124%20bytes."&gt; the SMP specification&lt;/a&gt;, a 64-byte buffer might work for SMP over UART, since it deals with small, framed, base64-encoded packets&amp;nbsp;with a size limit of around 127 bytes.&lt;/p&gt;
&lt;p&gt;But for SMP over UDP, this buffer size is likely too small. I suggest starting with a 512-byte buffer, and increasing it to 1024 bytes if you encounter issues like stalled uploads or dropped packets.&lt;/p&gt;
&lt;p&gt;Which SDK version is this, because the link you shared points to an old SDK version?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA with OTBR and UDP</title><link>https://devzone.nordicsemi.com/thread/542289?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 23:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9da2a03a-c622-4dcf-b041-a26fc4a2b15f</guid><dc:creator>Allan-led</dc:creator><description>&lt;p&gt;As an update, I have resolved the problems described above. I am able to initiate the image upload at this point, it gets captured, but blocked off by my udp callback handler. This is because the udp callback handler only allocates a buffer of size 64 bytes, which was mainly for previous design. How much should I increase it to this time? I don&amp;#39;t really want to deal with a huge buffer for every udp message that I receive...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>