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

LTE network connection fails

Hi guys,

I am trying to connect the NRF9160-DK 0.9.0 to the LTE network with the supplied iBasis sim card.

For this purpose I have executed the following functions

bsdlib_init()
at_cmd_write(AT_SET_OFFLINE, atAns, RESPONSE_LEN, NULL)
err = lte_lc_init()
err = lte_lc_connect()

Unfortunately I could not connect to the LTE network

I receive the following error codes
err -8 for lte_lc_init()
and err -1 for lte_lc_connect()

I even tried to use the AT command AT%XSYSTEMMODE=1,0,0,0
The answer I received was at_cmd_rx 8 bytes, ERROR

In prj.conf i have the following config:
## 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

## LTE
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
CONFIG_LTE_NETWORK_MODE_LTE_M=y

## Modem
# CONFIG_MODEM_KEY_MGMT=y

Are there any essential settings missing for a successful network connection?