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

Multicell Location

I'm trying to get Multicell Location working.

At the moment it won't compile.

I've tried with Skyhook key and NRF key.

prj.conf as follows:

I'm using nRF9160DK_nRF9160ns board

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

# General config
CONFIG_FPU=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y

# Logging
CONFIG_LOG=y
CONFIG_LOG_MODE_IMMEDIATE=y

# Sample configurations
# CONFIG_MULTICELL_LOCATION_SAMPLE_REQUEST_CELL_CHANGE=y
# CONFIG_MULTICELL_LOCATION_SAMPLE_REQUEST_PERIODIC_INTERVAL=600

# Multicell location
CONFIG_MULTICELL_LOCATION=y
CONFIG_MULTICELL_LOCATION_MAX_NEIGHBORS=10

# HERE location service configuration
# By default, HERE API v2 with API key authentication is used.
# This can be changed to v1 and app code + app ID authentication using Kconfig
# options.
# CONFIG_MULTICELL_LOCATION_SERVICE_HERE=y
# CONFIG_MULTICELL_LOCATION_HERE_API_KEY=""

# Skyhook location service configuration
CONFIG_MULTICELL_LOCATION_SERVICE_SKYHOOK=y
CONFIG_MULTICELL_LOCATION_SKYHOOK_API_KEY="eJwz5DQ0AAJDAzNjY85qR1czZxcTZwNdVwsDE11TcwMjXTNHNyddA1cTN0dzF2cTN0vTWgATfQtM"

# nRF Cloud single-cell location service configuration
#CONFIG_MULTICELL_LOCATION_SERVICE_NRF_CLOUD=y
#CONFIG_MULTICELL_LOCATION_NRF_CLOUD_API_KEY="7cdb6f1eca8b4b92dbeab4aa1b4321495ddaf62c"

# Network
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=n
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y

# LTE link control
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_NETWORK_MODE_LTE_M=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
# Request PSM active time of 8 seconds.
CONFIG_LTE_PSM_REQ_RAT="00000100"

# Modem library
CONFIG_NRF_MODEM_LIB=y
CONFIG_MODEM_KEY_MGMT=y
CONFIG_MODEM_INFO=y

# DK
CONFIG_DK_LIBRARY=y

# Heap and stacks
CONFIG_MAIN_STACK_SIZE=4096
# The AT parser and link controller libraries use the heap
CONFIG_HEAP_MEM_POOL_SIZE=2048

# Enable the configurations below to send AT commands over serial
CONFIG_AT_HOST_LIBRARY=y
CONFIG_UART_INTERRUPT_DRIVEN=y

Parents Reply Children
No Data
Related