<?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>AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52039/aws-fota-sample</link><description>Hi! 
 I&amp;#39;m trying to use the AWS-FOTA sample, I flashed the sample onto the board and it connected to the AWS account successfully, but when I try to add the update.bin file to the job document it keeps giving me an error (file exceeds size limit). how</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 06 Oct 2019 07:35:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52039/aws-fota-sample" /><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/213506?ContentTypeID=1</link><pubDate>Sun, 06 Oct 2019 07:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b1cbb5-6c68-4d99-b3dc-a6a26382f39c</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I made a new thread&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52937/how-to-use-aws_fota-program-in-nrf9160"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52937/how-to-use-aws_fota-program-in-nrf9160&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/212402?ContentTypeID=1</link><pubDate>Sun, 29 Sep 2019 03:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2607a47f-c5d6-4aa4-ba1c-9ea9876dd570</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi, I was able to set a job, but the download job doesn&amp;#39;t start. The job status is always &amp;quot;in progress&amp;quot;. I logged out and logged in and got the same result.&lt;/p&gt;
&lt;p&gt;I use the same region in AWS IoT and S3&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;***** Booting Zephyr OS v1.14.99-ncs2 *****
The MQTT AWS Jobs FOTA Sample
LTE Link Connecting ...
LTE Link Connected!
IPv4 Address 0x4980a023
client_id: nrf-352656100218455
[mqtt_evt_handler:131] MQTT client connected!
[mqtt_evt_handler:196] SUBACK packet id: 2112
[mqtt_evt_handler:186] PUBACK packet id: 62996&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Any help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/211654?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 03:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7815dffe-dc5b-4b0e-8994-055ddff35d4d</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thanks! I&amp;#39;ll try it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/211319?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 14:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf32b45-f5d2-44ef-b2cd-0929de1dd21f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, &lt;a href="https://devzone.nordicsemi.com/members/yusuke217"&gt;Yusuke&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;you need to add the following to your AT_Client prj.conf&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This will generate samples/nrf9160/at_client/build_nrf9160_pca10090ns/zephyr/update.bin.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Øyvind&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/211055?ContentTypeID=1</link><pubDate>Sun, 22 Sep 2019 03:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ebe1ef-ab44-41d8-8810-83b19c9e9922</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hello, I have one question.&lt;/p&gt;
&lt;p&gt;Where can I get the &amp;quot;update.bin&amp;quot; file?&lt;/p&gt;
&lt;p&gt;For an&amp;nbsp; example of at_client program, Is this correct?&lt;/p&gt;
&lt;p&gt;../ncs/nrf/samples/nrf9160/at_client/build_nrf9160_pca10090ns/zephyr/zephyr.bin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/210231?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 19:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8b772dc-0eff-4c83-9898-3cb6e131986d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I was able to reproduce your issue with status &amp;quot;In progress&amp;quot; after a download, and reboot. When I clicked inside the job it would say &amp;quot;In progress&amp;quot; even though I know it downloaded. Turns out I had to log out and log in again, it now shows Succeeded.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For every new .bin file that you want to upload to your board, you will have to generate a new job fil after the board shows &amp;quot;&lt;span&gt;MQTT client connected&amp;quot;. Make sure to remove any &amp;quot;Queued&amp;quot; jobs from the Jobs list.&lt;/span&gt;&lt;br /&gt;Let me know how this works for you.&lt;br /&gt;&lt;br /&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/210106?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 12:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc17f8cd-c5f8-4d5a-90d2-9a2caf24f4e4</guid><dc:creator>Karma</dc:creator><description>&lt;p&gt;Thank you, I jus need to know how the sample works, does it update as soon as I add the job, or do I need to reset the board?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/210098?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 11:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:199a375c-28bc-413f-abef-0d8beb0663e0</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Sorry, I do not know how AWS servers work, you will have to read the AWS IoT &lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html"&gt;jobs user manual&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/210083?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 11:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8032b3c6-cc51-40c0-9eef-bce95c26ade8</guid><dc:creator>Karma</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/job.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/210004?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 07:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee49bd1a-33e8-4ae0-b9be-eade7525c8d5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Glad to hear that it solved your issue!&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Karma"]but now it is showing that the job is in progress and nothing else[/quote]
&lt;p&gt;Where does it show in progress?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/209655?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 13:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0ab0ef4-01eb-4205-ab50-b75159c18d25</guid><dc:creator>Karma</dc:creator><description>&lt;p&gt;Thank you so much, I downloaded the file and it worked, but now it is showing that the job is in progress and nothing else&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/209652?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 13:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72fe4b23-c3e9-475a-83f8-d89c226ef1a8</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I see that you are responding but deleting your reply. Is this intentionally?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to replicate your issue but&amp;nbsp;without luck. Since you are getting the error message in AWS, my concern is that you have configured something wrong in the Job Document.&amp;nbsp;What does you job-file look like? It is not the update.bin that should be added to the job document, but a &amp;lt;your text&amp;gt;.json.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;An example of a job file can be found in the documentation of the AWS FOTA library. You can upload it to an S3 bucket on your AWS account and select it from there. If you use the AWS IoT Console, this is the only way to add a job file to a custom job.&lt;/pre&gt;As described in our documentation, the .json job file can be uploaded to AWS S3 bucket,&amp;nbsp;and then selected in the job documentation. This is the template:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;operation&amp;quot;: &amp;quot;app_fw_update&amp;quot;,
  &amp;quot;fwversion&amp;quot;: &amp;quot;v1.0.2&amp;quot;,
  &amp;quot;size&amp;quot;: 181124,
  &amp;quot;location&amp;quot;: {
    &amp;quot;protocol&amp;quot;: &amp;quot;http:&amp;quot;,
    &amp;quot;host&amp;quot;: &amp;quot;s3.amazonaws.com&amp;quot;,
    &amp;quot;path&amp;quot;: &amp;quot;/nordic-firmware-files/0943dfbf-cb10-4eb7-8277-a8b179eaf4ff&amp;quot;
   }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;From AWS IoT click Manage --&amp;gt; Jobs --&amp;gt; Creat --&amp;gt; Create Custom Job. Now you can add the job-file (&lt;span&gt;&amp;lt;your text&amp;gt;.json):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b1f130ee9f4e49978bc80f3f85aee5dc/pastedimage1568381009250v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The sample job-file (above and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/net/aws_fota.html#implementation"&gt;linked in our documentation&lt;/a&gt;)&amp;nbsp;links to &lt;a href="https://firmware.nrfcloud.com/#/"&gt;firmware.nrfcloud.com&lt;/a&gt;&amp;nbsp;(AWS server), meaning you can choose to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/samples/nrf9160/http_application_update/README.html#hosting-your-image-on-nrf-cloud"&gt;upload the update.bin to nRFCloud&lt;/a&gt; or to &lt;a href="https://docs.aws.amazon.com/s3/index.html"&gt;AWS S3 Bucket&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This yields two possible locations to download from:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;https://[YOUR-BUCKET].s3.eu-north-1.amazonaws.com/update.bin&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;s3.amazonaws.com/.../[YOUR&lt;/a&gt; FILE HASH]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Note that using AWS address in&amp;nbsp;&amp;lt;your text&amp;gt;.json should look like:&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;operation&amp;quot;: &amp;quot;app_fw_update&amp;quot;,
  &amp;quot;fwversion&amp;quot;: &amp;quot;v1.0.2&amp;quot;,
  &amp;quot;size&amp;quot;: 181124,
  &amp;quot;location&amp;quot;: {
    &amp;quot;protocol&amp;quot;: &amp;quot;https:&amp;quot;,
    &amp;quot;host&amp;quot;: &amp;quot;[YOUR-BUCKET].s3.eu-north-1.amazonaws.com&amp;quot;,
    &amp;quot;path&amp;quot;: &amp;quot;/update.bin&amp;quot;
   }
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Let me know how that works for you!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/209436?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38003ec7-2f2c-41e3-8922-ccfd11d5bf54</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, I was not very specific in my last comment. Following the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#usage"&gt;AWS FOTA documentation&lt;/a&gt;, when adding the job file, what size did you specify in this &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/aws_fota.html#implementation"&gt;job file/document&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/209402?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 11:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d6d435-5082-4089-b505-19cee3a3c53c</guid><dc:creator>Karma</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry, I added the update.bin&amp;nbsp; to a Bucket and I didn&amp;#39;t have any problem with that, but when I try to add it to the job I get this error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/aws-error2.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS-FOTA Sample</title><link>https://devzone.nordicsemi.com/thread/209316?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 07:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b268f61-963c-48d4-b439-004d7186a7bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]when I try to add the update.bin file to the job document it keeps giving me an error (file exceeds size limit). how can I fix this ?&amp;nbsp;[/quote]
&lt;p&gt;What does the job document say about &amp;quot;size&amp;quot;? Please paste here.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>