<?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>Tracker V2 GPS accuracy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94081/tracker-v2-gps-accuracy</link><description>Hi, 
 
 We are currently evaluating the Tracker V2 application. 
 We would like to increase GPS accuracy, before the nrf9160 returns status GNSS_EVT_DATA_READY. No problem if gaining GPS accuracy will take a bit longer. 
 Can we change GPS accuracy parameters</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Nov 2022 09:39:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94081/tracker-v2-gps-accuracy" /><item><title>RE: Tracker V2 GPS accuracy</title><link>https://devzone.nordicsemi.com/thread/397089?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 09:39:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc7c13a8-f0c7-4f72-a84c-d434cb3b4ffd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It does not filter on DOP, but allows the GNSS to run longer, which&amp;nbsp;in most cases improves the accuracy of the fix.&lt;/p&gt;
&lt;p&gt;The location API allows you to set the amount of consecutive fixes in the configuration struct that is passed to the library:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/samples/nrf9160/location/src/main.c#L102"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/samples/nrf9160/location/src/main.c#L102&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this case, it loads the default configuration, which is _ACCURACY_NORMAL:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/lib/location/location.c#L131"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/lib/location/location.c#L13&lt;/a&gt;0&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In&amp;nbsp;_LOW and _NORMAL&amp;nbsp;mode, the &amp;quot;&lt;span&gt;num_consecutive_fixes&lt;/span&gt;&amp;quot; member has no effect, as per the API documentation:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/include/modem/location.h#L178-L184"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/include/modem/location.h#L178-L184&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracker V2 GPS accuracy</title><link>https://devzone.nordicsemi.com/thread/396901?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 12:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01aaf16-e210-4446-be9f-26c926769fd0</guid><dc:creator>Gerbert</dc:creator><description>&lt;p&gt;Thanks. I have found some brief explanation:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	/** @brief Desired accuracy level.
	 *
	 * @details If accuracy is set to LOCATION_ACCURACY_LOW, GNSS relaxes the
	 * criteria for a qualifying fix and may produce fixes using only three satellites.
	 *
	 * If accuracy is set to LOCATION_ACCURACY_HIGH, instead of using the first fix, GNSS is
	 * allowed to run for a longer time. This typically improves the location accuracy.
	 */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you explain how &amp;quot;run for a longer time&amp;quot; is handled? Is&amp;nbsp;it only time based (eg running +5s after first fix) or are there also other GNSS KPI&amp;#39;s involved (eg HDOP, etc)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracker V2 GPS accuracy</title><link>https://devzone.nordicsemi.com/thread/396870?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 11:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea8b5337-43d3-431c-b841-11e55935b3b2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ATv2 in current tagged versions (including v2.1.0) has a limited option to configure the GNSS, unfortunately.&lt;/p&gt;
&lt;p&gt;However, in future tagged versions, it will start to use the location module:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/location.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/location.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which is enabled with this commit:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/8b2c475ed7368aaac606af4c53885009331ae35a"&gt;https://github.com/nrfconnect/sdk-nrf/commit/8b2c475ed7368aaac606af4c53885009331ae35a&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the location module, you can set the accuracy of your requested GNSS signal to low/normal/high:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/samples/nrf9160/location/src/main.c#L152"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.2/samples/nrf9160/location/src/main.c#L152&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>