<?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>nRF9160 modem FOTA - what library to use</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116171/nrf9160-modem-fota---what-library-to-use</link><description>Hi, 
 We are considering a modem delta FOTA on our 9160 devices in field, but find two &amp;quot;approaches&amp;quot; described to this; Either using the modem AT command set ( AT #XFOTA=2,* etc) as described here: https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/nrf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Nov 2024 11:50:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116171/nrf9160-modem-fota---what-library-to-use" /><item><title>RE: nRF9160 modem FOTA - what library to use</title><link>https://devzone.nordicsemi.com/thread/509864?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 11:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6076f54e-ab5d-49d7-ad05-58e355354b24</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The app should be at&amp;nbsp;&lt;code&gt;nrf/applications/serial_lte_modem&lt;/code&gt;. This app has built-in support for the AT commands required to trigger firmware updates, so it’s a good starting point.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t verified this settiings but the below prj.conf should be a good start to enable FOTA download support&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_MODEM_LIB=y
CONFIG_NRF_MODEM_LIB_SYS_INIT=y
CONFIG_FOTA_DOWNLOAD=y
CONFIG_SLM_AT_FOTA=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you issue the AT command which ever way you like&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT#XFOTA=2,&amp;lt;delta_update_url&amp;gt;
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 modem FOTA - what library to use</title><link>https://devzone.nordicsemi.com/thread/509711?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 15:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acf8b42e-dca9-47c1-b324-b2c27f90ec75</guid><dc:creator>Alfie321</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel,&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;and thank you for your quick and thorough reply to my request!&lt;/p&gt;
&lt;p&gt;I think then we will be best off with 1.) the AT Command-approach, we will start looking into it soon.&lt;br /&gt;Your sample programs are of good help, do you have a suitable sample of this solution too?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Alf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 modem FOTA - what library to use</title><link>https://devzone.nordicsemi.com/thread/509647?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 10:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972a278a-6af4-4294-938a-b6d867a256b3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Here&amp;#39;s the deal with modem delta FOTA on the nRF9160 using SDK 2.5.0. You’ve got two solid options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;AT Commands (AT#XFOTA=2)&lt;br /&gt;Using the AT command method is a no-fuss way to get FOTA up and running. With Serial LTE Modem (SLM), you just issue the command, and it handles the update. You get a quick trigger for firmware updates but don’t get fine control over each step or real-time feedback from within your application code.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Delta DFU API (nrfxlib)&lt;br /&gt;The Delta DFU API gives you a lot more control if your application needs it. You can kick off the update, monitor progress, handle any issues directly in your code, and even manage how the update downloads. Nordic’s “HTTP modem delta update” sample shows how to use this API to pull updates over HTTP. If you’re running custom backend services or need to integrate the FOTA process tightly with the rest of your app, this is the way to go.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Bottom Line&lt;br /&gt;If you just need a quick way to trigger updates, go with the AT command. But if you need to monitor, manage, or customize the process, Delta DFU API is better suited. Both approaches will work with SDK 2.5.0, so it comes down to the level of control you need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>