nRF9160 GNSS sample using A-GPS

Hello Team Nordic,

I am running a GNSS sample under SDK 1.9.0 and using modem firmware version 1.3.2.

I can get location without using A-GPS support but we get error when A-GPS support is used.

Please see the image below.

What could be the possible problem?

Parents Reply Children
  • It is attached here.

    #
    # Copyright (c) 2019 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    # General
    CONFIG_FPU=y
    CONFIG_NRF_MODEM_LIB=y
    CONFIG_STDOUT_CONSOLE=y
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_NEWLIB_LIBC=y
    CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y
    
    # GNSS sample
    # Enable to use an external GNSS antenna
    CONFIG_GNSS_SAMPLE_ANTENNA_EXTERNAL=n
    # Enable to use nRF Cloud A-GPS
    CONFIG_GNSS_SAMPLE_ASSISTANCE_NRF_CLOUD=y
    
    # LTE Link Control
    CONFIG_LTE_LINK_CONTROL=y
    CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y
    # Request eDRX from the network
    CONFIG_LTE_EDRX_REQ=y
    # PSM requested periodic TAU 8 hours
    CONFIG_LTE_PSM_REQ_RPTAU="00101000"
    # PSM requested active time 6 seconds
    CONFIG_LTE_PSM_REQ_RAT="00000011"
    # Auto-connect should be left off as we want the application to control LTE
    CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
    
    # 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
    
    # Memory and stack configuration
    CONFIG_HEAP_MEM_POOL_SIZE=2048
    CONFIG_MAIN_STACK_SIZE=4096
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
    
    # Secure User-Plane Location (SUPL) client library 
    CONFIG_GNSS_SAMPLE_ASSISTANCE_SUPL=n
    

Related