<?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>Increasing the download client_http_frag_size throwing errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66645/increasing-the-download-client_http_frag_size-throwing-errors</link><description>Hello, 
 Im trying to implement FOTA on the nrf9160. Currently my first version is working however I would like to decrease the amount of data used in the process. According to the documentation this is possible by increasing the DOWNLOAD_CLIENT_HTTP_FRAG_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2020 08:45:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66645/increasing-the-download-client_http_frag_size-throwing-errors" /><item><title>RE: Increasing the download client_http_frag_size throwing errors</title><link>https://devzone.nordicsemi.com/thread/273135?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 08:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2178df76-2ca2-430d-b21e-2f39fbd113ce</guid><dc:creator>Laadpaalman</dc:creator><description>&lt;p&gt;It was indeed 1.3.0, i ran an update and now it works...!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing the download client_http_frag_size throwing errors</title><link>https://devzone.nordicsemi.com/thread/272902?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 09:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3323790-46b9-4aa8-aa18-54fb95389877</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;That is strange. My immediate suspicion is that you are not on NCS master, but an earlier released version such as 1.3.0, because It doesn&amp;#39;t look like these configurations were defined in NCS 1.3.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you open up a terminal and navigate to /&amp;lt;path_to_ncs&amp;gt;/ncs/nrf and run git branch, which branch are you on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing the download client_http_frag_size throwing errors</title><link>https://devzone.nordicsemi.com/thread/272863?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 06:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0876b647-daac-4896-a395-5c44869dfab8</guid><dc:creator>Laadpaalman</dc:creator><description>&lt;p&gt;Hello Heidi,&lt;/p&gt;
&lt;p&gt;Yes my BSD_library is not included and the download client is enabled. Currently my config looks like this in regards to the download.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_DOWNLOAD_CLIENT=y
CONFIG_DOWNLOAD_CLIENT_BUF_SIZE=4096
CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_4096=y
CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However when I try to load the files i get the errors&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/project/prj.conf:96: warning: attempt to assign the value &amp;#39;4096&amp;#39; to the undefined symbol DOWNLOAD_CLIENT_BUF_SIZE

/project/prj.conf:97: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_4096
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So yes, I think the requirements are met. I just dont know why these errors are there.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Laadpaalman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing the download client_http_frag_size throwing errors</title><link>https://devzone.nordicsemi.com/thread/272776?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 15:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52935a1e-38b5-4bd2-b2ac-b02e25e58f2b</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So first of all it looks like the proper way to do it is like this (not that your way should give you errors):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_4096=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Second, DOWNLOAD_CLIENT has to be enabled.&lt;/p&gt;
&lt;p&gt;Third, BSD_LIBRARY cannot be enabled.&lt;/p&gt;
&lt;p&gt;And fourth&amp;nbsp;&lt;span&gt;DOWNLOAD_CLIENT_BUF_SIZE has to be larger than or equal to 4096.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/net/lib/download_client/Kconfig"&gt;download_client Kconfig&lt;/a&gt; for more information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Were all of these requirements filled in your application?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>