<?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>MQTT | LTE-M &amp;amp; GPS Switching</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87133/mqtt-lte-m-gps-switching</link><description>Hello, 
 I have some issues with activating the gps-module for the &amp;quot;second-time&amp;quot; through mqtt. 
 See uart logging below. 
 First GPS attempt works, socket is created successfully! :), second time I get an error when trying to open the GPS-socket. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Apr 2022 11:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87133/mqtt-lte-m-gps-switching" /><item><title>RE: MQTT | LTE-M &amp; GPS Switching</title><link>https://devzone.nordicsemi.com/thread/364194?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 11:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9d370d-77a7-454f-a1bb-bc94d3959da9</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Since it works only the first time, I would suspect that you&amp;#39;re supposed to close or uninitialize the socket before opening it again. Are you doing this?&lt;/p&gt;
&lt;p&gt;Maybe the solution could be something similar to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48662/nrf_socket-og-nrf_close"&gt;this case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>