<?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 OTA using dev board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115476/smp-ota-using-dev-board</link><description>Hi there, I am working on SMP client server application where I want to do the DFU of server from the client side where both the server and client are nrf52840 dev boards. I want to send SMP commands to start the DFU on server side. I am using the sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Oct 2024 07:26:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115476/smp-ota-using-dev-board" /><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506628?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 07:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8e9c9a4-8956-4c68-98f3-5dcbdae6e320</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I understand what you want to do. There are quite a few changes in configurations that have occured in between v1.8.0 and v2.4.0.&lt;/p&gt;
&lt;p&gt;You might be better of using the unofficial sample here instead&amp;nbsp;&lt;a href="https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu"&gt;https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu&lt;/a&gt;&amp;nbsp;which is based on NCS v2.0.0 instead of NCS v2.4.0 which the first sample I sent you uses.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506214?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 04:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bece9736-859b-404b-9b6e-e1187f3b9ae6</guid><dc:creator>Usama Shafiq</dc:creator><description>&lt;p&gt;On my server side the OTA process is implemented through App (acts as a client). We have developed an App (client) that uses the SDK and does the OTA of the server. Now we want to mimic the exact same thing through another controller(nrf52840dk as client) instead of App.&lt;br /&gt;My server side is fixed that can&amp;#39;t be changed. All I can do is to play around the client side and exactly replicate the process of App into firmware.&lt;br /&gt;Do you get what I exactly want to do?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506146?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 13:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7153a3ba-f783-4dee-89fb-479308eebbf1</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Yeah, that will cause issues.&amp;nbsp;The sample works out of box for 2.4.0 for both side of the demo, but it hasn&amp;#39;t been tested for v2.4.0 and a server that is v1.8.0.&lt;/p&gt;
&lt;p&gt;The best I can suggest is to either migrate the server side (if you&amp;#39;re not talking about devices in the field) to a newer version of NCS by following the migration guides here and try again:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506124?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 12:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e1d405-764e-46f2-b3c3-dfe9c4eef2d4</guid><dc:creator>Usama Shafiq</dc:creator><description>&lt;p&gt;One thing worth mentioning is my client side is NCS v2.4.2 and my server side is NCS 1.8.0&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506116?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 12:19:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70eb4461-0973-4ef9-a81e-adb309c2a9b5</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Thank you, I&amp;#39;ll see if I can recreate it.&lt;/p&gt;
&lt;p&gt;Kind regards;&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506111?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 12:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4768a58c-cfc4-4e85-b4c1-a6e2928301af</guid><dc:creator>Usama Shafiq</dc:creator><description>&lt;p&gt;Here are the logs (NCS v2.4.2)&lt;br /&gt;Bluetooth initialized&lt;br /&gt;Scanning successfully started&lt;br /&gt;Filters matched. Address: C4:22:CD:xx:xx:xx (random) connectable: no&lt;br /&gt;Connected: C4:22:CD:xx:xx:xx(random)&lt;br /&gt;MTU exchange pending&lt;br /&gt;E: pairing failed (peer reason 0x5)&lt;br /&gt;Security failed: C4:22:CD:xx:xx:xx (random) level 1 err 5&lt;br /&gt;MTU exchange successful&lt;br /&gt;Current MTU: 65&lt;br /&gt;The discovery procedure succeeded&lt;br /&gt;Echo test: 1&lt;br /&gt;Echo response part received, size: 28.&lt;br /&gt;Total response received - decoding&lt;br /&gt;{_&amp;quot;r&amp;quot;: &amp;quot;Echo message: 1&amp;quot;}&lt;br /&gt;Echo test: 2&lt;br /&gt;Echo response part received, size: 28.&lt;br /&gt;Total response received - decoding&lt;br /&gt;{_&amp;quot;r&amp;quot;: &amp;quot;Echo message: 2&amp;quot;}&lt;br /&gt;Sending DFU Image List command&lt;br /&gt;Sending DFU Image List command&lt;br /&gt;DFU Image List command send error (err: -16)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506106?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 12:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c406021c-a2a9-4655-ab6c-419ef0860db8</guid><dc:creator>Usama Shafiq</dc:creator><description>&lt;p&gt;I am using NCS v2.4.2. Will it work?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506098?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3902b394-8d81-4b08-b9ec-9f29357c5aff</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;The sample is only tested in NCS v2.4.0. Please try again using 2.4.0 and update me if you still see the issue with full device logs and complete steps to recreate.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506097?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9520a856-b382-422b-b89b-2ed334b5162b</guid><dc:creator>Usama Shafiq</dc:creator><description>&lt;p&gt;According to the 1st link when I am trying to execute that code I am not getting any response for command image list. but when I send the command again it gives -16 error code which is -EBUSY.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP OTA using dev board</title><link>https://devzone.nordicsemi.com/thread/506094?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a710d3-5b1b-4ac2-b8b5-48accaf531eb</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can have a look at these unofficial samples created by a colleague of mine:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/client_smp/smp_client_ble"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/client_smp/smp_client_ble&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition I recommend you have a look at&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>