LTE-M & GNSS together not works in my project

I have integrated HTTP client & GNSS example project as per my requirement.

After initialization  I get GNSS Tracking:  6 Using:  0 Unhealthy: 1   

& Insufficient GNSS time windows. message & GNSS not get fixed most of the time. 

Can you guide me for integrating the project.

Parents
  • GNSS example works fine , I have connected external antenna.

    Configuration I have:

    #
    # Copyright (c) 2023 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #

    # General
    # 1024
    CONFIG_HEAP_MEM_POOL_SIZE=8192
    CONFIG_MAIN_STACK_SIZE=4096
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536

    # Logging
    CONFIG_LOG=y

    # Network
    CONFIG_NETWORKING=y
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_SOCKETS_POSIX_NAMES=y
    CONFIG_NET_IPV4=y
    CONFIG_NET_IPV6=y
    CONFIG_NET_CONNECTION_MANAGER=y
    CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024


    CONFIG_CJSON_LIB=y
    CONFIG_NEWLIB_LIBC=y
    CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
    CONFIG_HTTP_CLIENT=y //added 23/8/24

    # CONFIG_LOG_DEFAULT_LEVEL=3
    CONFIG_LTE_LINK_CONTROL=y

    ## Commented for testing
    # CONFIG_PDN=y
    # CONFIG_PDN_DEFAULTS_OVERRIDE=y
    # CONFIG_PDN_DEFAULT_APN="\"lpwa.vodafone.iot\""
    ## Enable NB-IoT network mode
    # CONFIG_LTE_NETWORK_MODE_NBIOT=y
    ## Enable GNSS support
    # CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y

    # CONFIG_LTE_NETWORK_MODE_LTE_M =y
    CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y

    # Enable modem functionalities if not already enabled
    CONFIG_MODEM_KEY_MGMT=y
    CONFIG_REBOOT=y

    CONFIG_NRF_MODEM_LIB=y
    CONFIG_GNSS=y
    # CONFIG_GNSS_PRIORITY=10
    # CONFIG_GNSS_SAMPLE_MODE=y

    CONFIG_GNSS_SATELLITES=y
    CONFIG_LOG_BUFFER_SIZE=8192
    CONFIG_GNSS_DUMP_TO_LOG=y
    CONFIG_GNSS_LOG_LEVEL_DBG=y


    CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=y
    CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=n

    # General
    CONFIG_FPU=y
    # CONFIG_NRF_MODEM_LIB=y
    CONFIG_STDOUT_CONSOLE=y
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_PICOLIBC_IO_FLOAT=y
    # CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y

    # GNSS sample
    # Enable to use nRF Cloud A-GNSS
    # CONFIG_GNSS_SAMPLE_ASSISTANCE_NRF_CLOUD=n


    # 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"
    CONFIG_LTE_PSM_REQ_RAT="00100001"

    # AT Host library - Used to send AT commands directy from an UART terminal and to allow
    # integration with nRF Connect for Desktop LTE Link monitor application.
    CONFIG_AT_HOST_LIBRARY=y

    # Networking
    CONFIG_NET_SOCKETS_OFFLOAD=y

Reply
  • GNSS example works fine , I have connected external antenna.

    Configuration I have:

    #
    # Copyright (c) 2023 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #

    # General
    # 1024
    CONFIG_HEAP_MEM_POOL_SIZE=8192
    CONFIG_MAIN_STACK_SIZE=4096
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536

    # Logging
    CONFIG_LOG=y

    # Network
    CONFIG_NETWORKING=y
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_SOCKETS_POSIX_NAMES=y
    CONFIG_NET_IPV4=y
    CONFIG_NET_IPV6=y
    CONFIG_NET_CONNECTION_MANAGER=y
    CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024


    CONFIG_CJSON_LIB=y
    CONFIG_NEWLIB_LIBC=y
    CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
    CONFIG_HTTP_CLIENT=y //added 23/8/24

    # CONFIG_LOG_DEFAULT_LEVEL=3
    CONFIG_LTE_LINK_CONTROL=y

    ## Commented for testing
    # CONFIG_PDN=y
    # CONFIG_PDN_DEFAULTS_OVERRIDE=y
    # CONFIG_PDN_DEFAULT_APN="\"lpwa.vodafone.iot\""
    ## Enable NB-IoT network mode
    # CONFIG_LTE_NETWORK_MODE_NBIOT=y
    ## Enable GNSS support
    # CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y

    # CONFIG_LTE_NETWORK_MODE_LTE_M =y
    CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y

    # Enable modem functionalities if not already enabled
    CONFIG_MODEM_KEY_MGMT=y
    CONFIG_REBOOT=y

    CONFIG_NRF_MODEM_LIB=y
    CONFIG_GNSS=y
    # CONFIG_GNSS_PRIORITY=10
    # CONFIG_GNSS_SAMPLE_MODE=y

    CONFIG_GNSS_SATELLITES=y
    CONFIG_LOG_BUFFER_SIZE=8192
    CONFIG_GNSS_DUMP_TO_LOG=y
    CONFIG_GNSS_LOG_LEVEL_DBG=y


    CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=y
    CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=n

    # General
    CONFIG_FPU=y
    # CONFIG_NRF_MODEM_LIB=y
    CONFIG_STDOUT_CONSOLE=y
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_PICOLIBC_IO_FLOAT=y
    # CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y

    # GNSS sample
    # Enable to use nRF Cloud A-GNSS
    # CONFIG_GNSS_SAMPLE_ASSISTANCE_NRF_CLOUD=n


    # 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"
    CONFIG_LTE_PSM_REQ_RAT="00100001"

    # AT Host library - Used to send AT commands directy from an UART terminal and to allow
    # integration with nRF Connect for Desktop LTE Link monitor application.
    CONFIG_AT_HOST_LIBRARY=y

    # Networking
    CONFIG_NET_SOCKETS_OFFLOAD=y

Children
Related