This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPS data acquisition time with SUPL assist is longer than expected

Dk 0.8.5 with external GPS antenna
modem FW: v1.1.1
nrf tag:  v1.2.0
supl: v0.5.1
OS: Windows10

Put supl folder to "\ncs\nrf\ext\lib\bin\supl"
* the path written in readme.rst in supl foder is wrong: \ncs\nrf\ext\bin\supl
Fix it.

I run "gps" sample program setting CONFIG_SUPL_CLIENT_LIB=y.

I expected quick gps data acquisition within a few seconds, but it takes 30~120 sec in the first acquisition.

Does it actually use SUPL data?

*** Booting Zephyr OS build v2.1.99-ncs1-rc2  ***
Staring GPS application
Socket created
Getting GPS data...
\x1B[1;1H\x1B[2JTracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 0

Scanning [|] \x1B[1;1H\x1B[2JTracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 0

Scanning [/] \x1B[1;1H\x1B[2JNew 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 response received
ULP encoding length: 57
Bytes sent: 57
Bytes received: 1024
ULP ossDecode more input 4
Bytes received: 1969
ULP ossDecode more input 4

Bytes received: 3065
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
No integrity data available
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
SUPL POS received
read again
Bytes received: 34
ULP ossDecode success, choice 6
SUPLEND:
	\x09Mask: 0

	\x09Status: 0
SUPL END received
SUPL session internal resources released
SUPL session finished
Done
\x1B[1;1H\x1B[2JTracking: 0 Using: 0 Unhealthy: 0
Seconds since last fix 15

Parents Reply Children
Related