<?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>A-GPS using SUPL doesn&amp;#39;t work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61477/a-gps-using-supl-doesn-t-work</link><description>DK: v0.9.0 nrf: v1.2.0 supl fw: v0.5.2 modem fw: v1.2.0 OS: Windows10 
 I&amp;#39;m trying to use assited GPS in &amp;quot;gps&amp;quot; sample program, but it doesn&amp;#39;t work. This is log. There is no comments about SUPL. 
 
 prj.conf 
 
 In main.c, 
 supl_init function is executed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jun 2020 06:55:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61477/a-gps-using-supl-doesn-t-work" /><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/255399?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 06:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae21052f-d169-4c61-99b9-90d90ac3bb24</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Yusuke,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]why error is 0? What does it mean? Thank you for your support![/quote]
&lt;p&gt;errno isn&amp;#39;t set when a non-zero returns from getaddrinfo. The error you get is the &amp;quot;err&amp;quot; variable.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the APN still does not provide you with a DNS server. Did you try setting it manually? Or giving the IP directly to getaddrinfo?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/255331?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 15:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09768fa8-0361-4b89-a01e-407f05a68c0d</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I read APN by &amp;quot;AT+CGDCONT?&amp;quot; and the value is set correctly.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;New AGPS data requested, contacting SUPL server, flags 59
Established LTE link
Failed to resolve hostname supl.google.com on IPv4, errno: 0)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;why error is 0? What does it mean? Thank you for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/255152?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 07:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6944e1b2-a115-4568-9800-d9c67f0c92da</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Yusuke,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The APN can be configured to be set on boot-up using the lte link controller &amp;quot;lte_lc&amp;quot; library, by setting these two configurations:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/lib/lte_link_control/Kconfig#L97-L109"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/lib/lte_link_control/Kconfig#L97-L109&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The above is helper-functions that eventually call this AT command to set the APN:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cgdcont_set.html?cp=2_1_5_0_0"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cgdcont_set.html?cp=2_1_5_0_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/255138?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 06:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79518383-0cf8-4ba2-a5ea-b15eaabb1ed1</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;it seems that I need to set an APN to device manually. How can I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/253407?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 04:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:898e8d90-8edd-41c3-8a66-f9f2a69579ed</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I see. Thank you for your report.&lt;/p&gt;
&lt;p&gt;I hope a&amp;nbsp;Nordic original SUPL server will solve this issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/253385?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 20:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48259cc7-43cc-4c69-8852-db27bff7e63b</guid><dc:creator>LordLucan</dc:creator><description>&lt;p&gt;I was also interested in getting the supplementary data for GPS working.&lt;/p&gt;
&lt;p&gt;However, be aware that some network vendors will whitelist only a few IPs. So it may be that you simply cannot connect to supl.google.com when on the LTE network. Of course if you have another IP connection on your hardware you should be fine.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/252097?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 07:57:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eba44944-789c-478c-be77-07ddd57176a5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Yusuke,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can set the DNS manually by adding the lines posted in this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50029/nrf9160-modem-firmware-v1-0-0-setting-custom-dns-server/235419#235419"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/50029/nrf9160-modem-firmware-v1-0-0-setting-custom-dns-server/235419#235419&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this must be called before the lte link is established.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the iBasis scenario, could you try to increase the CONFIG_MAIN_STACK_SIZE to see if this affects the behavior?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/252064?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 03:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb694bc-ad01-4470-b862-6649e2721af6</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;How can I set DNS manually?&lt;/p&gt;
&lt;p&gt;I guess I need to fix something around this in supl_support.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int open_supl_socket(void)
{
	int err;
	int proto;
	u16_t port;
	struct addrinfo *addr;
	struct addrinfo *info;

	proto = IPPROTO_TCP;
	port = htons(SUPL_SERVER_PORT);

	struct addrinfo hints = {
		.ai_family = AF_INET,
		.ai_socktype = SOCK_STREAM,
		.ai_protocol = proto,
		/* Either a valid,
		 * NULL-terminated access point name or NULL.
		 */
		.ai_canonname = NULL,
	};

	err = getaddrinfo(SUPL_SERVER, NULL, &amp;amp;hints, &amp;amp;info);
	if (err) {
		printk(&amp;quot;Failed to resolve hostname %s on IPv4, errno: %d)\n&amp;quot;,
			SUPL_SERVER, errno);
		return -1;
	}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/252060?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 02:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d9870f-1245-4b91-b0a6-5f418afb04f2</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;Yes, it might be that the network provider doesn&amp;#39;t provide a DNS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SIM vendor says SIMs can be used with Google DNS 8.8.8.8 and 8.8.4.4&lt;/p&gt;
&lt;p&gt;&amp;gt;Does the AGPS procedure always fail with iBasis, or just &amp;quot;once in a while&amp;quot;?&lt;/p&gt;
&lt;p&gt;it always fails&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251897?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 10:22:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f60971-7271-4c66-8d20-f68dcbb9cfb6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]This means SIM Card vendor right? I&amp;#39;m using MVNO SIM card[/quote]
&lt;p&gt;Yes, it might be that the network provider doesn&amp;#39;t provide a DNS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]when I append these lines, I got an error. Any tip?[/quote]
&lt;p&gt;This is because the application requires to set certain things before enabling the modem. By adding those settings, you are actually starting up the modem before entering the main function. If you need to change the XSYSTEMMODE, you can do this in gps/src/main.c file, at the top.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the AGPS procedure always fail with iBasis, or just &amp;quot;once in a while&amp;quot;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251623?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 08:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d92578-3695-4a30-93f4-af3dd0e434b8</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;&amp;gt;&lt;span&gt;failure to resolve the hostname usually indicates that the vendor does not provide DNS.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This means SIM Card vendor right? I&amp;#39;m using MVNO SIM card&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251621?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 08:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff0eff13-0f2a-4e21-82f2-d17f97a713b1</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;when I append these lines, I got an error. Any tip?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.1.99-ncs1  ***
Staring GPS application
Failed to initialize modem&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251617?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 07:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b4fc021-01d9-4752-bde6-5c294be0348a</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I was intending to use LTE-M. This is prj.conf and there is no command related to NB-IoT or M1.&lt;/p&gt;
&lt;p&gt;Do I miss anything?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BSD_LIBRARY=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_AT_CMD=y
CONFIG_AT_NOTIF=y

# Enable SUPL client support
CONFIG_SUPL_CLIENT_LIB=y

# Networking
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y

# Disable native network stack to save some memory
CONFIG_NET_NATIVE=n

# Main thread
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_MAIN_STACK_SIZE=4096

CONFIG_LTE_LOCK_BANDS=y
CONFIG_LTE_LOCK_BAND_MASK=&amp;quot;10000000&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251609?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 07:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f63bd2bc-8c41-4bc9-a5dd-2c4da63eaf2e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]I tried AGPS with iBasis SIM and got this error.[/quote]
&lt;p&gt;Does it give this error every time? Are you connecting over LTE M1, or NB1?&lt;/p&gt;
&lt;p&gt;We have seen some stability issues when using this in combination with NB1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]Also I tested the same program with another SIM. Then I got another error.[/quote]
&lt;p&gt;failure to resolve the hostname usually indicates that the vendor does not provide DNS. Is this over NB-IoT? If yes, can you try setting CONFIG_LTE_LEGACY_PCO_MODE=y?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/251241?ContentTypeID=1</link><pubDate>Fri, 22 May 2020 11:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f833218-ae1c-4fac-afa6-7bc4aa4b37b9</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;&amp;gt;I think that your west is out-dated. Could you try &amp;quot;pip3 install west --upgrade&amp;quot; and see if it starts working?&lt;/p&gt;
&lt;p&gt;This works out! Thank you so much!&lt;/p&gt;
&lt;p&gt;I tried AGPS with iBasis SIM and got this error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;New AGPS data requested, contacting SUPL server, flags 59
Established LTE link
ip adc2:4cc0:: (c04cc2ad) port 7276
Starting SUPL session

ULP encoding length: 38
Bytes sent: 38
Bytes received: 34
ULP ossDecode success, choice 3
SUPL server responded using version 2.0.4
SUPL response received
ULP encoding length: 57
Bytes sent: 57
Bytes received: 708
ULP ossDecode more input 4
Bytes received: 1416
ULP ossDecode more input 4
Bytes received: 2124
ULP ossDecode more input 4
Bytes received: 2832
ULP ossDecode more input 4
Bytes received: 3067
ULP ossDecode success, choice 5
Injected AGPS data, flags: 1, size: 16
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 2, size: 72
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 3, size: 32
Injected AGPS data, flags: 8, size: 4
Injected AGPS data, flags: 4, size: 8
Injected AGPS data, flags: 6, size: 144
No location data available
Injected AGPS data, flags: 7, size: 16
MCC location info injected, MCC: 440
        Lat: 4603642 Lon: 2132664
        Unc semiminor: 127
        Unc semimajor: 127
        Confidence: 90
        Orientation: 0
SUPL POS received
read again
read again
read again
read error: -1
ULP ossDecode fail 5
SUPL error: 1
ULP encoding length: 34
Sending SUPL message failed, bytes_sent: -1
SUPL session internal resources released
SUPL session finished
Done&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also I tested the same program with another SIM. Then I got another error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;New AGPS data requested, contacting SUPL server, flags 59
Established LTE link
Failed to resolve hostname supl.google.com on IPv4, errno: 0)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you give me any help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/250957?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 12:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1988b1eb-99d1-4b6d-bea5-413af4455617</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think that your west is out-dated. Could you try &amp;quot;pip3 install west --upgrade&amp;quot; and see if it starts working?&lt;/p&gt;
&lt;p&gt;Also, could you try the latest version of SES-NE (nordic edition) to see if the behavior when compiling is similar?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could try to use west to build as well, &amp;quot;cd samples/nrf9160/gps &amp;amp;&amp;amp; west build -b nrf9160_pca10090ns&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/250787?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 14:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e347d49d-1a57-4857-a69a-dc546135fcf1</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I did as you specified, but the same result.&lt;/p&gt;
&lt;p&gt;I tried to set up ncs folder from scratch but the error occurs. The master branch seems to have bug.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;d9f333426871282ae83940cca8b1b89bd067a575 refs/remotes/origin/master
Checking out files: 100% (1879/1879), done.
Already on &amp;#39;master&amp;#39;
Branch &amp;#39;master&amp;#39; set up to track remote branch &amp;#39;master&amp;#39; from &amp;#39;origin&amp;#39;.
FATAL ERROR: Malformed manifest file c:\users\user1\nrf9160\ncs\.west\manifest-tmp\west.yml (schema: c:\python37\lib\site-packages\west\manifest-schema.yml):
Schema validation failed:
 - Key &amp;#39;version&amp;#39; was not defined. Path: &amp;#39;&amp;#39;.
 - Key &amp;#39;import&amp;#39; was not defined. Path: &amp;#39;/projects/0&amp;#39;.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/250739?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 13:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7850b067-bcba-4da0-af14-fe4b6f6c030f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried your merged.hex, and it does not show any downloading of agps data.&lt;/p&gt;
&lt;p&gt;It does not seem to have picked up the library in ext/lib/bin/supl properly. Could you try to manually delete the build folder, then re-import from scratch with prj.conf holding &amp;quot;CONFIG_SUPL_CLIENT_LIB=y&amp;quot;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/250562?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 02:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:217586a3-8755-4e72-8e15-1c84699487ca</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I can&amp;#39;t get SUPL data even when I re-imported the project... I attached additional info below. Do you have any advice? Thank you in advance.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using iBasis SIM&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/supl_5F00_config.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/supl_5F00_path.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/a_2D00_gps.zip"&gt;devzone.nordicsemi.com/.../a_2D00_gps.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS using SUPL doesn't work</title><link>https://devzone.nordicsemi.com/thread/250469?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 13:50:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2007e6da-6915-4719-a981-3c8ee7cd1f67</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the configuration has not been applied properly. After printing &amp;quot;Getting GPS data&amp;quot; it should fetch AGPS data if SUPL is enabled.&lt;/p&gt;
&lt;p&gt;Could you try to re-import the gps project (with clean build folder) to see if this helps?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>