I sent some nRF9160 prototypes down to a CTIA certified test lab in North Carolina to do carrier TRP and TIS testing. When they add their test sims they seem to be unable to connect to the nRF9160. Was there anything special I needed to configure in the module for testing with a callbox? I have the module setup to connect on bootup. The lab inserts their sim card into the holder and applies power, booting up the module. The module boots up and start looking for a base station, at that point the callbox the test center is using finds the device and starts to connect and initiate the test processes. But it then fails establishing the connection.
Prior to sending the units out I tested them both with an iBasis sim and they were able to register onto Verizon’s network.
Some other info:
Anritsu 8821 callbox
Using generic test sims
Testing bands 2, 4, 12, 13
For firmware on the nRF9160, I basically took the at_client sample and modified it to call the lte_lc_init_and_connect() function. Was there something else I missed? I attached the config file and the main.c for quick review.
Is Nordic limiting the max power at all?
#include <zephyr.h> #include <stdio.h> #include <drivers/uart.h> #include <string.h> #include <modem/lte_lc.h> #include <modem/bsdlib.h> /**@brief Recoverable BSD library error. */ void bsd_recoverable_error_handler(uint32_t err) { printk("bsdlib recoverable error: %u\n", err); } /**@brief Configures modem to provide LTE link. Blocks until link is * successfully established. */ static void modem_configure(void) { if (IS_ENABLED(CONFIG_LTE_AUTO_INIT_AND_CONNECT)) { /* Do nothing, modem is already turned on and connected. */ printk("Already Attempted Auto-Connect"); } else { int err; printk("Establishing LTE link (this may take some time) ...\n"); err = lte_lc_init_and_connect(); __ASSERT(err == 0, "LTE link could not be established."); } } void main(void) { printk("The AT host sample started\n"); modem_configure(); printk("We're done"); }
# # Copyright (c) 2019 Nordic Semiconductor ASA # # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic # # General config CONFIG_ASSERT=y # Network CONFIG_NETWORKING=y CONFIG_NET_NATIVE=n CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_OFFLOAD=y # BSD library CONFIG_BSD_LIBRARY=y # AT host library CONFIG_AT_HOST_LIBRARY=y CONFIG_UART_INTERRUPT_DRIVEN=y # Stacks and heaps CONFIG_MAIN_STACK_SIZE=3072 CONFIG_HEAP_MEM_POOL_SIZE=16384 # LTE link control CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_AUTO_INIT_AND_CONNECT=n