<?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>A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65247/a-gps-supl-library</link><description>Hi! 
 I use ncs v1.3.0 and mfw 1.2.0 on a nRF9160 DK v0.8.5. 
 My app runs in PSM mode alternating between LTE and GPS following Jan-Tores suggestions in his response to my Ticket 254606. 
 1. Things work reasonably well, but I am surprised by the log</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Sep 2020 07:29:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65247/a-gps-supl-library" /><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/267962?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 07:29:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d476c877-43ae-40a9-9c9b-16593dd12b19</guid><dc:creator>pemar13</dc:creator><description>&lt;p&gt;Thanks for the clarification!&lt;/p&gt;
&lt;p&gt;/per&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/267758?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 08:01:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a9cf56b-b814-4b60-a800-fe90023652f2</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, I just got a reply from one of our GPS experts. My answer to your second question was incorrect, I have now updated my previous comment to reflect the correct answer, which is that we don&amp;#39;t support the user injecting their own data into the GPS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/267296?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 16:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:417873bf-f77b-4775-9a85-99739799bb1a</guid><dc:creator>pemar13</dc:creator><description>&lt;p&gt;Thank you Heidi!&lt;/p&gt;
&lt;p&gt;Regarding Q2: Are you saying that the time to first fix (TTFF) is totally independent of the approximate location provided during&amp;nbsp;the SUPL request, which means that TTFF is&amp;nbsp;identical whether or not the cellular network provides any MCC/MNC and CellID (such that&amp;nbsp;Q1 is basically irrelevant from an AGPS point of view)?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Per&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/267165?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 09:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abec17e6-d556-4455-a496-c6d1c6e153c6</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;1. Looks like you already got an answer.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;2. Injecting alternative data into the GPS isn&amp;#39;t something we have tried but it wouldn&amp;#39;t gain anything. The position received from the SUPL server is just an alternative to the GPS having to download the same data from the satellites itself.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Unfortunately, we don&amp;#39;t support the user injecting their own data into the GPS. It is something we are looking into, whether it would be beneficial to support this or not. Injecting accurate information into the GPS would indeed help shorten the TTFF.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. Yes, I&amp;#39;ve seen this. This can happen when the SUPL session is running in the main thread resulting in the main thread not being available to read the GPS messages&amp;nbsp;coming from the modem. This will fill up the memory shared between the application and the modem, so&amp;nbsp;the IP packet from the SUPL server doesn&amp;#39;t get read and the session times out.&lt;/p&gt;
&lt;p&gt;Try running the SUPL session in a separate thread.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/266750?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 12:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796140df-1845-45c3-9f1a-fb8a73edac42</guid><dc:creator>pemar13</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thanks a lot! I tought they were simple coordinates in degrees, but your values make perfect sense as well as explain why the A-GPS works considerably better than without, as I am not so far from the center of Sweden!&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Per&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS SUPL library</title><link>https://devzone.nordicsemi.com/thread/266626?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 07:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15913cac-f673-4c76-a868-a3b94e4d40c8</guid><dc:creator>anicare-tero</dc:creator><description>&lt;p&gt;Hi Per,&lt;/p&gt;
&lt;p&gt;For your first question: I have wondered that earlier too. I was discussing about that with a Nordic employee and she told me how to calculate the coordinates from those values that SUPL returns.&lt;/p&gt;
&lt;p&gt;Lat: 5851520 Lon: 780606&lt;br /&gt;Latitude = 5851520 / (2^23/90) = 62.78&lt;br /&gt;Longitude = 780606 / (2^24/360) = 16.75&lt;/p&gt;
&lt;p&gt;So that location is t&lt;span&gt;he position the &amp;quot;center&amp;quot; of Sweden&amp;nbsp;&lt;/span&gt;and this location is not a GPS location, but an input parameter from the SUPL client to the SUPL server.&lt;/p&gt;
&lt;p&gt;For another questions, I don&amp;#39;t have any knowledge that would help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>