<?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 A-GPS MQTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110916/nrf-cloud-a-gps-mqtt</link><description>I&amp;#39;m using the MQTT multi service sample to get A-GPS data using MQTT. I want to compare the energyconsumption with REST. I request A-GPS data using the function &amp;quot; nrf_cloud_agps_request_all ()&amp;quot;. I use the function below to check what A-GPS data is available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2024 09:11:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110916/nrf-cloud-a-gps-mqtt" /><item><title>RE: nRF Cloud A-GPS MQTT</title><link>https://devzone.nordicsemi.com/thread/482457?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 09:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042ec10b-5ab3-4ec5-9af1-fe1a0d73faf3</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Do you have any delays in your loop, so that the other threads get an oportunity to run?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud A-GPS MQTT</title><link>https://devzone.nordicsemi.com/thread/482347?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 15:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0ca463e-2eac-4620-95be-3f29ed2b5297</guid><dc:creator>ali123</dc:creator><description>&lt;p&gt;The issue is if I add that while loop (with &lt;span&gt;nrf_cloud_agnss_request_in_progress()&lt;/span&gt;) to the MQTT multi service sample it for some reason won&amp;#39;t connect to the nRF cloud anymore. I don&amp;#39;t receive the CLOUD_EVT_READY-event anymore&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud A-GPS MQTT</title><link>https://devzone.nordicsemi.com/thread/482343?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 15:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73422def-0ac1-474c-9020-4bd3dce03359</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, it doesn&amp;#39;t look like we have a callback for when the A-GNSS request has been processed.&lt;/p&gt;
&lt;p&gt;However, you can use nrf_cloud_agnss_request_in_progress() to see if you are waiting for the response to a request.&lt;/p&gt;
&lt;p&gt;It will return true while you are still waiting for the response, and false once the response has been received, but before the response has been written to the modem. However, the LTE link should no longer be necessary when nrf_cloud_agnss_request_in_progress() returns false.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>