<?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 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63018/nrf9160-gps---satellites-tracked-but-not-used</link><description>Hi, 
 I try to create an MQTT AGPS tracker. 
 I&amp;#39;m using a nrf9160dk with the 1.3.0v. 
 I use two threads, one for GPS (A-GPS) and one other to send value to MQTT (witch starts once the GPS thread finished its initialization), this two thread are based</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jun 2020 14:13:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63018/nrf9160-gps---satellites-tracked-but-not-used" /><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257630?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 14:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fce31dc-56b6-4c5e-83b3-51950bc8a8e5</guid><dc:creator>Hakon</dc:creator><description>[quote user="thomas oggier"]But why, i could get response from +CPSMS with time value?[/quote]
&lt;p&gt;&amp;nbsp;It means that PSM hasn&amp;#39;t been set by the network. +CPSMS just shows the requested parameters, and not what the parameters have been set to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257342?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 11:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9364f6f9-52dc-4bef-89f9-ba527ed6727b</guid><dc:creator>thomas oggier</dc:creator><description>&lt;p&gt;What should be the parameter to check?&lt;/p&gt;
&lt;p&gt;Because I get a lot of response of this command when I send it with nrfconnect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I get this message, sp I think, the TAU is not set...&lt;/p&gt;
&lt;pre&gt;+CEREG: 2,&amp;quot;0BD6&amp;quot;,&amp;quot;01006C05&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;p&gt;But why, i could get response from +CPSMS with time value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257288?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 08:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db88ae5a-2ac8-478b-9089-eb6efeb1f74d</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Use AT+CEREG to check what the parameters have been set to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257160?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 13:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbd7e802-7744-4f7d-9f23-9a5cee0f95a0</guid><dc:creator>thomas oggier</dc:creator><description>&lt;p&gt;When I send the cmd, I get a &amp;quot;ok&amp;quot;&lt;/p&gt;
&lt;p&gt;And when I ask it with the lte link monitor:&lt;/p&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CPSMS?
+CPSMS: 1,,,&amp;quot;10101010&amp;quot;,&amp;quot;00100001&amp;quot;
OK&lt;/pre&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257159?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 13:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2f1bb16-90f4-4f01-9a99-6c695d1cbbe6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Have you confirmed that it is able to enter PSM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257155?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 13:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ea9749-5cce-4bb9-8515-63f2bd89e807</guid><dc:creator>thomas oggier</dc:creator><description>&lt;p&gt;So I had some informations&lt;/p&gt;
&lt;p&gt;- AT+CFUN =1&lt;/p&gt;
&lt;p&gt;- AT+CPSMS=1,,,&amp;quot;1010000001&amp;quot;,&amp;quot;00001111&amp;quot;&lt;/p&gt;
&lt;p&gt;- AT%XSYSTEMMODE=1,0,1,0&lt;/p&gt;
&lt;p&gt;The MQTT Receive subscribe topic, can send other, but I can&amp;#39;t get GPS position from the modem.&lt;/p&gt;
&lt;p&gt;Stop me if I&amp;#39;m wrong, but normaly, when the modem go to PSM mode, I should be able to get GPS data, but not in my case.&lt;/p&gt;
&lt;p&gt;Another suggestion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/257063?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 08:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c958ce1-fd0c-4c6f-8a8e-4410fec76877</guid><dc:creator>anicare-tero</dc:creator><description>[quote userid="91003" url="~/f/nordic-q-a/63018/nrf9160-gps---satellites-tracked-but-not-used/256948"]It try it, but the real line is &amp;quot;&lt;span&gt;CONFIG_LTE_NETWORK_MODE_LTE_M_GPS&lt;/span&gt;&lt;span&gt;=y&amp;quot;&lt;/span&gt;[/quote]
&lt;p&gt;Yes, you are right on that. In the config&amp;nbsp;it is&amp;nbsp;&lt;span&gt;CONFIG_LTE_NETWORK_MODE_LTE_M_GPS but if you are using the LTE Link Control and you want to set a system mode programmatically you might want to use&amp;nbsp;LTE_LC_SYSTEM_MODE_LTEM_GPS.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="91003" url="~/f/nordic-q-a/63018/nrf9160-gps---satellites-tracked-but-not-used/256948"]Someone know how to know when the lte or GPS are activate in PSM mode? can we have a call back when the mode change?[/quote]
&lt;p&gt;My project is mainly based on Asset Tracker application so for me it&amp;#39;s kind of difficult to say how you should do that because I think your code is a lot different comparing to mine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/256948?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 13:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a95cb47-3644-4d69-8cef-18a6988cef7f</guid><dc:creator>thomas oggier</dc:creator><description>&lt;p&gt;Hi Ziirou,&lt;/p&gt;
&lt;p&gt;It try it, but the real line is &amp;quot;&lt;span&gt;CONFIG_LTE_NETWORK_MODE_LTE_M_GPS&lt;/span&gt;&lt;span&gt;=y&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but&amp;nbsp;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Someone know how to know when the lte or GPS are activate in PSM mode? can we have a call back when the mode change?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/256923?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 12:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b6afea-a68f-47b3-8aca-17840657f5ef</guid><dc:creator>anicare-tero</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
[quote userid="91003" url="~/f/nordic-q-a/63018/nrf9160-gps---satellites-tracked-but-not-used/256919"]- but when I want to configure the mode to &amp;quot;&lt;span&gt;LTE_LC_SYSTEM_MODE_LTE_M_GPS&lt;/span&gt;&lt;span&gt; =y&amp;quot; -&amp;gt; the build failed because he didn&amp;#39;t find it.&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;It&amp;#39;s&amp;nbsp;LTE_LC_SYSTEM_MODE_LTEM_GPS and not&amp;nbsp;&lt;span&gt;LTE_LC_SYSTEM_MODE_LTE_M_GPS&lt;/span&gt;&lt;span&gt;&amp;nbsp;:) You had one _ mark too much there.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPS - Satellites tracked but not used</title><link>https://devzone.nordicsemi.com/thread/256919?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 12:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19b783e7-21a3-4df0-a2fc-28f0a2315ad7</guid><dc:creator>thomas oggier</dc:creator><description>&lt;p&gt;I found the error:&lt;/p&gt;
&lt;p&gt;- the function modem_init() of MQTT set the XSYSTEMMODE=1,0,0,0&lt;/p&gt;
&lt;p&gt;- but when I want to configure the mode to &amp;quot;&lt;span&gt;LTE_LC_SYSTEM_MODE_LTE_M_GPS&lt;/span&gt;&lt;span&gt; =y&amp;quot; -&amp;gt; the build failed because he didn&amp;#39;t find it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>