<?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>Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63393/custom-agps-which-data-is-required-for-the-agps</link><description>Hi, I&amp;#39;m currently implementing AGPS on 9160, nrf connect master branch. Right before every GPS search we are connecting to our own server via CoAP. To minimize data usage and power consumption I want to avoid using the SUPL library. Instead I&amp;#39;m returning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jul 2020 14:48:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63393/custom-agps-which-data-is-required-for-the-agps" /><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/260843?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 14:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2bd4da8-c06a-4cf4-8e0f-17889060cae9</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, we are still waiting for answers to Simon&amp;#39;s questions internally, but I&amp;#39;ll try to add my knowledge here as well.&lt;/p&gt;
&lt;p&gt;When it comes to what data is necessary, the answer is the more, the better.&lt;/p&gt;
&lt;p&gt;However, the data has different longevity, so not all the data is necessary every time.&lt;/p&gt;
&lt;p&gt;E.g. the almanac is valid for weeks (I don&amp;#39;t remember the exact number at the moment) but can be used for months with less performance gain. In addition, it is not strictly necessary, so the GPS should be able to get a fix even if it is missing.&lt;/p&gt;
&lt;p&gt;Meanwhile, the ephemeris is only valid for a couple of hours, before it must be refreshed.&lt;/p&gt;
&lt;p&gt;So, I would say that if you fill out what you can, that should help you a bit. However, this is mostly (somewhat qualified) speculation on my part. It might be that the whole struct must be filled (correctly) for you to get any benefit.&lt;/p&gt;
&lt;p&gt;When it comes to the data format, I have seen any specifications, though I would assume it is closely related to the format used by the satellites. The format of the structs is probably specific to the nRF9160, but the data inside should be fairly standard.&lt;/p&gt;
&lt;p&gt;I do not believe that any of the structs make any of the other redundant.&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t already, you should take a look at the A-GPS related files in the nrf_cloud library (nrf/subsys/net/lib/nrf_cloud), which shows how that library handles requesting and downloading A-GPS data from nRF Cloud.&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><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/260467?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 02:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf86599f-ab1f-4641-abb3-4d2455e701d8</guid><dc:creator>Jan Erik</dc:creator><description>&lt;p&gt;Hi, it seems like nrf_sendto() is successful but I&amp;#39;m not noticing a huge TTFF improvement.&lt;br /&gt;&lt;br /&gt;In any case it would be great to know which extra pieces of information would increase our GPS performance, and which pieces we can leave out. I have no problem waiting for someone more knowledgeable about AGPS by the way.&lt;br /&gt;&lt;br /&gt;Also, are those struct values Nordic specific or based on some external convention?&lt;br /&gt;For example the UTC time one has some weird polynomial values that I can&amp;#39;t quite figure out, so even though I have a timestamp I&amp;#39;m not able to feed it to the agps. If it&amp;#39;s not Nordic specific I might be able to find some docs about it elsewhere.&lt;br /&gt;&lt;br /&gt;And one more thing: I can&amp;#39;t find any official google documentation about their SUPL server, does that exist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/260430?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2020 15:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bdee440-2de2-4032-b540-23d67c2a8eac</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am not totally sure about this, as I don&amp;#39;t know much about AGPS.&lt;/p&gt;
&lt;p&gt;Couldn&amp;#39;t you just test it out and see if it works? Try using only using type=NRF_GNSS_AGPS_LOCATION and using &lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/master/bsdlib/include/nrf_socket.h#L950"&gt;this struct&lt;/a&gt;&amp;nbsp;with all fields set to NULL&amp;nbsp;except for&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/master/bsdlib/include/nrf_socket.h#L909-L920"&gt;these&lt;/a&gt;&amp;nbsp;and run&amp;nbsp;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/v1.3.0/samples/nrf9160/gps/src/main.c#l351" href="https://github.com/nrfconnect/sdk-nrf/blob/v1.3.0/samples/nrf9160/gps/src/main.c#L351" rel="noopener noreferrer" target="_blank"&gt;nrf_sendto()&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked internally about this, and hopefully, someone with more knowledge about this can shed some light on your questions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/259996?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 19:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0286acc-f9e7-4441-a5f0-3deb8b311382</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am currently looking into this and will prioritize it in the next days. The GPS experts in the support team are currently on vacation, so I&amp;#39;ll have to do some investigations myself.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/259875?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 10:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:387d0228-7d73-4cf2-988f-f12164e1d053</guid><dc:creator>Jan Erik</dc:creator><description>&lt;p&gt;Hi, any updates here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom AGPS: Which data is required for the AGPS?</title><link>https://devzone.nordicsemi.com/thread/258692?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2020 23:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e9e7c3-88e0-45e3-bf12-900ef43ffa9e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Currently, a huge portion of the support team (including many of the experts on nRF9160) is on summer vacation, and you may experience delayed answers. My apologies for that.&lt;/p&gt;
&lt;p&gt;I will try to provide you with an answer within this week.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>