<?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>nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126104/nrf-cloud-assisted-gnss---command-sequence</link><description>Hi, 
 I&amp;#39;m working on a project using the Thingy91x for prototyping. I&amp;#39;m using A-GNSS from nRF Cloud and although this is working, I&amp;#39;m not sure of the correct order of commands to use it correctly without resorting to unnecessary delays. 
 At the moment</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Apr 2026 08:09:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126104/nrf-cloud-assisted-gnss---command-sequence" /><item><title>RE: nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/thread/564587?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 08:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaac56cf-de80-48fd-922e-be7bf2785dd0</guid><dc:creator>Pascal Hdz</dc:creator><description>&lt;p&gt;I&amp;#39;m closing this ticket due lack of response. Please open a new ticket in case you have new questions.&lt;/p&gt;
&lt;p&gt;Pascal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/thread/564156?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2026 09:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f40827c-6a66-46d1-ae62-256924af21ba</guid><dc:creator>Pascal Hdz</dc:creator><description>&lt;p&gt;Hello Andrew,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you need further assistance with this issue or could we close it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pascal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/thread/561915?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2026 08:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0285beb8-12b1-41ac-971b-073891af992a</guid><dc:creator>Pascal Hdz</dc:creator><description>&lt;p&gt;Hello Andrew,&lt;/p&gt;
&lt;p&gt;I would recommend you to use our Location sample as a starting point. It uses the Location library which handles what you are trying to achieve.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/location"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/location&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pascal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/thread/557043?ContentTypeID=1</link><pubDate>Tue, 16 Dec 2025 08:00:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:573f3608-fbfc-48e8-80e8-db2c9493e578</guid><dc:creator>andychess</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&amp;nbsp; The specific problem that I have, is that if I use a 1000 ms delay in the polling loop below, I generally receive both agnss mqtt packets. However, if I shorten the the delay to 100ms then only one packet is received and agnss fails.&lt;br /&gt;&lt;br /&gt;You can see the two packets being received in the log above.&amp;nbsp; This is the effect of shortening the polling delay.&lt;/p&gt;
&lt;p&gt;while (nrf_cloud_agnss_request_in_progress()) {&lt;br /&gt; if (k_uptime_delta(&amp;amp;startTime) &amp;gt; timeoutMs) {&lt;br /&gt; LOG_WRN(&amp;quot;A-GNSS request timeout!&amp;quot;);&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt; k_sleep(K_MSEC(100)); &lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;[00:00:27.359,039] &amp;lt;inf&amp;gt; location: A-GNSS request sent, waiting for processing...&lt;br /&gt;[00:00:27.786,163] &amp;lt;dbg&amp;gt; nrf_cloud_transport: nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 1000 result = 0&lt;br /&gt;[00:00:28.079,895] &amp;lt;dbg&amp;gt; nrf_cloud_transport: nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 1 len = 1517, topic = prod/71efa182-08ee-4647-b702-afa3cb32e6c0/m/d/5034474b-3731-4b68-80d9-0e234ccfe0f0/agnss/r&lt;br /&gt;[00:00:28.159,851] &amp;lt;inf&amp;gt; location: Disconnecting from nRF Cloud...&lt;br /&gt;[00:00:28.159,881] &amp;lt;dbg&amp;gt; nrf_cloud_transport: nct_disconnect: Disconnecting&lt;br /&gt;[00:00:28.166,351] &amp;lt;dbg&amp;gt; nrf_cloud_transport: nct_mqtt_evt_handler: MQTT_EVT_DISCONNECT: result = 0&lt;br /&gt;[00:00:28.166,351] &amp;lt;dbg&amp;gt; nrf_cloud: nfsm_set_current_state_and_notify: state: 1&lt;br /&gt;[00:00:28.166,381] &amp;lt;inf&amp;gt; location: &amp;gt;&amp;gt;&amp;gt; Cloud event: type=415500, status=0 &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;[00:00:28.166,381] &amp;lt;inf&amp;gt; location: Nrf Cloud disconnected.&lt;br /&gt;[00:00:28.166,412] &amp;lt;inf&amp;gt; location: Disconnected from Nrf Cloud.&lt;br /&gt;[00:00:28.166,412]&lt;/p&gt;
&lt;p&gt;The 1000ms delay is generally enough but makes the loop fairly pointless since on at least one occasion there was an unusual delay and the second packet was missed even with the 1000ms loop delay..&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Additionally, I am allowing 1 sec delay for the modem to stabilise after the agnss download, but have no idea whether this is strictly required.&amp;nbsp; The combined effect is adding 2 secs to TTFF and doesn&amp;#39;t appear to be 100% reliable.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;SDK is 3.1.0, modem firmware 2.0.3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud Assisted GNSS - Command sequence</title><link>https://devzone.nordicsemi.com/thread/556974?ContentTypeID=1</link><pubDate>Mon, 15 Dec 2025 13:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40afb717-c051-4532-a8cc-13b4a5b9d1ba</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
&lt;p&gt;Using nrf_cloud_agnss_request_in_progress() to check whether you are waiting for a request response is correct. It returns false after the data has been received, but before it is sent to the modem. When it returns false, it is safe to turn off LTE and disconnect from nRF Cloud. This does not take the double MQTT issue into account yet. I need to investigate that part further.&lt;/p&gt;
&lt;p&gt;What SDK version are you using?&lt;/p&gt;
&lt;p&gt;What exact issue are you seeing when running your application?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>