<?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>Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77059/thingy91-gps-without-agps-never-acquires-lock</link><description>Hi, 
 I was testing the GPS performance of the the thingie91. The default application (asset_tracker) works perfectly, but uses AGPS from the nordic cloud. 
 The asset_tracker_v2 does not use AGPS, and does not seem to lock in my case (even after 10+</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jul 2021 06:41:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77059/thingy91-gps-without-agps-never-acquires-lock" /><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/322350?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 06:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb6010bf-ff60-4e89-9841-367b3ec32464</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Arnout,&lt;/p&gt;
[quote user="Arnout"](Btw for some bizar reaon, I cant reply to your exact post (buttons are just not there), so the page chronology looks really weird, but ok)[/quote]
&lt;p lang="en-GB"&gt;that is strange, but no worries :-)&amp;nbsp;&lt;/p&gt;
[quote user="Arnout"]&lt;p&gt;I have this with both:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- roaming sim card from &amp;quot;whereby&amp;quot; =&amp;gt; uses belgium orange network&lt;/p&gt;
&lt;p&gt;- roaming sim from &amp;quot;olivia wireless&amp;quot; =&amp;gt; uses belgium proximus network&lt;/p&gt;[/quote]
&lt;p&gt;It is not always given that these so called virtual network operators have PSM included in their negotiation with the main network operators. On the other hand, it also can happen that if the device doesn’t exactly request the PSM values supported by the operator, it can be rejected PSM anyway.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;So to start with, I would recommend you to check with both Whereby and Olivia Wireless if they support PSM and what the device should request.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/322190?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 10:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d6ef1db-dee1-4ba4-9fae-08fadc72372c</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(Btw for some bizar reaon, I cant reply to your exact post (buttons are just not there), so the page chronology looks really weird, but ok)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="100109" url="~/f/nordic-q-a/77059/thingy91-gps-without-agps-never-acquires-lock/322172#322172"]&lt;span lang="en-GB"&gt;Just to make sure that I got this right. You requested this after the GPS operation was enabled, right?&lt;/span&gt;&amp;nbsp;[/quote]
&lt;p&gt;Yes, that is true.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="100109" url="~/f/nordic-q-a/77059/thingy91-gps-without-agps-never-acquires-lock/322172#322172"]What SIM card/network provider are you operating with?[/quote]
&lt;p&gt;I have this with both:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- roaming sim card from &amp;quot;whereby&amp;quot; =&amp;gt; uses belgium orange network&lt;/p&gt;
&lt;p&gt;- roaming sim from &amp;quot;olivia wireless&amp;quot; =&amp;gt; uses belgium proximus network&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Arnout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/322172?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 08:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9207fdf4-6812-41f1-bdf5-510e013575dc</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Arnout,&lt;/p&gt;
[quote user="Arnout"]I guess this means the network does not allow the special PSM features?[/quote]
&lt;p&gt;&amp;nbsp;&lt;span lang="en-GB"&gt;Yes, exactly. It seems like your network provider does not allow your device entering PSM.&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&lt;span lang="en-GB"&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Arnout"]I did the AT%XMONITOR command, but seems to keep saying -1 .&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;&lt;span lang="en-GB"&gt;Just to make sure that I got this right. You requested this after the GPS operation was enabled, right?&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&lt;span lang="en-GB"&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Arnout"]How big a problem is this? Does this really interfere with the GPS modem? Is it then advised to shut down the cellular connection first fully before attempting the GPS lock?&amp;nbsp;[/quote]
&lt;p&gt;This is actually quite a big problem. See, the LTE stack is always prioritised and as long as it does not switch to idle (which it only does when entering PSM), the GPS socket will not have any possibility to run (long enough). What SIM card/network provider are you operating with?&lt;/p&gt;
&lt;p lang="en-GB"&gt;&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/322040?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 12:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66254509-83dd-4a6a-a3bf-e0b61460eb38</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did the AT%XMONITOR command, but seems to keep saying -1 .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;%XMONITOR: 5,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;20601&amp;quot;,&amp;quot;0C3D&amp;quot;,7,20,&amp;quot;02BF6B05&amp;quot;,4,6300,42,24,&amp;quot;&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;01001010&amp;quot;
OK
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I guess this means the network does not allow the special PSM features?&lt;/p&gt;
&lt;p&gt;How big a problem is this? Does this really interfere with the GPS modem? Is it then advised to shut down the cellular connection first fully before attempting the GPS lock?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see that sometimes the state goes from unblocked-to-blocked. I was assuming this was when the cellular modem took over and did some communication again (and thus GPS had to stop). Given that apparently PSM is not enabled, and I can still get locks within 30s, what exactly is the benifit of &amp;quot;really&amp;quot; doing PSM?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your clarification on this!&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Arnout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/322038?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 12:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb7e7713-8cad-40fc-adc9-72fde99c3fd2</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Arnout,&lt;/p&gt;
[quote user="Arnout"]Is there more for me to check (e.g. network parameters) regarding the PSM?[/quote]
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;08:14:25.884 [00:00:07.223,632] #[0m&amp;lt;inf&amp;gt; gps_control: Enabling PSM#[0m
08:14:25.884 [00:00:07.230,194] #[0m&amp;lt;inf&amp;gt; gps_control: PSM enabled#[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Sometime after PSM has been enabled, you could cross-check with the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/xmonitor_set.html"&gt;AT%XMONITOR&lt;/a&gt; command that the network has allowed you PSM and the values to be used. This should look somewhat similary to this (example taken from the Asset Tracker v2):&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%XMONITOR
%XMONITOR: 5,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;24201&amp;quot;,&amp;quot;7AA9&amp;quot;,7,20,&amp;quot;01444000&amp;quot;,,,,,&amp;quot;&amp;quot;,&amp;quot;00000011&amp;quot;,&amp;quot;11000001&amp;quot;,&amp;quot;01011001&amp;quot;
OK&lt;/pre&gt;&lt;/p&gt;
[quote user="Arnout"](This is for asset tracker v1. I haven&amp;#39;t yet tried to look into the v2 again, but I recall it enabling PSM as well?)[/quote]
&lt;p&gt;&amp;nbsp;PSM should be enabled by default, yes.&lt;/p&gt;
[quote user="Arnout"]&lt;p&gt;For now, I&amp;#39;m planning to work in a mode (new pcb design) where the entire nrf9160 is shut down externally for long periods of time, and woken up sporadicaly . It then has to fully reregister to the network, and also get the GPS lock, and send everything to the cloud. In that mode, getting the gps fix asap is key, and the possible &amp;quot;hang&amp;quot; is of course pretty undesirable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you guys have some guideline/tutorial on best practices with using the GPS in such a usecase?&lt;/p&gt;[/quote]
&lt;p&gt;A GPS &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fgps.html"&gt;cold start&lt;/a&gt; is possible within around 30 seconds TTFF, under preferable circumstances. Additionally, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrfxlib/nrf_modem/doc/gnss_interface.html?highlight=cold%20start#low-accuracy-mode"&gt;Low accuary mode&lt;/a&gt; can be enabled which makes it possible to get a fix&amp;nbsp;using 3 instead of 4 satellites. But in general, I would recommend you use either&lt;/p&gt;
&lt;ul&gt;
&lt;li lang="en-GB"&gt;A-GPS to receive satellite data via a cloud service (the device is reporting (multi-) cell location to the cloud). This should go faster compared to a GPS cold start and thus will lower the power consumption.&lt;/li&gt;
&lt;/ul&gt;
&lt;p lang="en-GB"&gt;or&lt;/p&gt;
&lt;ul&gt;
&lt;li lang="en-GB"&gt;P-GPS to load more data which is saved in the device memory.&lt;/li&gt;
&lt;/ul&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Markus&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/321738?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 09:03:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a22ec67-e8c0-456d-99c6-bbc0af84d070</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi Markus &amp;amp; Markus,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I switched to asset_tracker(_v1), with nordic&amp;#39;s AGPS, and a fresh thingy91 to restart some GPS tests.&amp;nbsp;(I&amp;#39;ve been taking BLE UART logs of the thingy while riding to/from work. The logs combined with the nordic cloud map give me a dataset to work with for getting a feel on how &amp;quot;stable&amp;quot;/fast the GPS locking is. I&amp;#39;ve ran the vanilla asset tracker demo as well as some modified code that just tries to get a lock or give up in 2 mins, and reboot. (To test &amp;quot;clean&amp;quot; gps performance))&lt;br /&gt;&lt;br /&gt;In fully open sky, after boot, I often manage to get a lock after 30-80s. (Never sooner than 30s) &lt;br /&gt;Subsequent locks -can- be much faster (even within a few seconds), but sometimes also seem to just &amp;quot;hang&amp;quot;. (e.g. I can be waiting for minutes on a lock. Just give up and make it reboot, and then after 30s it gets the lock). There&amp;#39;s little consistency in the behavior, but my feeling is that, with an open sky, if it does not get a lock within +- 90s, its better to just give up and retry. (Note that the periodic LTE data actually also serves as a &amp;quot;reset&amp;quot; for this it seems. After being &amp;quot;unblocked&amp;quot; it sometimes locks very quickly, while there seemed to be no progress before)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding your PSM question: As far as I understand the code explicitly enables PSM before doing the GNSS measurement.&amp;nbsp;An example log file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/tmplog.TXT"&gt;devzone.nordicsemi.com/.../tmplog.TXT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;08:14:21.229 [00:00:02.509,643] &#x1B;[0m&amp;lt;inf&amp;gt; asset_tracker: Network registration status: Connected - roaming&#x1B;[0m
08:14:21.230 [00:00:02.518,188] &#x1B;[0m&amp;lt;inf&amp;gt; asset_tracker: PSM parameter update: TAU: -1, Active time: -1&#x1B;[0m

...

08:14:25.778 [00:00:07.126,434] &#x1B;[0m&amp;lt;inf&amp;gt; asset_tracker: Starting GPS&#x1B;[0m
08:14:25.859 [00:00:07.198,120] &#x1B;[0m&amp;lt;dbg&amp;gt; nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 1 opcode = 1 len = 641&#x1B;[0m
08:14:25.860 [00:00:07.210,357] &#x1B;[0m&amp;lt;dbg&amp;gt; nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 2 opcode = 1 len = 57&#x1B;[0m
08:14:25.884 [00:00:07.223,632] &#x1B;[0m&amp;lt;inf&amp;gt; gps_control: Enabling PSM&#x1B;[0m
08:14:25.884 [00:00:07.230,194] &#x1B;[0m&amp;lt;inf&amp;gt; gps_control: PSM enabled&#x1B;[0m
08:14:25.884 [00:00:07.236,114] &#x1B;[0m&amp;lt;dbg&amp;gt; nrf9160_gps.enable_gps: GPS mode is enabled&#x1B;[0m
08:14:25.936 [00:00:07.248,168] &#x1B;[0m&amp;lt;dbg&amp;gt; nrf9160_gps.start: GPS operational&#x1B;[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(This is for asset tracker v1. I haven&amp;#39;t yet tried to look into the v2 again, but I recall it enabling PSM as well?)&lt;/p&gt;
&lt;p&gt;Is there more for me to check (e.g. network parameters) regarding the PSM?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For now, I&amp;#39;m planning to work in a mode (new pcb design) where the entire nrf9160 is shut down externally for long periods of time, and woken up sporadicaly . It then has to fully reregister to the network, and also get the GPS lock, and send everything to the cloud. In that mode, getting the gps fix asap is key, and the possible &amp;quot;hang&amp;quot; is of course pretty undesirable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you guys have some guideline/tutorial on best practices with using the GPS in such a usecase? I checked that the asset tracker v1 does use &amp;quot;full power&amp;quot; GPS. Somehow it does loose the info it had before a reboot (takes 30s VS 3s after a previous lock -- some state is not maintained. (Question is how relevant the state would be after like 1 day though)). PSM should be enabled. Other stuff to take into account?&lt;/p&gt;
&lt;p&gt;Will keep you posted,&lt;/p&gt;
&lt;p&gt;Arnout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/321303?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 10:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44760824-a218-49c5-8697-580ca52000a4</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;I don&amp;#39;t recommend to use it without A-GPS, but ... the asset_tracker_v2 has a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html#device-modes"&gt;GPS timeout setting&lt;/a&gt;, make sure that it is long enough. Especially if you are not getting PSM from the network, GPS search can be interrupted constantly. Set it to something long, like 600 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/321302?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 10:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e436c1-f3c4-46fe-851f-670ccaddd978</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks a lot for your feedback, Arnout! May I ask if your Thingy:91 is registered to the network with PSM?&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/321233?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 07:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3563b12-5605-4977-9933-37611a85de27</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;FYI, Tried really in an open field the other day. Same thing: Saw 4 satellites within 30 secs, but then fails to indicate them as &amp;quot;using&amp;quot;. After 10 mins I gave up.&lt;/p&gt;
&lt;p&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/thingie.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to run the asset_tracker (v1) code again, as this clearly worked better, and try and see what the difference is&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/319816?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 13:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d12e54-a40c-48a1-b776-8702e6f56b32</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Arnout,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Yes, mfw 1.2.3 should be fine.&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/319705?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 07:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f683d869-acc0-49a4-bafb-fb9a1d9a4cc5</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;Regarding modem FW, I am running&amp;nbsp;&lt;span&gt;mfw_nrf9160_1.2.3. (The thingy hw version is 1.4.0, and has the NRF B0 HW revision btw).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I have the chance, I will try the really open-sky thing, but it is impractical for testing from the office of course:)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Arnout&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/319704?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 06:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33e7524e-0fc1-4622-83fe-9a37e85e4220</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks a lot for the detailed feedback, Arnout!&lt;/p&gt;
&lt;p lang="en-GB"&gt;The device should issue a fix whenever it has acquired at least 4 satellites and deems that the accuracy of the fix will be acceptable. So maybe the cellular activity prevents the device from reaching the above mentioned accuracy?&lt;/p&gt;
&lt;p lang="en-GB"&gt;However, on your picture I still can see that the sky is not really open and that there are objects which could interfere with the device. I wonder if you have the possibility to make a reference measurement in a park or similar, where you really have an open sky, and check if that makes any difference?&lt;/p&gt;
&lt;p lang="en-GB"&gt;By the way, what modem firmware are you using? If unsure, you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/general/cgmr.html"&gt;Request revision identification +CGMR&lt;/a&gt; AT command.&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/319555?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 10:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fba3c6b-e7ff-4396-86c3-74611ef37ae2</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;Until now I was testing with the device hanging just outside my window. I now placed it +- on the roof, (see picture) and ran some tests again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/roof.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;(Obviously its pretty close to the metal. When lifting it 50 cm in the air for 5 mins, it got 2 sats more, but the results stayed the same.. (no lock))&lt;/p&gt;
&lt;p&gt;So:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- I am monitoring the logs through a BLE connection with my smartphone&lt;br /&gt;- Running asset_tracker_v2 in sdk1.6.0 now, with nrf cloud enabled (&lt;strong&gt;forcing even AGPS to work&lt;/strong&gt;!), with the patch from the first post to check progress.&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;p&gt;Up on the roof, it finds like 7-8 stats within 30seconds. That&amp;#39;s good and all, BUT, again, it says all of them are &amp;quot;unused&amp;quot;. I waited 10 mins on the demo code, and it just repeats the process over and over again, (Starting from 0 stats, finding 7,8, but never &amp;quot;using them&amp;quot;.. &lt;strong&gt;I never seem to get a lock..&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;Tracking: 8 Using: 0 Unhealthy: 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that the gps demo code DOES work, but uses different code for this (directly parses the nmea messages instead of using the nrf9160_gps lib) + does not do any cellular stuff..&lt;/p&gt;
&lt;p&gt;(Maybe some more info: On the gps demo&amp;nbsp;v1.6.0/nrf/samples/nrf9160/gps/: It also shows tracking 5 satellites, 0 used, but within 60 seconds, that suddenly becomes &amp;quot;using 5&amp;quot;, and leading to a lock..)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318905?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 07:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2a8fb92-833e-4e66-8eea-7bf8f5db39d5</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;How “open” is the sky for your Thingy:91 while trying to get a fix, Arnout?&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318781?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 12:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:657ec43e-7391-415b-a253-1cba92d15861</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Well, for SUPL I am currently running into&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77050/supl-library-fails-at_cmd-response-buffer-not-large-enough"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/77050/supl-library-fails-at_cmd-response-buffer-not-large-enough&lt;/a&gt;&amp;nbsp;that issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I quickly tried unplugging the USB (using battery) and monitoring the AWS logs. Did not see anything change in the device shadow regarding positioning info for 10 mins, so I guess not. (Haven&amp;#39;t tried BLE uart, though that sounds like something that I should definitely try out:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318759?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 11:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c39e9894-9d47-43f7-a401-a77b79cf309a</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Definitely enable the SUPL client, which will speed up time to fix significantly.&lt;/p&gt;
&lt;p&gt;The newer Thingy:91 antenna is affected if plugged in via USB, which will degrade GPS performance. So make sure to unplug it. You can observe logs using BLE UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318610?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 11:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98322a87-6cb0-4b28-b3d7-3c1a667e92f3</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Arnout,&lt;/p&gt;
[quote user="Arnout"]Is it possible the LTE (nbiot) is interfering with the GPS for some reason?[/quote]
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;LTE/NB-IoT is not interfering with the GPS, but the LTE socket is prioritised unless configured otherwise and the GPS socket runs when the LTE socket is idle.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;The antenna of the Thingy:91 has limited performance, especially when the USB interface is used. You could disconnect the USB from the Thingy:91 and log with the RTT interface instead and see if that makes any difference. Also, please make sure that you have an open sky without any buildings etc. that could interfere.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&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: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318474?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 14:10:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d6c2e2d-3d36-4f3d-8d4b-71e5f64fa222</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Is it possible the LTE (nbiot) is interfering with the GPS for some reason?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What strikes me as the most obvious difference, is that in the non asset tracker case, the amount of stas used goes up eventually (after 100s), while in the asset tracker case, it -always- stays at zero&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:03:41.701,782] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Seconds since last fix 221
[00:03:42.615,509] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy
[00:03:42.624,786] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Tracking SV 14: not used,     healthy
[00:03:42.634,155] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:03:42.643,493] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Tracking SV 28: not used,     healthy
[00:03:42.652,832] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Tracking: 4 Using: 0 Unhealthy: 0
[00:03:42.661,834] &amp;lt;dbg&amp;gt; nrf9160_gps.print_satellite_stats: Seconds since last fix 222
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;=&amp;gt; How do I debug this further? The gps example seems to use a direct socket connection to the gps, while the asset tracker uses the nrf9160_gps library. Both seem to be working, but .. for some reason the asset_tracker works .. worse.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please advise&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 GPS without AGPS never acquires lock?</title><link>https://devzone.nordicsemi.com/thread/318466?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 13:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a7d14a-d802-46d7-96e0-7e6483badcde</guid><dc:creator>Arnout</dc:creator><description>&lt;p&gt;Hmm, build the gps application, and there I do get a lock after +- 3 minutes.&lt;/p&gt;
&lt;p&gt;So now the issue becomes why the asset_tracker_v2 does not work, and the gps sample application does.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For reference, the log of this&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/gps_2D00_application.txt"&gt;devzone.nordicsemi.com/.../gps_2D00_application.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>