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
  • Hi Aakash,

    1) Fail to get A-GPS data

    Could you confirm if you have internet access through your LTE network? This can be tested with the default Assert Tracker V2 application.

    2)GNSS operation blocked by LTE

    This is as expected. LTE and GNSS can not work at the same time. GNSS can only work  in RRC idle mode or Power Saving Mode (PSM) when you enabled LTE connection when using the GNSS receiver. Please refer to the document Features of nRF91 Series — nRF Connect SDK 1.9.0 documentation (nordicsemi.com) GNSS part.

    Best regards,

    Charlie

  • Hi Chalie,

    Thank you for your reply. I could not run asset tracker at the moment and seeking certificate provision support from another ticket.

    Regarding internet access through LTE, I tried this GNSS sample using SUPL library and can get AGPS running. Does this mean I have a internet connectivity? 

    Ideally, I would like to make AGPS work via NRF_CLOUD.

    Kind regards,

    Aakash.

  • Hi Charlie,

    After device provisioning fix, I can get location via AGPS.

    Thanks,

    Aakash. 

  • Hi Aakash,

    I have the same problem as you.  I want to know how you solved it. I was wondering if I could take a look at your profile.

    Thanks,

    Jessie.

  • Hi Jessie,

    If you are using development kit, first make sure you follow assess tracker sample tutorial. It will tell you about how to provision certificate for your DK.

    AGPS sample should work afterwards.

    Thanks,

    Aakash.

  • Hi Aakash,

    I've already configured the certificates. I'd like to take a look at your prj.conf file.

    Thanks,

    Jessie.

  • 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
    

Reply
  • 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
    

Children
No Data
Related