<?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>Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111808/best-possible-lte-configuration-for-gps-fix</link><description>I have a thingy91 device and want to implement the following requirements. 
 
 Expectation: 
 NRF9160 should remain in deep sleep mode and on the button click event do the following activities and again go to deep sleep mode: 
 1) Register LTE-M/NB-OIT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jun 2024 12:38:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111808/best-possible-lte-configuration-for-gps-fix" /><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488864?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 12:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d09df4d8-ee63-4ba9-9bfa-42126a1663dc</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Sounds like good plan&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488816?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 09:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:170069ae-32f7-48bc-94c5-bb83b958fcba</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;,Thanks for your answer,&lt;/p&gt;
&lt;p&gt;I want to inform you, that I am using A-GPS.&lt;/p&gt;
&lt;p&gt;I will&amp;nbsp;do the measurements of time required for the LTE connection, and GPS fix with different scenarios and let you know the result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488680?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 12:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56faf840-158b-4508-a011-ea188125e427</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;I had some rounds internally regarding your case:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The short answer&lt;/strong&gt; is that they should do tests and measurements, in the field.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The longer answer&lt;/strong&gt; is that it is complicated, and a lot of things to consider.&lt;/p&gt;
&lt;p&gt;Firstly, to get the fastest possible GPS fix, they should use A-GPS. However, that means they need an LTE connection before they use the GPS, which means that they need to wait for the LTE link to go idle before the GPS can run. Depending on the network, how long it takes to establish the LTE link, etc. this by itself might take longer than it would have taken to just get a GPS fix in the first place.&lt;/p&gt;
&lt;p&gt;1&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;Connecting to the network takes an indeterminate amount of time. If the network parameters are stored, it should be done very quickly (I haven&amp;#39;t timed it, but I wouldn&amp;#39;t say it takes longer than 1-2s). On the other hand, if the modem needs to do a full search, the SIM needs to refresh its profile, etc. we could be talking about several minutes.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2&amp;nbsp;Getting the A-GPS data should be relatively quick. Again, I haven&amp;#39;t timed it, but again I would say somewhere around, though probably a bit less than 1-2s. But, you can be unlucky and hit some DNS timeouts etc. and in that case it could end up taking over 30s.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;A typical RRC inactivity timer is around 10s. Though for some networks, it could be higher (some networks also have it lower). This can be helped with the use of RAI, though that depends on network support (NB-IoT is better on this front). RAI also works poorly with TCP, so in this case you might prefer to use a UDP based protocol instead.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;With fresh A-GPS data, you should get a GPS fix within a few seconds, assuming no other issues (HW, placement, etc.)&lt;/p&gt;
&lt;p&gt;On the other hand, a cold start (which is what they will get after the modem has been turned off), should give a fix after 30s to a minute.&lt;/p&gt;
&lt;p&gt;When using A-GPS, you also have to consider how to give the GPS stack time to run. Does the network support eDRX or PSM? Disconnecting from the network also takes (a bit of) time, and then they will have to re-connect afterwards, including setting up any required TLS connections.&lt;/p&gt;
&lt;p&gt;Another option could be to use P-GPS, so that they don&amp;#39;t have to download new A-GPS data for each time. It will not help speed up the GPS fix as much as fresh A-GPS data, but it will get you most of the way there. However, I don&amp;#39;t know how well that works when you turn the modem off and it looses it&amp;#39;s time information.&lt;/p&gt;
&lt;p&gt;In general cellular is often the case of you have to try and do some measuring to see what will be the best solution for you. I would recommend trying solution where you don&amp;#39;t shut the modem down as from my discussions internally they can&amp;#39;t see that you would gain anything from shutting it down.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488420?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 06:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17ca80ba-91d8-4d18-a815-04f65b0efe30</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;That is correct, it all depends on how often you wake up. I will check regarding doing nothing else then just turning of everything,&amp;nbsp;&amp;nbsp;however since you will need to reestablish the connection I&amp;#39;m not sure how much can be done to improve it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488411?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 05:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df011c79-5959-4a8e-a2e7-6b6c9701ed00</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;, your answer looks more suitable when I don&amp;#39;t turn off the device, but my requirement is straightforward,&amp;nbsp;&lt;br /&gt;-&amp;gt; Come out from deep sleep mode(power off),&lt;/p&gt;
&lt;p&gt;-&amp;gt;Connect to LTE,&lt;/p&gt;
&lt;p&gt;-&amp;gt;Get GNSS fix&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-&amp;gt; Turn off LTE/GNSS/All other enabled modules and Go to deep sleep mode&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, what LTE setting here will help me get the GNSS fix very quickly after LTE is connected to the Network?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/488331?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 12:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:686e60df-57e6-4027-b10b-a22afde19ad8</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a few things here make me a bit uncertain of what the best solution would be.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For there to be any gain to turn the modem completely of instead of using PSM it should be of more than around 60 hours. If else you will spent more power doing all the connection with the central. However if you use Azure there is an known issue&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/known_issues.html#modem_library"&gt;CIA-351&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;br /&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;If a device-bound message is sent to the device while it is in the LTE Power Saving Mode (PSM), the TCP connection will most likely be terminated by the server. Known symptoms of this are frequent reconnections to cloud, messages sent to Azure IoT Hub never arriving, and FOTA images being downloaded twice.&lt;/p&gt;
&lt;p&gt;Affected platforms: nRF9160&lt;/p&gt;
&lt;p&gt;Workaround: Avoid using LTE Power Saving Mode (PSM) and extended DRX intervals longer than approximately 30 seconds. This will reduce the risk of the issue occurring, at the cost of increased power consumption.&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I presume you don&amp;#39;t want to wake up every 30 second it makes little sense to use PSM which again means you will use more power to do the handshaking with the central.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A way around this would be to for example use nRF Cloud or AWS. You could for example have a look at this &lt;a href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-6-cellular-fundamentals/topic/lesson-6-exercise-2/"&gt;lesson from our Cellular course&lt;/a&gt;&amp;nbsp; where we use nRF Cloud and send the data over to Azure to get around the Azure termination issue&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487726?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 12:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04a3b734-cf00-42ef-86e6-c116b819634b</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;, In the above comments, I mean to say &amp;quot;CONFIG_LTE_PSM_REQ_RPTAU&amp;quot; config, not the mentioned one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487712?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 12:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f975915-070f-4eba-8285-7444e0868af7</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;, Thanks for yor reply.&lt;/p&gt;
&lt;p&gt;Just want to inform that when I have button even then&amp;nbsp;device will do the following activities:&lt;/p&gt;
&lt;p&gt;1)Connect to MN,&lt;/p&gt;
&lt;p&gt;2)Get GPS fix(AGNSS)&lt;/p&gt;
&lt;p&gt;3)Send data to cloud&lt;/p&gt;
&lt;p&gt;4)Trun off GNSS, LTE(Complete modem)&lt;/p&gt;
&lt;p&gt;5)Go to deep sleep mode to save the battery,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, my modem is completely remain turned off between gap of(could be 1day, 2days, 3days, 4days or 5days).&lt;/p&gt;
&lt;p&gt;In this case any use of keep alive?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Keep alive means are you taking aboue this config:CONFIG_LTE_PSM_REQ_RAT or something else, can you let me know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ramani&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487696?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 11:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:605b780a-0fad-4b8e-b019-7680b4558067</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would use PSM and set keep alive for 6 days as it is the maximum amount of time the device is allowed to sleep. I would not use eDRX.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Keep in mind PSM will only work if your network support it, so I would enable it and if it is supported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just in case you are not aware we also have a course on devacademy for &lt;a href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-1-cellular-fundamentals/"&gt;Cellular IoT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487609?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 04:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a81af2d-2c69-46fd-bee9-4e99b846e94c</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;, I forgot to mention that I use an external GNSS antenna.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487563?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 15:52:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e889db72-0e2d-41fb-9900-959f4183d1d2</guid><dc:creator>Ramani</dc:creator><description>&lt;p&gt;Yes, &lt;a href="https://devzone.nordicsemi.com/members/runsiv"&gt;runsiv&lt;/a&gt;&amp;nbsp;, the interval can be 1day, 2day,..5 day.&lt;/p&gt;
&lt;p&gt;In some cases, it can be 5 hours but it&amp;#39;s very rarely.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible LTE configuration for GPS fix</title><link>https://devzone.nordicsemi.com/thread/487520?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 12:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da37f0da-6176-457b-ac13-4b87d5028286</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Ramani i&amp;#39;m looking into your case&lt;/p&gt;
&lt;p&gt;So the only thing you want to do is to send a location with an&amp;nbsp;interval&amp;nbsp;between 1-5 days?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>