<?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>Asset Tracker V2 not waiting for AGNSS response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113222/asset-tracker-v2-not-waiting-for-agnss-response</link><description>Hey, 
 I&amp;#39;m running into an issue attempting to use AGNSS &amp;amp; AWS IoT Core on a custom nRF9160-based board. 
 I have a Lambda function in AWS that listens for AGNSS requests on the IoT Core MQTT bus. It then proxies those requests to nRF Cloud, and submits</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jul 2024 13:28:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113222/asset-tracker-v2-not-waiting-for-agnss-response" /><item><title>RE: Asset Tracker V2 not waiting for AGNSS response</title><link>https://devzone.nordicsemi.com/thread/496021?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 13:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:562c2661-9b2c-46ef-976a-52c9bc5181e9</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Forest,&lt;/p&gt;
&lt;p&gt;Michal is not available, and I am looking at your ticket now.&lt;/p&gt;
&lt;p&gt;Could you compare your AGNSS process implementation with&amp;nbsp;&lt;span&gt;nrf_cloud_agnss_process function in&amp;nbsp;nrf\subsys\net\lib\nrf_cloud\src\nrf_cloud_agnss.c?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tested with&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/gnss/README.html"&gt;Cellular: GNSS (nordicsemi.com)&lt;/a&gt;&amp;nbsp;sample and add 10 seconds delay&amp;nbsp;between AGNSS receive and process in nrf\samples\cellular\gnss\src\assistance.c, there is no problem with AGNSS injection.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;	err = nrf_cloud_rest_agnss_data_get(&amp;amp;rest_ctx, &amp;amp;request, &amp;amp;result);
	if (err) {
		LOG_ERR(&amp;quot;Failed to get A-GNSS data, error: %d&amp;quot;, err);
		goto agnss_exit;
	}

	LOG_INF(&amp;quot;Processing A-GNSS data&amp;quot;);
	
    k_sleep(K_SECONDS(10));//wait 10s beween AGNSS recive and process
	
	err = nrf_cloud_agnss_process(result.buf, result.agnss_sz);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Below is the log.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:02.566,467] &amp;lt;inf&amp;gt; gnss_sample: Requesting A-GNSS data: GPS ephe: 0xffffffff, alm: 0xffffffff
[00:00:05.802,642] &amp;lt;inf&amp;gt; gnss_sample: Processing A-GNSS data
+CSCON: 0
[00:00:15.929,138] &amp;lt;inf&amp;gt; gnss_sample: A-GNSS data processed
Tracking:  0 Using:  0 Unhealthy: 0
-----------------------------------&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Disable the following lines in nrf\samples\cellular\gnss\src\main.c to prevent terminal content refresh.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;				//printf(&amp;quot;\033[1;1H&amp;quot;);
				//printf(&amp;quot;\033[2J&amp;quot;);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Asset Tracker V2 not waiting for AGNSS response</title><link>https://devzone.nordicsemi.com/thread/495411?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 12:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bff5e48-4da7-43f0-b2b2-df9681192c9f</guid><dc:creator>Forest</dc:creator><description>&lt;p&gt;Hey Michal,&lt;br /&gt;&lt;br /&gt;We&amp;#39;re using NCS 2.7.0 with the 1.3.6 modem firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Asset Tracker V2 not waiting for AGNSS response</title><link>https://devzone.nordicsemi.com/thread/494896?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 20:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:652837a8-70e6-419a-aef3-0c1e7d3055b4</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you tell us your NCS and Modem FW versions?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>