<?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>Variable GPS period fix interval. Best way to do it?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114874/variable-gps-period-fix-interval-best-way-to-do-it</link><description>Hello, 
 I am currently researching the best way to be able to change the rate at which I fetch a GPS fix. I want to start the program at 60 seconds, then depending on environmental variables I want to decrease to every ten seconds. 
 Is this possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2024 09:38:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114874/variable-gps-period-fix-interval-best-way-to-do-it" /><item><title>RE: Variable GPS period fix interval. Best way to do it?</title><link>https://devzone.nordicsemi.com/thread/503378?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 09:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:858d4c3f-007d-4091-8d06-b49085bd0dc7</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
&lt;p&gt;Thanks for checking with us.&amp;nbsp;&lt;/p&gt;
[quote user=""]Is this possible and is there a best way to do it? [/quote]
&lt;p&gt;Yes, it is totally possible. See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/the-benefits-of-assisted-gps-in-asset-tracking-applications"&gt;(+) Up to 4x battery life: The benefits of assisted GPS in asset tracking - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;. The TTFF can be achieved within 60 seconds even without A-GPS on nRF9160DK, then the device can get GPS fix at a ten seconds interval.&lt;/p&gt;
[quote user=""]&lt;p&gt;1) Firstly, I could independently call&amp;nbsp;a single&amp;nbsp;GPS fix at every X seconds without having to worry about any intervals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) I could use intervals, then restart the GPS every time that i want to change the interval.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To maximise accuracy and minimise time to fix, what would be the recommended way to get variable rate fixes, or is there any other way i am not thinking about?&amp;nbsp;&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I would say it does not matter too much if the GPS fix interval is the same, since the GPS operation time is the most power consuming part, but it is worth to keep monitoring the power consumption like the blog did during your development.&lt;/p&gt;
&lt;p&gt;The optimization is a balance of your application needs, power consumption and accuracy. You may consider other location services using Wi-Fi and cellular.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/ssid_2d00_based-wi_2d00_fi-locationing-comparing-performance-with-other-location-services"&gt;(+) SSID-based Wi-Fi locationing: Comparing performance with other location services - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>