<?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>nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79045/nrf9160-agps-sample</link><description>In the AGPS sample for nRF9160 &amp;quot;v1.5.1\nrf\samples\nrf9160\agps&amp;quot; main.c, there is option to set interval an and timeout in &amp;quot;gps_config&amp;quot; structure in &amp;quot;gps_start_work_fn&amp;quot; routine. What is the maximum value of interval that can be set? I am getting error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Sep 2021 07:07:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79045/nrf9160-agps-sample" /><item><title>RE: nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/thread/327527?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 07:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f32a3e8-da13-4ede-82f4-e483d2e74e22</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thank you very much for the valuable input, Pritesh. I’m glad to hear that you could solve the issue and will keep this in mind :-)&lt;/p&gt;
&lt;p lang="en-GB"&gt;Cheers,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/thread/327491?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 19:12:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493625ed-3484-46e6-8009-d0f256efde22</guid><dc:creator>Pritesh</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I installed NCS v1.6.1 and tried out AGPS sample for it as well but I received same error as I had for AGPS sample in NCS 1.5.1.&lt;/p&gt;
&lt;p&gt;I noticed the radio module on the nRF9160_DK (v1.0.0) that I received couple of months ago was running firmware &amp;quot;mfw_nrf9160_1.2.3&amp;quot;. I updated modem firmware to &amp;quot;mfw_nrf9160_1.3.0&amp;quot; and immediately I was able to make AGS example work with longer interval timer.&lt;/p&gt;
&lt;p&gt;So there is some dependency of GPS interval timer in AGPS sample with the modem firmware. Now I am able to set longer interval timer with modem fw v1.3.0.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/thread/327363?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 09:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adcdf35e-0faf-430c-99a4-3391719b0df8</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks a lot for the feedback, Pritesh! I’m not able to find anything obvious from the snippets you provided.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Just out of curiosity: could you check if you are running into the same issue on NCS v1.6.1?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/thread/327230?ContentTypeID=1</link><pubDate>Mon, 30 Aug 2021 13:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73dcead-2182-4d09-9e12-07926dbe00b3</guid><dc:creator>Pritesh</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;I was not able to find any upper limit as well and compilation is not throwing any warning. I am using NCS v1.5.1. I am attaching few screenshots and output of the project build. Screenshots and build out out is when I try interval for 3600 seconds. By trials I figured for any interval value above 1800 seconds, I am seeing &amp;quot;Failed to set fix interval value&amp;quot; on the logout at run time.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2021_2D00_08_2D00_30-085837.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2021_2D00_08_2D00_30-085940.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Build-Output.txt"&gt;devzone.nordicsemi.com/.../Build-Output.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample</title><link>https://devzone.nordicsemi.com/thread/327224?ContentTypeID=1</link><pubDate>Mon, 30 Aug 2021 12:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:529616b5-c774-4124-806b-4947f3de4b7f</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Pritesh,&lt;/p&gt;
&lt;p lang="en-GB"&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/drivers/gps.html#c.gps_config.interval"&gt;documentation&lt;/a&gt; does not mention any upper limit more than the maximum value of uint32 and I’m not able to reproduce the error you are getting neither. I have tested&amp;nbsp;with&amp;nbsp;both NCS v1.5.1 and 1.6.1 and this is what my applications logs show:&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
I: A-GPS sample has started                                         
I: Connecting to LTE network. This may take minutes.
I: PSM mode requested
+CEREG: 2,&amp;quot;76C1&amp;quot;,&amp;quot;03114601&amp;quot;,7                                       
+CSCON: 1                                                           
+CEREG: 5,&amp;quot;76C1&amp;quot;,&amp;quot;03114601&amp;quot;,7,,,&amp;quot;00000010&amp;quot;,&amp;quot;00011111&amp;quot;
I: Connected to LTE network
D: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1565,1586
D: COEX0 set: AT%XCOEX0=1,1,1565,1586
D: GPS socket created, fd: 1232491587
I: CLOUD_EVT_CONNECTING
I: CLOUD_EVT_CONNECTED                                              
I: CLOUD_EVT_DATA_RECEIVED                                          
I: CLOUD_EVT_PAIR_DONE
I: CLOUD_EVT_READY                                                  
I: Service info sent to cloud                                       
D: GPS mode is enabled
D: GPS operational
I: Periodic GPS search started with interval 86400 s, timeout 120 s
I: GPS_EVT_SEARCH_STARTED                                           
D: A-GPS data update needed
I: GPS_EVT_AGPS_DATA_NEEDED
D: Created A-GPS request: {&amp;quot;appId&amp;quot;:&amp;quot;AGPS&amp;quot;,&amp;quot;messageType&amp;quot;:&amp;quot;DATA&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;mcc&amp;quot;:242,&amp;quot;mnc&amp;quot;:1,&amp;quot;tac&amp;quot;:30401,&amp;quot;eci&amp;quot;:51463681,&amp;quot;phycid&amp;quot;:0,&amp;quot;types&amp;quot;:[}
D: A-GPS request sent                                               
I: CLOUD_EVT_DATA_RECEIVED&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Are you getting any warning during compilation that might point towards the issue maybe?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>