<?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>How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51299/how-to-get-data-from-nrf9160-dk-from-gps-example</link><description>Hi All 
 I am using nRF9160 DK version 0.8.5, and I have gone through this link, downloaded and Installed all the steps, given there. All seems to be running good. 
 But some how, while retrieving GPS location, I am having some issues. 
 I am using the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 31 Aug 2019 05:01:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51299/how-to-get-data-from-nrf9160-dk-from-gps-example" /><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/207227?ContentTypeID=1</link><pubDate>Sat, 31 Aug 2019 05:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e084299-b82c-4988-91a0-6e7965cf396d</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks For Replay&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3250.gps-data.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here,&lt;/p&gt;
&lt;p&gt;We tried monitoring &lt;strong&gt;gps_data.pvt&lt;/strong&gt; to get location data but some how &lt;strong&gt;gps_data.pvt&lt;/strong&gt; doesn&amp;#39;t show proper location data. instead,&lt;/p&gt;
&lt;p&gt;if we monitor &lt;strong&gt;last_fix.pvt&lt;/strong&gt;, we can see proper location data&lt;/p&gt;
&lt;p&gt;Now I Got Proper Data on &lt;strong&gt;last_fix.pvt&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/207068?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 08:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa2f0004-3ea2-46fe-8c9e-a203a560ba3c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Which version of the GPS driver are you using? Could you please update to use the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/drivers/nrf9160_gps"&gt;newest gps driver&lt;/a&gt; if you are not already doing so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206483?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 04:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc461ee6-39a8-47e3-a7c9-fa9fff27e4d9</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;HI Hoang&amp;nbsp;&lt;em&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;I didnt see&amp;nbsp;1.22042e-76 on your log file&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I am Talking about in Debugging mode and i get data in link monitor but cant get data in debug watch window section i put screen shot of this&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/gps-data.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206328?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 10:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba024753-b33f-483e-a32b-5bf68df26034</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/jaydip-kavaiya"&gt;jaydip kavaiya&lt;/a&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see the&amp;nbsp;pvt_data data is normal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i can find your position:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.google.com/maps/place/23%C2%B001&amp;#39;07.7%22N+72%C2%B032&amp;#39;39.0%22E/@23.0188149,72.5419893,17z/data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d23.01881!4d72.544178"&gt;https://www.google.com/maps/place/23&amp;deg;01&amp;#39;07.7&amp;quot;N+72&amp;deg;32&amp;#39;39.0&amp;quot;E/@23.0188149,72.5419893,17z/data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d23.01881!4d72.544178&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;from your log file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-08-27T10:40:50.839Z DEBUG modem &amp;lt;&amp;lt; Longitude:  72.544178\x0D\x0D\x0A
2019-08-27T10:40:50.843Z DEBUG modem &amp;lt;&amp;lt; Latitude:   23.018810\x0D\x0D\x0A
2019-08-27T10:40:50.845Z DEBUG modem &amp;lt;&amp;lt; Altitude:   2.559669\x0D\x0D\x0A
2019-08-27T10:40:50.848Z DEBUG modem &amp;lt;&amp;lt; Speed:      0.551426\x0D\x0D\x0A
2019-08-27T10:40:50.892Z DEBUG modem &amp;lt;&amp;lt; Heading:    0.000000\x0D\x0D\x0A
2019-08-27T10:40:50.894Z DEBUG modem &amp;lt;&amp;lt; Date:       27-08-2019\x0D\x0A
2019-08-27T10:40:50.896Z DEBUG modem &amp;lt;&amp;lt; Time (UTC): 10:40:53\x0D\x0A\x0D\x0A&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I didnt see&amp;nbsp;&lt;span&gt;1.22042e-76 on your log file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hoang Nguyen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206325?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 10:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10fea74c-613b-4299-8729-6cb26514b36e</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hng"&gt;Hoang&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sure This is my logfile&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2019_2D00_08_2D00_27T10_5F00_37_5F00_27.545Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2019_2D00_08_2D00_27T10_5F00_37_5F00_27.545Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206319?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 10:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3502ad1c-a0a0-4343-aef0-60e1d0304185</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jaydip-kavaiya"&gt;jaydip kavaiya&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;can you share the log file, I really want to see it to understand more about your case.&lt;/p&gt;
&lt;p&gt;thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206310?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 10:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ecc6412-7b36-40a8-9cf5-4811af983665</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;Hi Bjorn Kvaale&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, We have placed the DK near window &amp;amp; we are not using any external antenna.&lt;br /&gt;We haven&amp;#39;t changed the prj.conf settings.&lt;br /&gt;You are right. I think this delay is because of the placement of device, near window area.&lt;br /&gt;I&amp;#39;ll test it under open sky &amp;amp; let you know, if there is some unknown behavior.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Bjorn Kvaale, c&lt;/span&gt;an you guide me why I am getting&amp;nbsp;&lt;span&gt;1.22042e-76 like values for GPS data, if I monitor &amp;#39;gps_data.pvt&amp;#39; structure, using debug session?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206303?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 09:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d9632de-453a-4190-b0e4-0eea5744f0f0</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you placed the DK near a window? Are you using an external GPS antenna? Have you taken a look at the prj.conf settings? You are able to change some of the values if needed, but I would suggest to leave them as be first. 300 to 500 seconds seems like you are testing inside without an external antenna.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/206302?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 09:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04bd31be-4caf-4397-8b39-c4886828bfca</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;Hi Hoang,&lt;/p&gt;
&lt;p&gt;Thanks for your valuable reply.&lt;/p&gt;
&lt;p&gt;With your suggestion, now I can get GPS data in Link monitor app.&lt;br /&gt;But it takes about 300 to 500 seconds to get 1st GPS data after power up.&lt;/p&gt;
&lt;p&gt;Is this delay reasonable, after power reset?&lt;br /&gt;Do we need to wait for such long time, if we want GPS data after waking up from sleep ?&lt;/p&gt;
&lt;p&gt;If we add &amp;#39;gps_data.pvt&amp;#39; structure in watch window, it shows the values mentioned in the main thread. Please help me here, also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/205554?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 11:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345d82e9-b081-49b1-9e56-3c14266fee3e</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;I just tried to remove the SIMCARD, and run gps example, it works normal:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Scanning [-] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
Seconds since last fix 24

Scanning [\] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
Seconds since last fix 24

Scanning [|] [1B][1;1H[1B][2JTracking: 8 Using: 8 Unhealthy: 0
Seconds since last fix 0
---------------------------------
Longitude:  10.484802

Latitude:   59.407666

Altitude:   61.914219

Speed:      0.806577

Heading:    0.000000

Date:       22-08-2019
Time (UTC): 11:15:30
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Get Data From nRF9160 DK From GPS Example ?</title><link>https://devzone.nordicsemi.com/thread/205539?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 10:58:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b3a1b8-43a2-40b6-962f-295f480e0eee</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/jaydip-kavaiya"&gt;jaydip kavaiya&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you using: ncs_v1.0.0&amp;nbsp;&amp;nbsp;&lt;span class="js-repo-root text-bold"&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf"&gt;&lt;span&gt;fw-nrfconnect-nrf&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="separator"&gt;/&lt;/span&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/samples"&gt;&lt;span&gt;samples&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="separator"&gt;/&lt;/span&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/samples/nrf9160"&gt;&lt;span&gt;nrf9160&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="separator"&gt;/&lt;/span&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/samples/nrf9160/gps"&gt;&lt;span&gt;gps&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;It has fuction: link her&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/gps/src/main.c#L189"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/gps/src/main.c#L189&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void print_pvt_data(nrf_gnss_data_frame_t *pvt_data)&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;    printf(&amp;quot;Longitude:  %f\n&amp;quot;, pvt_data-&amp;gt;pvt.longitude);
	printf(&amp;quot;Latitude:   %f\n&amp;quot;, pvt_data-&amp;gt;pvt.latitude);
	printf(&amp;quot;Altitude:   %f\n&amp;quot;, pvt_data-&amp;gt;pvt.altitude);&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;Can you share the log file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;BR,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;Hoang Nguyen&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="js-path-segment"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>