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

Connection Problems to a TCP Server

Hi, 

I have a nRF9160DK with a Sim Card from a local provider, that supports NB-IoT.

I modified the example program  in \ncs\zephyr\samples\net\sockets\echo and wanted to set up a connection from the nRF9160 to my TCP Server. That didn't work and then I tried to connect it to the Google DNS server as a test. That didn't work either and I am out of ideas now on what could be the problem. This is the error message I get from the LTE Monitor:

The LTE Monitor log file:

My code (c file):

My prj.conf file:

Do you have any idea what could cause the error? Is the structure of the c file correct, or do you set up the connection with other commands?

Thanks for your help and your answers!

1 2 3 4