<?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>Problem with the GPS example and SUPL client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60938/problem-with-the-gps-example-and-supl-client</link><description>We still have some Problems to use the Supl client Library, to test it we use the normal GPS example and seems like the connection is available with NB-Iot settings. We are in the DE network of the Telekom. The Supl client is creating the session send</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 11:25:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60938/problem-with-the-gps-example-and-supl-client" /><item><title>RE: Problem with the GPS example and SUPL client</title><link>https://devzone.nordicsemi.com/thread/247831?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 11:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e83c035e-6b09-4a37-b074-7a761d2d3b8b</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi THM,&lt;/p&gt;
&lt;p&gt;Since you are in Germany you most likely need to use &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fpacket_domain%2Fxepco_set.html" rel="noopener noreferrer" target="_blank"&gt;legacy PCO&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please try to add the following two lines in the sample and re-test to see if it now works: (also changed the xsystemmode to nb-iot as you see)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define AT_XSYSTEMMODE      &amp;quot;AT\%XSYSTEMMODE=0,1,1,0&amp;quot;       //notice the change
#define AT_XEPCO			&amp;quot;AT%XEPCO=0&amp;quot;                    //add this
#define AT_ACTIVATE_GPS     &amp;quot;AT+CFUN=31&amp;quot;
#define AT_ACTIVATE_LTE     &amp;quot;AT+CFUN=21&amp;quot;
#define AT_DEACTIVATE_LTE   &amp;quot;AT+CFUN=20&amp;quot;

#define GNSS_INIT_AND_START 1
#define GNSS_STOP           2
#define GNSS_RESTART        3

#define AT_CMD_SIZE(x) (sizeof(x) - 1)


#ifdef CONFIG_BOARD_NRF9160_PCA10090NS
#define AT_MAGPIO      &amp;quot;AT\%XMAGPIO=1,0,0,1,1,1574,1577&amp;quot;
#define AT_COEX0       &amp;quot;AT\%XCOEX0=1,1,1570,1580&amp;quot;
#endif

static const char     update_indicator[] = {&amp;#39;\\&amp;#39;, &amp;#39;|&amp;#39;, &amp;#39;/&amp;#39;, &amp;#39;-&amp;#39;};
static const char     at_commands[][31]  = {
				AT_XSYSTEMMODE,
				AT_XEPCO,                           //add this
#ifdef CONFIG_BOARD_NRF9160_PCA10090NS
				AT_MAGPIO,
				AT_COEX0,
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>