<?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 FOTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73565/nrf9160-fota</link><description>I would like to add FOTA via HTTP to mqtt_simple example 
 
 please describe how to do that, and how to test the update 
 
 I know I need to add the following modules via configuration : 
 DFU_TARGET 
 download_client 
 
 what are the next steps? 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Apr 2021 06:16:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73565/nrf9160-fota" /><item><title>RE: nrf9160 FOTA</title><link>https://devzone.nordicsemi.com/thread/305401?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 06:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece7b6b0-58e1-426c-895c-598418a24b50</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that you got it to work!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 FOTA</title><link>https://devzone.nordicsemi.com/thread/305389?ContentTypeID=1</link><pubDate>Sun, 18 Apr 2021 15:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:562e33c1-d886-4427-ba8f-539cc6492db2</guid><dc:creator>kamacode</dc:creator><description>&lt;p&gt;FOTA is now working, I have taken configuration and step by step from example, and it&amp;#39;s working great!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 FOTA</title><link>https://devzone.nordicsemi.com/thread/305380?ContentTypeID=1</link><pubDate>Sun, 18 Apr 2021 08:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a877caec-5d40-4834-a848-ad90d056a95c</guid><dc:creator>kamacode</dc:creator><description>&lt;p&gt;first of all thank you for the great direction, I have taken the example &amp;quot;http_application_update&amp;quot;, managed to set the AWS bucket and it works great.&lt;/p&gt;
&lt;p&gt;now I have taken the project &amp;quot;simple MQTT&amp;quot; and tried integrating the http update in that, project compiles, but when download command is activated software gets stuck.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the issue is in the prj settings&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you please assist on one of the options:&lt;/p&gt;
&lt;p&gt;1. what is missing in those settings&lt;/p&gt;
&lt;p&gt;2. what are the minimum required settings for adding the HTTP project to the &amp;quot;simple HTTP&amp;quot; project&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 FOTA</title><link>https://devzone.nordicsemi.com/thread/303150?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 12:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1822157e-dcbc-46b3-95d4-f86478f3de46</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We already have some samples for FOTA via HTTP in NCS, the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/nrf9160/http_update/application_update/README.html"&gt;HTTP application update&lt;/a&gt;,&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/nrf9160/http_update/full_modem_update/README.html"&gt;HTTP full modem update&lt;/a&gt;, and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/nrf9160/http_update/modem_delta_update/README.html"&gt;HTTP modem delta update&lt;/a&gt;. These samples all use the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/include/net/fota_download.html#lib-fota-download"&gt;FOTA download&lt;/a&gt;&amp;nbsp;library to download a file from a remote server and either write it to flash or to the modem. Using this library simplifies the process, as the FOTA library uses the Download client library to download the image, and then the downloaded data is passed to the DFU target library, which identifies the image type and decides where to store the image depending on image type.&lt;/p&gt;
&lt;p&gt;I would recommend taking a look at the HTTP update samples to see how this is implemented there, and how to use the FOTA library, and use one of them as a starting point instead of the Simple MQTT sample.&amp;nbsp;Each sample has a&amp;nbsp;&lt;strong&gt;Testing&amp;nbsp;&lt;/strong&gt;part in the documentation, where you can find which steps to perform in order to test the samples.&lt;/p&gt;
&lt;p&gt;You can also check out the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/nrf9160/aws_fota/README.html"&gt;AWS FOTA&lt;/a&gt;&amp;nbsp;sample, which shows how to to perform FOTA via MQTT and HTTP. The difference between this sample and the HTTP application update sample is that it also uses MQTT, and that the firmware download i triggered through an AWS IoT job. The MQTT part is simply to notify the device that a job is ready and to receive metadata for the update job, while the download itself is done over HTTP.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>