<?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>GNSS interface problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81634/gnss-interface-problems</link><description>Hello, 
 I am migrating my project from GPS driver to GNSS interface. I am facing a few problems when I am using GNSS interface. 
 1. GPS driver can generate simulation data, how can I do the same in GNSS interface? 
 2. GNSS interface can select Timing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Nov 2021 04:14:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81634/gnss-interface-problems" /><item><title>RE: GNSS interface problems</title><link>https://devzone.nordicsemi.com/thread/339324?ContentTypeID=1</link><pubDate>Wed, 17 Nov 2021 04:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a4bddc-11fb-45d4-85e9-256d80dfc053</guid><dc:creator>kclauah</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;My board is connected with a patch antenna and try to retrieve location sitting next to the windows but it is not working. A GPS repeater maybe a bit overkill. I have also tested cellular based location service but the result is unacceptable(I have not tried the new location API, but using GetSingleCellLocation).&lt;/p&gt;
&lt;p&gt;Let me take a look into the master branch location API and see if porting the GPS simulator is feasible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GNSS interface problems</title><link>https://devzone.nordicsemi.com/thread/339194?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 10:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2845b07e-ae9c-4808-a596-29d0485ceb62</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="kclauah"]Or in any way I can test the GNSS interface indoor?[/quote]
&lt;p&gt;You could use an external antenna, or a GPS repeater, though both of those solutions might be a bit over the top if you are not testing the GPS specifically.&lt;/p&gt;
[quote user="kclauah"]But is there any chances I can port the code of GPS simulator to GNSS interface?[/quote]
&lt;p&gt;Yes, you might be able to do that. But you risk running into problems with multiple definitions of the API.&lt;/p&gt;
&lt;p&gt;Another solution would be to use the new location API which has been included on the master branch: &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/include/modem/location.h"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/include/modem/location.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It will support both cellular and GNSS based location backends. The cellular based location services might be a good enough solution (no need for simulating anything, but some potential cost on the cloud side), or you could port the simulator to use the location API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GNSS interface problems</title><link>https://devzone.nordicsemi.com/thread/338890?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 01:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0bf0372-c296-4b58-9089-bd311707692b</guid><dc:creator>kclauah</dc:creator><description>&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;The GNSS interface does not support simulating GPS data.

The GPS simulator isn&amp;#39;t removed yet, but with a different API it probably isn&amp;#39;t as usefull.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your response. I have tested the board outdoor which has a fast first-time-to-fix and great accuracy in positioning. But is there any chances I can port the code of GPS simulator to GNSS interface? Or in any way I can test the GNSS interface indoor? &lt;/p&gt;
&lt;p&gt;It is hard to find a place which is outdoor and has a table and chair in my area. A rainy day/days make the problems worse.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2. To save power, the GNSS can keep sending 1PPS using an on-board timing source, instead of keeping the GNSS running at all times.

The setting should not have any effect when not using 1PPS.


3. You need to call nrf_modem_gnss_start() before you call nrf_modem_gnss_dyn_mode_change().

Also, remember that GNSS must be activated in the modem, with AT+CFUN=1 or 31.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the clear explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GNSS interface problems</title><link>https://devzone.nordicsemi.com/thread/338738?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 10:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb49d51-31c6-430f-894c-cf2d22a8e0b4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1. GPS driver can generate simulation data, how can I do the same in GNSS interface?[/quote]
&lt;p&gt;The GNSS interface does not support simulating GPS data.&lt;/p&gt;
&lt;p&gt;The GPS simulator isn&amp;#39;t removed yet, but with a different API it probably isn&amp;#39;t as usefull.&lt;/p&gt;
[quote user=""]2. GNSS interface can select Timing source between RTC and TCXO. If I am not using 1PPS, is there any beneficial in 1 minute periodic navigation?[/quote]
&lt;p&gt;To save power, the GNSS can keep sending 1PPS using an on-board timing source, instead of keeping the GNSS running at all times.&lt;/p&gt;
&lt;p&gt;The setting should not have any effect when not using 1PPS.&lt;/p&gt;
[quote user=""]3. In GNSS interface, there is a chapter called changing-the-dynamics-mode. But it does not work when I testing in GPS example.[/quote]
&lt;p&gt;You need to call nrf_modem_gnss_start() before you call nrf_modem_gnss_dyn_mode_change().&lt;/p&gt;
&lt;p&gt;Also, remember that GNSS must be activated in the modem, with AT+CFUN=1 or 31.&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>