<?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 and nRF Cloud</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79240/nrf9160-agps-sample-and-nrf-cloud</link><description>I am using 
 MF V1.3 
 NCS V1.6.0 
 nRF9160Dk V0.15.0 
 Project: AGPS Sample 
 
 If i set the Interval in the gps_config structure to any number under 240 and run the sample i will see a message received in the terminal window of the nRF Cloud after every</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Nov 2021 08:11:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79240/nrf9160-agps-sample-and-nrf-cloud" /><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/339141?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 08:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae009c1c-6acc-4e36-86c3-7ba4836a2448</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hey Wes,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is an update from the cloud team:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;I did make some general improvements to the nRF Cloud use of MQTT to help detect and report NAT-timeout-caused disconnects. They were merged into the sdk-nrf main branch earlier this week.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I suggest the customer set the keepalive shorter (to 250 or so) as a stop-gap measure. The design of the keepalive mechanism is such that if the application has sent or received data with the cloud the keepalive will be delayed, so it does not unnecessarily send keepalives when they are not needed.&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Any updates from your side or should we close this ticket?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/330156?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 07:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18d7e4a-c067-4513-a5ab-5c0d116db149</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, the nRF Cloud team responds with the following answer:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The AGPS sample does not handle long intervals like this, as it does not implement complete error detection and recovery of link errors. This sample, like all samples in the nRF Connect SDK, are only meant to demonstrate a particular aspect of the SDK, and are not meant to be used as production-ready examples.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If the final application is to only obtain a fix every 4+ hours, then the application should disconnect from the cloud immediately after AGPS is received and data is sent to the cloud, and then reconnect again 4 hours later to repeat the process. I&amp;#39;m assuming for simplicity that there are no other cloud services needed during the 4 hour wait time. This will save a lot of power and prevent wasted data bandwidth with all the required keepalive messages.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The asset_tracker_v2 application is a much more complete example of how to do this correctly.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/330107?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 19:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dd51f5d-4255-4c82-ae2c-1f2e5179aecf</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;I tried to log GPS performance over serial log last night but for some reason board only sends data for first half an hour and stops. For my comparison test it is ok if data is not coming to nRF Cloud but if can GPS fixes data over serial terminal I can manage my test.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/329632?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 13:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cac03d82-5f83-4f3a-a26f-ae454b81aee1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;No, I&amp;#39;m afraid no updates at the moment. Will poke our developers.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/329434?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 12:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856b7c12-63d4-4563-8370-a1e0d829000f</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;Any Update??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/328886?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 18:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf3b187-57ab-4173-958d-6c0edd446e77</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;I changed mqtt keepalive to 200 and performed same tests as you did and I am able to get messages on nRFCloud every 10 minutes with interval set to 600 seconds.&lt;/p&gt;
&lt;p&gt;Then I changed interval&amp;nbsp; to 3600 seconds and I am seeing mqtt errors in the logs and no messages in nRFCloud.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The test I need to do is for update every 4 hours and 24 hours because that is going to be the application. If 1 hour interval is not working then 4 hours and 24 hours will not work as well&lt;br /&gt;&lt;br /&gt;&lt;br /&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/2318.Log.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/328388?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 12:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b98a65-c848-4e0e-bc2b-29f04f772f31</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;My apologies for the late reply.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, there has been some suggestions to what you can try.&amp;nbsp;The MQTT keepalive is by default set to 1200 seconds, can you please try&amp;nbsp;reducing&amp;nbsp;this to e.g. 200?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/328377?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 11:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:068d4a33-8e3a-48c2-8220-3878aec4d930</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;ITthas been a while, is there any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 AGPS sample and nRF Cloud</title><link>https://devzone.nordicsemi.com/thread/327986?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 13:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:226a1ceb-5c2f-489b-9a98-9a3f7f77c218</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Wes,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This may be an issue with the nRF Cloud connection. Will need to investigate.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>