<?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>Serial LTE Modem: When and how is downloaded P-GPS data used? AT#XPGPS vs. AT#XGPS command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95759/serial-lte-modem-when-and-how-is-downloaded-p-gps-data-used-at-xpgps-vs-at-xgps-command</link><description>Hi there! 
 BACKGROUND: The (preliminary) plan is to use the nRF9160 with the Serial LTE Modem app as a support peripheral for LTE and GNSS in a proprietary asset tracking product. It will use another method of communication and tracking most of the time</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jan 2023 15:23:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95759/serial-lte-modem-when-and-how-is-downloaded-p-gps-data-used-at-xpgps-vs-at-xgps-command" /><item><title>RE: Serial LTE Modem: When and how is downloaded P-GPS data used? AT#XPGPS vs. AT#XGPS command</title><link>https://devzone.nordicsemi.com/thread/405522?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 15:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:312a3d4a-023a-4112-ae1c-c66d097815d1</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late reply.&lt;/p&gt;
[quote user=""]How would I observe in the log output that it is using the P-GPS data to get a faster fix?[/quote]
&lt;p&gt;Set CONFIG_NRF_CLOUD_GPS_LOG_LEVEL_DBG=y&lt;/p&gt;
[quote user=""]Is it possible to download a week&amp;#39;s worth of P-GPS data using AT#XPGPS and then using AT#XGPS to get a faster GNSS fix using the P-GPS data? [/quote]
&lt;p&gt;Looking at the code, I believe you should use AT#XPGPS every time, and it will download data if necessary, or used the stored data if available.&lt;/p&gt;
&lt;p&gt;However, I might be wrong here, so it is worth checking out.&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>