<?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>Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92501/clarification-about-gnss-location-hint-fields</link><description>Hello, 
 We are trying to use the nrf91 GNSS with the `nrf_modem_gnss` library. I&amp;#39;m looking for clarification on these fields that are listed in `struct nrf_modem_gnss_agps_data_location`, as the comments about the &amp;quot;coded number K&amp;quot; are a little unclear</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Dec 2022 10:18:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92501/clarification-about-gnss-location-hint-fields" /><item><title>RE: Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/thread/399371?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 10:18:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b2b755-ea2c-4786-8217-2dfb5d7c7260</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;We can check what is going on if you can provide us with a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html?cp=10_3_3"&gt;modem log&lt;/a&gt; and the coordinates that you are injecting.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html?cp=10_3_3"&gt;https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html?cp=10_3_3&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/thread/399029?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 16:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3827022d-274a-4be0-ade3-2b1db6213c92</guid><dc:creator>jessyan</dc:creator><description>&lt;p&gt;Without the location hint, we are seeing cold starts in about 30s which matches the nrf9160 spec.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the location hint, we could be waiting for minutes before getting a fix, and most of the time never getting one after waiting 5 minutes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/thread/397615?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 11:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92c511c4-5fc8-49a1-bd42-b0de108a5aaa</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="jessyan"]we are actually taking longer to find a fix than if we did not have the location hint[/quote]
&lt;p&gt;how much of a difference is it? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/thread/397016?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 19:45:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c4529e-b956-43ff-86fa-5d3c006b1627</guid><dc:creator>jessyan</dc:creator><description>&lt;p&gt;Thank you for the response! I have been testing the GPS location hint with the equation you&amp;#39;ve given, using the `nrf_modem _gnss` module. However, we&amp;#39;ve noticed that with the location hint, we are actually taking longer to find a fix than if we did not have the location hint so we think the conversions could be off.&lt;/p&gt;
&lt;p&gt;Can you confirm that the following are the correct equations and units for this location hint struct? The accuracy is in meters.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Latitude, longitude are scaled by 1e5&amp;nbsp;&lt;/li&gt;
&lt;li&gt;unc_semimajor = log(acc)/log(1.1)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;unc_semiminor = log(acc)/log(1.1)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;unc_altitude = 255 (we don&amp;#39;t have altitude accuracy at the moment)&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;confidence = 68&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification about GNSS location hint fields</title><link>https://devzone.nordicsemi.com/thread/389170?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 10:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46547ef6-b863-4ddb-8e5b-ed22328e2e13</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]Is there a way to translate those into unc_semimajor, unc_semiminor, and confidence to pass to the GNSS module as a location hint?&amp;nbsp;[/quote]
&lt;p&gt;The accuracy you get form Google can be converted to K value. Accuracy is the same as uncertainty. &lt;br /&gt;&lt;br /&gt;Just needs to be converted into unc_semimajor and unc_semiminor using the formula provided.&amp;nbsp; Location is usually given with 1-sigma confidence, so should set the confidence field to 68 (i.e. 68%).&lt;br /&gt;&lt;br /&gt;Since cellular position accuracy is given in radius of circle the unc_semimajor and unc_semiminor will be the same value. &lt;br /&gt;&lt;br /&gt;That gives the K =&amp;nbsp; Log(Accuracy)/Log(1.1), so if we have a accuracy of 300 meter the the K value is 36. &lt;br /&gt;&lt;br /&gt;The following formula should work in Excel: =LOG(&amp;lt;accuracy&amp;gt;/10+1,1.1). depending on what version of Excel you have the &amp;quot;,&amp;quot; might not be accepted as the divider for number and base. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>