<?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>GNSS fix without LTE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100469/gnss-fix-without-lte</link><description>Hi Support, we are using: 
 nrf v1.9.0 
 modem frimware version 1.3.4 
 
 Looking at the gnss example located at C:\ncs\v1.9.0\nrf\samples\nrf9160\gnss, I notice that the example initializes the modem and attempts to connect to LTE, the waits FOREVER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jun 2023 16:54:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100469/gnss-fix-without-lte" /><item><title>RE: GNSS fix without LTE</title><link>https://devzone.nordicsemi.com/thread/429639?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 16:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:090c0ef0-e983-4f1c-815a-43145f15c1fd</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Sirjee,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
&lt;p&gt;As you are using the GNSS sample, it initializes modem, sample, and gnss and then checks for events continuously in the infinite for loop. In the main(), we are calling &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;modem_init()&lt;/span&gt; to initialize the modem. It checks configurations and then calls &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_lc_init()&lt;/span&gt; that initializes lte module. Afterwards, connection to lte network is made using either &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_lc_connect()&lt;/span&gt; or &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_lc_event_handler()&lt;/span&gt; depending upon the CONFIGS.&lt;br /&gt;If LTE network is not connected then the function would return the error as per sample. However, it is upto you how you modify the sample and do the error handling. You can also use &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_connect()&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_disconnect()&lt;/span&gt; as required.&amp;nbsp;I would recommend to look at the associated configurations. Also, I would like to suggest to update MWF to the latest version and use the latest SDK.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>