<?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>Faild to request location via GNSS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85204/faild-to-request-location-via-gnss</link><description>Hello, 
 I&amp;#39;ve tried to request the location via AGPS/PGPS via Location sample in SDK 1.8 but it seems that location is only working with the Cellular method. 
 I&amp;#39;ve tried to re-provision the device again as it is described here https://docs.nrfcloud.com</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2022 12:22:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85204/faild-to-request-location-via-gnss" /><item><title>RE: Faild to request location via GNSS</title><link>https://devzone.nordicsemi.com/thread/355534?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 12:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a6d7668-e3d1-430a-927d-0b0927577514</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Could you try the GPS sample(&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.8.0/samples/nrf9160/gnss"&gt;GNSS&lt;/a&gt;), simpel one without the AGPS enabled, se how many satellites you are picking up.&amp;nbsp;&lt;/p&gt;
[quote user="Mustafaq"]How many&amp;nbsp;&lt;span&gt;satellites&amp;nbsp;does PGPS/AGPS service need to download the exact GPS-related data to the modem?&lt;/span&gt;[/quote]
&lt;p&gt;A-GPS is not&amp;nbsp;using GPS/satellites to download the data, it is using LTE. So trough the internet it is downloading some of the info needed to get a GPS fix. And GPS will always need at minimum 3 satellites in &amp;quot;view&amp;quot; to be able to get a fix.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faild to request location via GNSS</title><link>https://devzone.nordicsemi.com/thread/355299?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 13:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b7335c-ba21-4f64-95e6-4aa4be345553</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Thanks Jonathan for your response,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="91187" url="~/f/nordic-q-a/85204/faild-to-request-location-via-gnss/355287#355287"]Note: see you commented on this case:&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84721/failed-to-generate-jwt"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84721/failed-to-generate-jwt&lt;/a&gt;&amp;nbsp;did you follow the instructions also?[/quote]
&lt;p&gt;Do you mean the instructions for building the project?. it is only about adding &lt;span&gt;-DOVERLAY_CONFIG=overlay-pgps.conf&amp;nbsp;&lt;/span&gt;to the CMake command. and for generating JWT I&amp;#39;ve followed the instructions but I&amp;#39;m not sure if I did all steps correctly, I assume it is fine because the Location Cellular method works fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="91187" url="~/f/nordic-q-a/85204/faild-to-request-location-via-gnss/355287#355287"] Are you testing this inside or outside with a open view of the sky?[/quote]
&lt;p&gt;I&amp;#39;m testing it next window to the outside with an open view of the sky. But now is almost winter time so maybe there are some clouds and the sky is not totally clear but I assume that AGPS/PGPS are made for this kind of condition right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How many&amp;nbsp;&lt;span&gt;satellites&amp;nbsp;does PGPS/AGPS service need to download the exact GPS-related data to the modem?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faild to request location via GNSS</title><link>https://devzone.nordicsemi.com/thread/355287?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 13:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c89557d0-8454-444d-afec-43766f2aca0b</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The purpose of AGPS and PGPS is to provide ephemerides/almanac and other GPS related data directly into the GPS, for a quicker fix. It does this by downloading data from the cloud, and piping that data directly into the GPS.&lt;br /&gt;&lt;br /&gt;You are &amp;quot;location: Timeout occurred&amp;quot; her so might not be anything wrong, maybe it is just not getting enough satellites to get a fix. Are you testing this inside or outside with a open view of the sky?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: see you commented on this case:&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84721/failed-to-generate-jwt"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84721/failed-to-generate-jwt&lt;/a&gt;&amp;nbsp;did you follow the instructions also?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>