DK: v0.9.0
nrf: v1.2.0
supl fw: v0.5.2
modem fw: v1.2.0
OS: Windows10
I'm trying to use assited GPS in "gps" sample program, but it doesn't work. This is log. There is no comments about SUPL.
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
*** Booting Zephyr OS build v2.1.99-ncs1 ***
Staring GPS application
Socket created
Getting GPS data...
Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 0
Scanning [|] Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 0
Scanning [/] Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 1
Scanning [-] Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 1
Scanning [\] Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 2
Scanning [|] Tracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 2
prj.conf
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 # Set 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
In main.c,
supl_init function is executed successfully.
gps_data->data_id value is always 1 or 2 and it isn't set 3.
Any help?