NRF9160 DK, setup LTE/NB-IOT connection for samples aws_iot, aws_iot_mqtt

As I understand it, the nrf samplesaws_iot and aws_iot_mqtt assume there a network connection up and running.

I am trying to adapt the sample to create the connection via LTE or NB-IOT.

Before trying to modify the samples, I proved the board works using the https_client sample.

However the http_client sample is configured for a non-secure setup while aws_iot and aws_iot_mqtt are not.

So just copying the network setup is not working (it can be I am going about it in the wrong way ).

The connection manager is just a frontend for available network interfaces. So I assume I still need to tell it which interface to use.

Can anyone point me in the right direction because studying the documentation and other samples does not get me to a solution.

Thanks

Related