<?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 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92173/nrf9160-slm-dfu-at-commands-xdfuget</link><description>Hi, 
 I&amp;#39;m interested in using this AT command to upgrade my nRF52840. But I&amp;#39;m not quite sure what to do exactly. I&amp;#39;m using nRF5 V17 SDK on nRF52840. what should I provide for image_1 and image_2 if I only want to upgrade the application only? (not softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Sep 2022 11:07:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92173/nrf9160-slm-dfu-at-commands-xdfuget" /><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387878?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 11:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8aac1ca-e963-4e9d-8266-b977e38c0465</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ye-Sheng,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to this case:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88768/socket-recv-returning--122-nrf9160"&gt;Socket recv returning -122 (nrf9160)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a limitation of TLS that the max limit of response size of 2kB. When none TLS can have longer size.&amp;nbsp;&lt;br /&gt;It might be related to what you found that HTTP work but HTTPS (secured with TLS) doesn&amp;#39;t work ?&amp;nbsp;&lt;br /&gt;I&amp;#39;m not so familiar with the SLM DFU, but is there any way you can change this response size ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387873?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 10:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a9b35c5-2b26-4570-b59e-a9c9cd37ebb5</guid><dc:creator>yesheng</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I tried to use regular HTTP port 80, and I could download the firmware successfully. Maybe this is a bug with TLS?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387654?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 10:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06f07e76-85ad-47f0-9940-7bd2cd2fda5f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not so familiar with the download_client. But error 122 suggests that it&amp;#39;s a buffer size error.&amp;nbsp;&lt;br /&gt;Could you have a look at these two cases and check if they help?&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88768/socket-recv-returning--122-nrf9160"&gt;Socket recv returning -122 (nrf9160)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90730/aws_fota-error-when-getting-the-payload--122/380341"&gt;RE: aws_fota: Error when getting the payload: -122&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387646?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 09:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d4e4c49-99d4-4c0c-97f7-60ba9df91bf3</guid><dc:creator>yesheng</dc:creator><description>&lt;p&gt;Hi Huang,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SLM firmware with modem FW 1.3.2. I ran into an issue when downloading the files. The error code is 122. Any idea what it means? Also, when it fails, the entire modem doesn&amp;#39;t respond to AT command anymore.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.508,728] &amp;lt;inf&amp;gt; slm: Serial LTE Modem
00&amp;gt; [00:00:00.514,251] &amp;lt;inf&amp;gt; slm_at_host: at_host init done
00&amp;gt; [00:00:44.998,748] &amp;lt;inf&amp;gt; download_client: Setting up TLS credentials, tag 42
00&amp;gt; [00:00:44.998,870] &amp;lt;inf&amp;gt; download_client: Connecting to https://my_web_server.com
00&amp;gt; [00:00:50.280,426] &amp;lt;inf&amp;gt; download_client: Downloading: firmware/nrf52840_xxaa_0923.dat [0]
00&amp;gt; [00:00:50.491,485] &amp;lt;inf&amp;gt; download_client: Downloaded 141/141 bytes (100%)
00&amp;gt; [00:00:50.491,516] &amp;lt;inf&amp;gt; download_client: Download complete
00&amp;gt; [00:00:50.492,797] &amp;lt;inf&amp;gt; dfu: Init Packet downloaded
00&amp;gt; [00:00:50.493,804] &amp;lt;inf&amp;gt; download_client: Setting up TLS credentials, tag 42
00&amp;gt; [00:00:50.493,896] &amp;lt;inf&amp;gt; download_client: Connecting to https://my_web_server.com
00&amp;gt; [00:00:52.836,700] &amp;lt;inf&amp;gt; download_client: Downloading: firmware/nrf52840_xxaa_0923.bin [0]
00&amp;gt; [00:00:53.057,037] &amp;lt;err&amp;gt; download_client: Error in recv(), errno 122
00&amp;gt; [00:00:53.057,067] &amp;lt;inf&amp;gt; dfu: EVT_ERROR
00&amp;gt; [00:00:53.057,067] &amp;lt;wrn&amp;gt; dfu: Download socket error. 2 retries left...
00&amp;gt; [00:00:53.057,098] &amp;lt;inf&amp;gt; download_client: Reconnecting..
00&amp;gt; [00:00:53.058,746] &amp;lt;inf&amp;gt; download_client: Setting up TLS credentials, tag 42
00&amp;gt; [00:00:53.058,837] &amp;lt;inf&amp;gt; download_client: Connecting to https://my_web_server.com
00&amp;gt; [00:00:56.135,345] &amp;lt;err&amp;gt; download_client: Error in recv(), errno 122
00&amp;gt; [00:00:56.135,375] &amp;lt;inf&amp;gt; dfu: EVT_ERROR
00&amp;gt; [00:00:56.135,406] &amp;lt;wrn&amp;gt; dfu: Download socket error. 1 retries left...
00&amp;gt; [00:00:56.135,406] &amp;lt;inf&amp;gt; download_client: Reconnecting..
00&amp;gt; [00:00:56.136,993] &amp;lt;inf&amp;gt; download_client: Setting up TLS credentials, tag 42
00&amp;gt; [00:00:56.137,084] &amp;lt;inf&amp;gt; download_client: Connecting to https://my_web_server.com
00&amp;gt; [00:00:59.138,885] &amp;lt;err&amp;gt; download_client: Error in recv(), errno 122
00&amp;gt; [00:00:59.138,916] &amp;lt;inf&amp;gt; dfu: EVT_ERROR
00&amp;gt; [00:00:59.140,075] &amp;lt;err&amp;gt; dfu: Download client error
00&amp;gt; [00:00:59.140,075] &amp;lt;err&amp;gt; target_dfu: DFU image upgrade aborted.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387437?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 09:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:662e15f9-3425-4a07-a986-f9acb56800c7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ye-Sheng,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you let us know what you are running on the nRF91 ?&amp;nbsp;&lt;br /&gt;Have you tried to follow the documentation here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/DFU_AT_commands.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/DFU_AT_commands.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are using the nRF5 SDK on the nRF52840 you would need to&amp;nbsp;define&amp;nbsp;&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_description.html#config-slm-nrf52-dfu-legacy"&gt;&lt;span&gt;CONFIG_SLM_NRF52_DFU_LEGACY&lt;/span&gt;&lt;/a&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the nRF52 you would need to flash the UART bootloader .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SLM DFU AT commands (#XDFUGET)</title><link>https://devzone.nordicsemi.com/thread/387422?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 08:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:623e1db6-27be-40ab-8979-709151664e44</guid><dc:creator>yesheng</dc:creator><description>&lt;p&gt;Whoops, I just realized those 2 files are coming from the DFU package.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>