<?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>nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122905/nrf9160-gnss-assistance</link><description>Hello, 
 I have a product based on nRF9160 that uses GNSS. The device is a meter, not an asset tracker, so GNSS is not the TOP 1 feature we need. 
 When the device is installed, its location is not meant to change for a long time. The application will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Aug 2025 13:15:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122905/nrf9160-gnss-assistance" /><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/547087?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 13:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f325e1-313d-4b86-aff3-e312d405b24b</guid><dc:creator>Hakon</dc:creator><description>[quote user="Vincent44"]I can see from the GNSS sample that in order to not re-write the almanac, a setting (NVM) in used. The example doesn&amp;#39;t perform XFACTORYRESET so it&amp;#39;s not an issue. However, in my code, it may occur. So I would like to know if this is something to take care of.[/quote]
&lt;p&gt;If it is stored in NVM, then there is a chance that it is erased with&amp;nbsp;XFACTORYRESET. So yes, this is something to be concerned with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/547047?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 09:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de919fe-6965-4da3-b17a-2b36346a9b8f</guid><dc:creator>Vincent44</dc:creator><description>&lt;p&gt;Thanks for the quick and clear response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Concerning the almanac, does it get erased when a XFACTORYRESET (0 or 1) is performed ?&lt;/p&gt;
&lt;p&gt;I can see from the GNSS sample that in order to not re-write the almanac, a setting (NVM) in used. The example doesn&amp;#39;t perform XFACTORYRESET so it&amp;#39;s not an issue. However, in my code, it may occur. So I would like to know if this is something to take care of.&lt;/p&gt;
&lt;p&gt;An easy way to check would be to read back the almanac using XFILEREAD, but it seems that there is no such command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/547016?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 07:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d0cc39-254b-4413-ae23-47ce042fddca</guid><dc:creator>Hakon</dc:creator><description>[quote user="Vincent44"]&lt;br /&gt;I am not familliar with the datials of how the alamac works.&lt;br /&gt;But what you are saying, I can hard-code latest factory almanac (currently, from SDK 3.1.0), and would still be valid for several years. An generally speaking, even after several months, it&amp;#39;s still better than not having any almanac. Is this correct ?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="Vincent44"]Any details on how this table has been constructed ?[/quote]
&lt;p&gt;I couldn&amp;#39;t find any information about this. Perhaps it is handled internally in modem lib.&lt;/p&gt;
[quote user="Vincent44"]&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Side question: when should&amp;nbsp;nrf_modem_gnss_agnss_write() be called to inject time and approximate location ? Before turning on GNSS ? When modem is OFF ?&lt;/p&gt;[/quote]
&lt;p&gt;&lt;code style="margin-bottom:8px;margin-top:8px;white-space:pre;" dir="ltr"&gt;nrf_modem_gnss_agnss_write&lt;/code&gt;() Should be called after GNSS has been started and the&amp;nbsp;&lt;span&gt;&lt;code style="margin-bottom:8px;margin-top:8px;white-space:pre;" dir="ltr"&gt;NRF_MODEM_GNSS_EVT_AGNSS_REQ&lt;/code&gt;&lt;/span&gt;&amp;nbsp;event has been received.&lt;/p&gt;
[quote user="Vincent44"]Any news on the factory almanac delivery ?[/quote]
&lt;p&gt;No news yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/546938?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2025 13:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10fbbc80-434f-482f-8ca7-460c234528ee</guid><dc:creator>Vincent44</dc:creator><description>&lt;p&gt;Hello Hakon.&lt;br /&gt;Thanks for the detailled answer.&lt;br /&gt;&lt;br /&gt;Any news on the factory almanac delivery ?&lt;br /&gt;&lt;br /&gt;I am not familliar with the datials of how the alamac works.&lt;br /&gt;But what you are saying, I can hard-code latest factory almanac (currently, from SDK 3.1.0), and would still be valid for several years. An generally speaking, even after several months, it&amp;#39;s still better than not having any almanac. Is this correct ?&lt;br /&gt;&lt;br /&gt;Thanks for the idea of injecting the previous GNSS fix. This would make a lot of sense for my devices, since they genrally don&amp;#39;t move once installed.&lt;br /&gt;I actually assumed that it be stored in GNSS internal memory, but there is indeed no mention of this.&lt;br /&gt;&lt;br /&gt;In the GNSS Sample, I had a look at the mcc_location_table.c, which is used to provide rough location.&lt;br /&gt;Any details on how this table has been constructed ?&lt;br /&gt;I had a look for France, which is where I am, and the corresponding Lat/Long are pointing to North Spain. We are look at rought location, so it&amp;#39;s note 100% bad, but still ...&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Side question: when should&amp;nbsp;nrf_modem_gnss_agnss_write() be called to inject time and approximate location ? Before turning on GNSS ? When modem is OFF ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/543208?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 13:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fbe48c3-28bf-468a-8121-a2be2425067e</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Modem team commented;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;“So far, the only way to get a recent almanac seems to be looking in the latest SDK releases.“ ← unfortunately this is still the case. Making the factory almanac readily available has not been forgotten. An IT ticket about this has been opened recently to figure out where to host this data.&lt;/p&gt;
&lt;p&gt;We have not documented how the factory almanac is generated because our eventual goal is to make it easily available for our customers.&lt;/p&gt;
&lt;p&gt;However, in the meantime, you can modify your application so that you only inject &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;GPS&lt;/span&gt; time and coarse location to the &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;GNSS&lt;/span&gt; module. Having the almanac available only helps the device to determine the rough position of satellites and thus makes startup slightly faster and more sensitive compared to cold start. The device will have an almanac in the memory (hence the name factory almanac) which remains usable for years for this purpose as long as the time and coarse location of the device is known.&lt;/p&gt;
&lt;p&gt;Actually your application is well suited for the minimal assistance kind of operation because you can just save and inject the last position from one week ago instead of using nRFCloud to resolve the coarse location based on neighbouring &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;LTE&lt;/span&gt; base stations. If the device had indeed moved, the GNSS fix would converge to a correct new position regardless of the inaccurate assistance position - it might just take a bit more time to output the fix in this case.&lt;/p&gt;
&lt;p&gt;So up to this point you can do all this without resorting to A-GPS. Now if you are interested in saving power by shortening the time to first fix or increasing the accuracy of the position fix, I recommend using A-GPS. A-GPS data from nRFCloud contains all the required navigation data - not only almanacs. It is mostly the injection of ephemerides that makes A-GPS so good compared to unassisted GNSS. A-GPS ephemerides are valid for roughly two hours, as you mentioned. So to get one GNSS fix per week, you need to download A-GPS every time before attempting the fix. Nevertheless, we’ve found that it uses less power that doing 1 cold start per week.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GNSS assistance</title><link>https://devzone.nordicsemi.com/thread/542422?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 16:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b20a59-1b94-4f2f-8ab0-37e4c886bc18</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have forwarded your questions to the modem team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>