<?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>Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124721/result-buffer-too-small-for-a-gnss-data</link><description>Hi, 
 I&amp;#39;m running the location sample on nrf9151dk from v3.0.0 of nrf-sdk. Hardware details: 
 
 I have these additional configs added to my prj.conf 
 
 This is the output I&amp;#39;m seeing: 
 
 I can run the same sample on a nRF9160dk without any errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Oct 2025 17:49:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124721/result-buffer-too-small-for-a-gnss-data" /><item><title>RE: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550520?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 17:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c64ab7-4778-4cfa-84a6-41c35916ce55</guid><dc:creator>heisenbug</dc:creator><description>&lt;p&gt;With this change it works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550421?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 07:27:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30c315b-9032-43ea-959c-0c9e83201260</guid><dc:creator>Juha Y</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;In this case the buffer for A-GNSS data is too small. Please see this commit.&lt;br /&gt;&lt;br /&gt;&lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/commit/917e54e2c1c878634a42a8147b748c6e1995591f"&gt;https://github.com/nrfconnect/sdk-nrf/commit/917e54e2c1c878634a42a8147b748c6e1995591f&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Juha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550418?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 07:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aaae819-646a-4aa1-9b61-888629eb5564</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello again, could you please try increasing &lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/917e54e2c1c878634a42a8147b748c6e1995591f"&gt;NRF_CLOUD_AGNSS_MAX_DATA_SIZE&amp;nbsp;in nrf\include\net\nrf_cloud_agnss.h&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;There is ongoing work in with improving the data load size from nRF Cloud, but increasing the setting above should be sufficient. Let me know how it works for you.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550411?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 06:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e99fd4-a000-4065-91c1-96b2ff0bf3e4</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for testing! I will discuss this internally to find what could be causing this.&amp;nbsp;&lt;/p&gt;
&lt;p&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: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550392?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 15:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b39e206-fa29-4a7e-833b-a7f3bf0643b4</guid><dc:creator>heisenbug</dc:creator><description>&lt;p&gt;I increased the sizes of each config one at a time. After the final increase I still see the error. My current settings for the relevant configs:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Heap and stacks
CONFIG_MAIN_STACK_SIZE=4096
# Extended memory heap size needed for encoding REST messages to JSON
CONFIG_HEAP_MEM_POOL_SIZE=12288
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Result buffer too small for A-GNSS data</title><link>https://devzone.nordicsemi.com/thread/550371?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 13:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83267036-a96a-4873-9274-25fbc0fbc1b3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please try increasing one of these?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;# Heap and stacks
CONFIG_MAIN_STACK_SIZE=2048
# Extended memory heap size needed for encoding REST messages to JSON
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>