<?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>GPS hot start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53560/gps-hot-start</link><description>Looking at the GPS driver source code, it seems there is no GPS hot start mode. In order to get the hot start working, do I have to modify the driver myself, or is there some config parameters I can set in my prj.conf file or elsewhere in order to get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2020 14:03:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53560/gps-hot-start" /><item><title>RE: GPS hot start</title><link>https://devzone.nordicsemi.com/thread/236274?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 14:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5462912-097e-42a3-9a94-45f9d1162051</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/akashpatel"&gt;Akash Patel&lt;/a&gt;, and sorry for not seeing your question earlier.&lt;/p&gt;
&lt;p&gt;You can read more about the differences in this Wikipedia article: &lt;a href="https://en.wikipedia.org/wiki/Time_to_first_fix"&gt;https://en.wikipedia.org/wiki/Time_to_first_fix&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Our GPS will be able to do a hot start if the time between fixes is less than 30min. If it is less than 1.5 hours, it will need to correct the time, so it will take a few seconds longer to get a fix. If it has been more than 1.5 hours, the ephemerides are no longer valid, which increases the time to fix 10s of seconds.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="AkashPatel"]Is this as simple as setting the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/c04db43c62eb8c120f556139712fc0737674a73f/applications/asset_tracker/src/main.c#L102"&gt;gps_data&lt;/a&gt; structure (in Asset Tracker) to NULL to force a cold start?[/quote]
&lt;p&gt;&amp;nbsp;No, the gps_data struct is where the GPS fix is stored. I.e. it is the way the application get data from the GPS. The data used by the GPS to enable hot starts (and warm) are stored in the modem. However, on the socket level, you can instruct the modem to delete the data by setting the &lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/nrf_socket.h#L959"&gt;nrf_gnss_delete_mask&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="AkashPatel"]If I get a fix, do a power cycle of the board, and then attempt another fix immediately, would that count as a cold, warm, or hot fix?[/quote]
&lt;p&gt;&amp;nbsp;If you run AT+CFUN=0 first, the ephemerides should be stored to flash. Therefore, after a power cycle, while you might have to get new time data, you should get a hot-ish start.&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: GPS hot start</title><link>https://devzone.nordicsemi.com/thread/234496?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 18:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6af5d4f-430f-43dd-8057-13ff0951bbe5</guid><dc:creator>Akash Patel</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;Can you give greater clarity on the difference between warm start and hot start?&lt;/p&gt;
[quote userid="81181" url="~/f/nordic-q-a/53560/gps-hot-start/216339"]With bsdlib v0.4.0 and newer (available on the master branch) it is possible to delete the stored data, thereby forcing a cold start.[/quote]
&lt;p&gt;Is this as simple as setting the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/c04db43c62eb8c120f556139712fc0737674a73f/applications/asset_tracker/src/main.c#L102"&gt;gps_data&lt;/a&gt; structure (in Asset Tracker) to NULL to force a cold start?&lt;/p&gt;
&lt;p&gt;If I get a fix, do a power cycle of the board, and then attempt another fix immediately, would that count as a cold, warm, or hot fix?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Akash Patel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS hot start</title><link>https://devzone.nordicsemi.com/thread/216339?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 11:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b664d47-43b0-4bc5-aba0-f62a9ae2342a</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Our GPS will automatically do a cold, warm, or hot start depending on the conditions when it is started. With bsdlib v0.4.0 and newer (available on the master branch) it is possible to delete the stored data, thereby forcing a cold start.&lt;/p&gt;
&lt;p&gt;Typically when GPS is started immediately after power-on, it has no prior knowledge of what time it is, or where it is, nor any knowledge of the satellite orbits. It will then have to do a cold start.&lt;/p&gt;
&lt;p&gt;If it has some coarse knowledge of all of the above, it will do a warm start. This would happen if the device has already made a GPS fix and stayed power on, and after 2 hours or more has to make a new fix (whereby the time accuracy is no longer accurate, the device may have moved, and the satellite orbits (ephemeris) are no longer valid).&lt;/p&gt;
&lt;p&gt;If it has accurate knowledge of all of the prerequisites, it will do a hot start. This will automatically happen if a new fix is requested within half an hour from the last successful fix.&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>