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

agps: SUPL session failed, error: -13

Hi,

We are using 1.5.1 tag and building on the agps-sample called "v1.5.1\nrf\samples\nrf9160\agps\".

We see problems with downloading SUPL-data and also EVT_BLOCKED and stops searching at all.

No apparent reason for it what we can see. Perhaps bugs that were not fixed in 1.5.1 but in later commits? We need help with this.

See log below.


Best

Johan

LOG BELOW

[00:00:00.204,956] <inf> resetinfo: Reset reason = 0x00000001
[00:00:00.213,317] <err> resetinfo: Reboot reason: RESET_REASON_RESET_PIN
[00:00:00.234,619] <dbg> 9160.provision_certificates
[00:00:01.975,952] <inf> agps_sample: A-GPS sample has started
[00:00:01.991,210] <dbg> nrf9160_gps.configure_antenna: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577
[00:00:02.002,838] <dbg> nrf9160_gps.open_socket: GPS socket created, fd: 1232491587
[00:00:03.329,071] <inf> modem: ICCID: 89462008001000226627
[00:00:03.337,249] <inf> modem: IMSI: 248030105093729
[00:00:03.344,940] <inf> modem: MFW: mfw_nrf9160_1.3.0
[00:00:03.367,614] <dbg> modem.modem_set_gps_active: Activating GPS...
[00:00:03.431,091] <dbg> nrf9160_gps.gps_priority_set: GPS priority disabled
[00:00:03.448,272] <dbg> nrf9160_gps.start: GPS operational
[00:00:03.456,726] <inf> agps_sample: Periodic GPS search started with interval 0 s, timeout 0 s
[00:00:03.468,139] <inf> agps_sample: GPS_EVT_SEARCH_STARTED
[00:00:03.476,501] <dbg> nrf9160_gps.gps_thread: A-GPS data update needed
[00:00:03.485,839] <inf> agps_sample: GPS_EVT_AGPS_DATA_NEEDED
[00:00:03.494,262] <inf> modem: LTE connecting...
[00:00:03.501,556] <dbg> modem.modem_lte_connect: Activating LTE
[00:00:03.569,091] <wrn> gps_storage: store nrf52 uptime = 11321473 ms
[00:00:11.130,187] <dbg> modem.lte_lc_evt_handler: REG status: 2
[00:00:20.234,680] <dbg> modem.lte_lc_evt_handler: REG status: 5
[00:00:20.243,377] <inf> modem: LTE connected
[00:00:20.250,335] <dbg> agps.init_supl: Using GPS driver to input assistance data
[00:00:20.260,498] <inf> agps: SUPL is initialized
[00:00:20.267,913] <dbg> agps.open_supl_socket: CONFIG_POSIX_MAX_FDS=8
[00:00:20.277,038] <dbg> agps.open_supl_socket: CONFIG_NRF_MODEM_LIB_HEAP_SIZE=2048
[00:00:20.288,757] <dbg> agps.open_supl_socket: ip 173.194.222.192 (c0dec2ad) port 7276
[00:00:20.568,572] <inf> agps: Starting SUPL session
[00:00:20.578,186] <dbg> agps.supl_logger: ULP encoding length: 38
[00:00:20.587,493] <dbg> agps.supl_logger: Bytes sent: 38
[00:00:21.248,138] <dbg> agps.supl_logger: Bytes received: 34, total 34
[00:00:21.257,873] <dbg> agps.supl_logger: ULP ossDecode success, choice 3
[00:00:21.267,425] <dbg> agps.supl_logger: SUPL server responded using version 2.0.4
[00:00:21.277,770] <dbg> agps.supl_logger: SUPL response received
[00:00:21.286,621] <dbg> agps.supl_logger: ULP encoding length: 57
[00:00:21.295,989] <dbg> agps.supl_logger: Bytes sent: 57
[00:00:22.303,161] <dbg> agps.supl_logger: read again
[00:00:22.600,952] <dbg> agps.supl_logger: Bytes received: 708, total 708
[00:00:22.610,961] <dbg> agps.supl_logger: ULP ossDecode more input 4
[00:00:23.620,422] <dbg> agps.supl_logger: read again
[00:00:23.753,448] <dbg> agps.supl_logger: Bytes received: 708, total 1416
[00:00:23.763,458] <dbg> agps.supl_logger: ULP ossDecode more input 4
[00:00:24.772,583] <dbg> agps.supl_logger: read again
[00:00:25.640,686] <dbg> agps.supl_logger: Bytes received: 708, total 2124
[00:00:25.650,665] <dbg> agps.supl_logger: ULP ossDecode more input 4
[00:00:26.659,851] <dbg> agps.supl_logger: read again
[00:00:27.667,388] <dbg> agps.supl_logger: read again
[00:00:28.675,170] <dbg> agps.supl_logger: read again
[00:00:29.682,861] <dbg> agps.supl_logger: read again
[00:00:30.690,643] <dbg> agps.supl_logger: read again
[00:00:31.698,425] <dbg> agps.supl_logger: read again
[00:00:32.706,237] <dbg> agps.supl_logger: Timeout expired
[00:00:32.714,294] <dbg> agps.supl_logger: SUPL error: 3
[00:00:32.722,290] <dbg> agps.supl_logger: ULP encoding length: 34
[00:00:32.731,628] <dbg> agps.supl_logger: Bytes sent: 34
[00:00:32.739,624] <dbg> agps.supl_logger: SUPL session internal resources released
[00:00:32.749,847] <dbg> agps.supl_logger: SUPL session finished
[00:00:32.758,422] <err> agps: SUPL session failed, error: -13
[00:00:32.767,089] <err> agps: SUPL request failed, error: -13
[00:00:32.775,756] <err> agps_sample: Failed to request A-GPS data, error: -13
[00:00:32.785,980] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:32.797,088] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 32
[00:00:32.808,319] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:00:32.818,542] <inf> agps_sample: GPS_EVT_OPERATION_BLOCKED
[00:00:37.287,292] <dbg> nrf9160_gps.gps_thread: GPS has time window to operate
[00:00:37.297,180] <inf> agps_sample: GPS_EVT_OPERATION_UNBLOCKED
[00:00:37.305,908] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:37.317,016] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 37
[00:00:38.287,475] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:38.298,614] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 38
[00:00:39.287,536] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:39.298,645] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 39
[00:00:40.287,567] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:40.298,675] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 40
[00:00:42.383,605] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:00:42.393,859] <inf> agps_sample: GPS_EVT_OPERATION_BLOCKED

Parents
  • Funny when enabling even more log, there is more to where it seems to go wrong.
    But still it has received coordinate data, ... and still reports fail. 
    Any fix for this?



    [00:00:10.497,863] <inf> modem: LTE connected
    [00:00:10.504,821] <dbg> agps.init_supl: Using GPS driver to input assistance data
    [00:00:10.515,014] <inf> agps: SUPL is initialized
    [00:00:10.522,430] <dbg> agps.open_supl_socket: CONFIG_POSIX_MAX_FDS=8
    [00:00:10.531,555] <dbg> agps.open_supl_socket: CONFIG_NRF_MODEM_LIB_HEAP_SIZE=2048
    [00:00:10.542,816] <dbg> agps.open_supl_socket: ip 173.194.222.192 (c0dec2ad) port 7276
    [00:00:10.702,056] <inf> agps: Starting SUPL session
    [00:00:10.711,669] <dbg> agps.supl_logger: ULP encoding length: 38
    [00:00:10.721,069] <dbg> agps.supl_logger: Bytes sent: 38
    [00:00:10.934,906] <dbg> agps.supl_logger: Bytes received: 34, total 34
    [00:00:10.944,641] <dbg> agps.supl_logger: ULP ossDecode success, choice 3
    [00:00:10.954,162] <dbg> agps.supl_logger: SUPL server responded using version 2.0.4
    [00:00:10.964,569] <dbg> agps.supl_logger: SUPL response received
    [00:00:10.973,388] <dbg> agps.supl_logger: ULP encoding length: 57
    [00:00:10.982,727] <dbg> agps.supl_logger: Bytes sent: 57
    [00:00:11.495,330] <dbg> agps.supl_logger: Bytes received: 708, total 708
    [00:00:11.505,249] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:11.840,545] <dbg> agps.supl_logger: Bytes received: 708, total 1416
    [00:00:11.850,555] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:12.008,575] <inf> uma91: Waiting for gps test prog to run
    [00:00:12.320,587] <dbg> agps.supl_logger: Bytes received: 708, total 2124
    [00:00:12.330,596] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:12.718,017] <dbg> agps.supl_logger: Bytes received: 708, total 2832
    [00:00:12.728,027] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:13.737,335] <dbg> agps.supl_logger: read again
    [00:00:13.897,766] <dbg> agps.supl_logger: Bytes received: 196, total 3028
    [00:00:13.908,111] <dbg> agps.supl_logger: ULP ossDecode success, choice 5
    [00:00:13.921,661] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 1
    [00:00:13.931,823] <dbg> agps.inject_agps_type: Injected AGPS data, type: 1, size: 16
    [00:00:13.942,993] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.953,186] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:13.964,447] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.974,609] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:13.985,931] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.996,093] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.007,476] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.017,669] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.028,991] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.039,154] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.050,750] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.060,913] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.072,601] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.082,763] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.095,031] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.105,255] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.117,034] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.127,227] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.138,977] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.149,169] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.161,407] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.171,569] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.183,959] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.194,122] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.206,176] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.216,339] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.228,607] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.238,769] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.251,098] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.261,260] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.273,895] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.284,057] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.296,539] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.306,701] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.319,061] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.329,223] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.341,552] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.351,745] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.364,807] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.374,969] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.387,878] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.398,040] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.411,132] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.421,325] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.434,600] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.444,763] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.457,946] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.468,170] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.481,292] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.491,424] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.505,126] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.515,258] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.528,533] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.538,665] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.551,971] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.562,164] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.575,561] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.585,723] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.599,090] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.609,252] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.622,863] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.633,026] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.644,348] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.654,541] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.665,496] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.675,659] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.686,737] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.696,899] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.708,099] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.718,261] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.729,431] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.739,562] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.750,610] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.760,772] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.771,759] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.781,951] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.792,938] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.803,131] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.814,117] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.824,279] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.835,449] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.845,581] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.856,750] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.866,912] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.877,929] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.888,092] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.899,078] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.909,240] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.920,410] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.930,572] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.941,711] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.951,873] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.962,860] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.972,991] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.984,161] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.994,323] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.005,462] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.015,625] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.027,008] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.037,170] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.048,339] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.058,502] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.069,519] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.079,650] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.090,667] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.100,830] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.111,846] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.122,009] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.133,026] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.143,188] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.154,327] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.164,459] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.175,445] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.185,607] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.196,746] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.206,909] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.218,017] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.228,210] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.239,166] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.249,328] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.260,467] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.270,629] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.281,646] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.291,809] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.302,276] <dbg> agps.supl_logger: No integrity data available
    [00:00:15.311,859] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 4
    [00:00:15.321,990] <dbg> agps.inject_agps_type: Injected AGPS data, type: 4, size: 8
    [00:00:15.333,068] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 7
    [00:00:15.343,231] <dbg> agps.inject_agps_type: Injected AGPS data, type: 6, size: 144
    [00:00:15.353,759] <dbg> agps.supl_logger: No location data available
    [00:00:15.363,586] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 8
    [00:00:15.373,748] <dbg> agps.inject_agps_type: Injected AGPS data, type: 7, size: 16
    [00:00:15.384,246] <dbg> agps.supl_logger: MCC location info injected, MCC: 240
    [00:00:15.394,226] <dbg> agps.supl_logger: Lat: 5851520 Lon: 780606
    [00:00:15.403,320] <dbg> agps.supl_logger: Unc semiminor/semimajor: 119/119
    [00:00:15.412,994] <dbg> agps.supl_logger: Unc altitude: 127
    [00:00:15.421,386] <dbg> agps.supl_logger: Confidence: 100
    [00:00:15.429,595] <dbg> agps.supl_logger: Orientation: 0
    [00:00:15.437,683] <dbg> agps.supl_logger: SUPL POS received
    [00:00:15.445,983] <dbg> agps.supl_logger: read again
    [00:00:15.453,643] <dbg> agps.supl_logger: read error: -1
    [00:00:15.461,669] <dbg> agps.supl_logger: SUPL error: 1
    [00:00:15.469,665] <dbg> agps.supl_logger: ULP encoding length: 34
    [00:00:15.478,576] <dbg> agps.supl_logger: Sending SUPL message failed, bytes_sent: -1
    [00:00:15.489,105] <dbg> agps.supl_logger: SUPL session internal resources released
    [00:00:15.499,359] <dbg> agps.supl_logger: SUPL session finished
    [00:00:15.507,934] <err> agps: SUPL session failed, error: -3
    [00:00:15.516,540] <err> agps: SUPL request failed, error: -3
    [00:00:15.525,146] <err> agps_sample: Failed to request A-GPS data, error: -3

Reply
  • Funny when enabling even more log, there is more to where it seems to go wrong.
    But still it has received coordinate data, ... and still reports fail. 
    Any fix for this?



    [00:00:10.497,863] <inf> modem: LTE connected
    [00:00:10.504,821] <dbg> agps.init_supl: Using GPS driver to input assistance data
    [00:00:10.515,014] <inf> agps: SUPL is initialized
    [00:00:10.522,430] <dbg> agps.open_supl_socket: CONFIG_POSIX_MAX_FDS=8
    [00:00:10.531,555] <dbg> agps.open_supl_socket: CONFIG_NRF_MODEM_LIB_HEAP_SIZE=2048
    [00:00:10.542,816] <dbg> agps.open_supl_socket: ip 173.194.222.192 (c0dec2ad) port 7276
    [00:00:10.702,056] <inf> agps: Starting SUPL session
    [00:00:10.711,669] <dbg> agps.supl_logger: ULP encoding length: 38
    [00:00:10.721,069] <dbg> agps.supl_logger: Bytes sent: 38
    [00:00:10.934,906] <dbg> agps.supl_logger: Bytes received: 34, total 34
    [00:00:10.944,641] <dbg> agps.supl_logger: ULP ossDecode success, choice 3
    [00:00:10.954,162] <dbg> agps.supl_logger: SUPL server responded using version 2.0.4
    [00:00:10.964,569] <dbg> agps.supl_logger: SUPL response received
    [00:00:10.973,388] <dbg> agps.supl_logger: ULP encoding length: 57
    [00:00:10.982,727] <dbg> agps.supl_logger: Bytes sent: 57
    [00:00:11.495,330] <dbg> agps.supl_logger: Bytes received: 708, total 708
    [00:00:11.505,249] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:11.840,545] <dbg> agps.supl_logger: Bytes received: 708, total 1416
    [00:00:11.850,555] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:12.008,575] <inf> uma91: Waiting for gps test prog to run
    [00:00:12.320,587] <dbg> agps.supl_logger: Bytes received: 708, total 2124
    [00:00:12.330,596] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:12.718,017] <dbg> agps.supl_logger: Bytes received: 708, total 2832
    [00:00:12.728,027] <dbg> agps.supl_logger: ULP ossDecode more input 4
    [00:00:13.737,335] <dbg> agps.supl_logger: read again
    [00:00:13.897,766] <dbg> agps.supl_logger: Bytes received: 196, total 3028
    [00:00:13.908,111] <dbg> agps.supl_logger: ULP ossDecode success, choice 5
    [00:00:13.921,661] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 1
    [00:00:13.931,823] <dbg> agps.inject_agps_type: Injected AGPS data, type: 1, size: 16
    [00:00:13.942,993] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.953,186] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:13.964,447] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.974,609] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:13.985,931] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:13.996,093] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.007,476] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.017,669] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.028,991] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.039,154] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.050,750] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.060,913] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.072,601] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.082,763] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.095,031] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.105,255] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.117,034] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.127,227] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.138,977] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.149,169] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.161,407] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.171,569] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.183,959] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.194,122] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.206,176] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.216,339] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.228,607] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.238,769] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.251,098] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.261,260] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.273,895] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.284,057] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.296,539] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.306,701] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.319,061] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.329,223] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.341,552] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.351,745] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.364,807] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.374,969] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.387,878] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.398,040] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.411,132] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.421,325] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.434,600] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.444,763] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.457,946] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.468,170] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.481,292] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.491,424] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.505,126] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.515,258] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.528,533] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.538,665] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.551,971] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.562,164] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.575,561] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.585,723] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.599,090] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.609,252] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.622,863] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 2
    [00:00:14.633,026] <dbg> agps.inject_agps_type: Injected AGPS data, type: 2, size: 72
    [00:00:14.644,348] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.654,541] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.665,496] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.675,659] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.686,737] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.696,899] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.708,099] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.718,261] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.729,431] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.739,562] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.750,610] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.760,772] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.771,759] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.781,951] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.792,938] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.803,131] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.814,117] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.824,279] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.835,449] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.845,581] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.856,750] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.866,912] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.877,929] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.888,092] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.899,078] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.909,240] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.920,410] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.930,572] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.941,711] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.951,873] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.962,860] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.972,991] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:14.984,161] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:14.994,323] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.005,462] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.015,625] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.027,008] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.037,170] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.048,339] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.058,502] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.069,519] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.079,650] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.090,667] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.100,830] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.111,846] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.122,009] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.133,026] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.143,188] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.154,327] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.164,459] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.175,445] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.185,607] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.196,746] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.206,909] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.218,017] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.228,210] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.239,166] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.249,328] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.260,467] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.270,629] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.281,646] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 3
    [00:00:15.291,809] <dbg> agps.inject_agps_type: Injected AGPS data, type: 3, size: 32
    [00:00:15.302,276] <dbg> agps.supl_logger: No integrity data available
    [00:00:15.311,859] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 4
    [00:00:15.321,990] <dbg> agps.inject_agps_type: Injected AGPS data, type: 4, size: 8
    [00:00:15.333,068] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 7
    [00:00:15.343,231] <dbg> agps.inject_agps_type: Injected AGPS data, type: 6, size: 144
    [00:00:15.353,759] <dbg> agps.supl_logger: No location data available
    [00:00:15.363,586] <dbg> nrf9160_gps.agps_write: Sent A-GPS data to modem, type: 8
    [00:00:15.373,748] <dbg> agps.inject_agps_type: Injected AGPS data, type: 7, size: 16
    [00:00:15.384,246] <dbg> agps.supl_logger: MCC location info injected, MCC: 240
    [00:00:15.394,226] <dbg> agps.supl_logger: Lat: 5851520 Lon: 780606
    [00:00:15.403,320] <dbg> agps.supl_logger: Unc semiminor/semimajor: 119/119
    [00:00:15.412,994] <dbg> agps.supl_logger: Unc altitude: 127
    [00:00:15.421,386] <dbg> agps.supl_logger: Confidence: 100
    [00:00:15.429,595] <dbg> agps.supl_logger: Orientation: 0
    [00:00:15.437,683] <dbg> agps.supl_logger: SUPL POS received
    [00:00:15.445,983] <dbg> agps.supl_logger: read again
    [00:00:15.453,643] <dbg> agps.supl_logger: read error: -1
    [00:00:15.461,669] <dbg> agps.supl_logger: SUPL error: 1
    [00:00:15.469,665] <dbg> agps.supl_logger: ULP encoding length: 34
    [00:00:15.478,576] <dbg> agps.supl_logger: Sending SUPL message failed, bytes_sent: -1
    [00:00:15.489,105] <dbg> agps.supl_logger: SUPL session internal resources released
    [00:00:15.499,359] <dbg> agps.supl_logger: SUPL session finished
    [00:00:15.507,934] <err> agps: SUPL session failed, error: -3
    [00:00:15.516,540] <err> agps: SUPL request failed, error: -3
    [00:00:15.525,146] <err> agps_sample: Failed to request A-GPS data, error: -3

Children
No Data
Related