Hi,
I'm trying to use the connection manager in my application, but it never connects or shows any events. I've tried using the https_client sample as well, but that gives me the same result.
There's an existing thread which mirrors the exact same issue I'm experiencing. NRF9160 Connection Manager with LTE
I'm able to connect to an LTE network manually like so:
nrf_modem_lib_init(); modem_info_init(); lte_lc_register_handler(lte_event_handler); lte_lc_connect_async(lte_event_handler);
HTTPS client sample started [00:00:00.386,016] <dbg> net_mgmt: net_mgmt_add_event_callback: (main): Adding event callback 0x2000d330 [00:00:00.386,077] <dbg> net_mgmt: net_mgmt_add_event_callback: (main): Adding event callback 0x2000d318 Bringing network interface up [00:00:00.386,138] <dbg> net_if: net_if_up: (main): iface 1 (0x2000d288) [00:00:00.386,199] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (main): Notifying Event layer 0x2 code 0x1 type 0x8 [00:00:00.386,322] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:00:00.386,383] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 0x2 code 0x1 cmd 0x8 [00:00:00.386,444] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x2000e198 : 0x1d689 [00:00:00.386,627] <dbg> net_if: update_operational_state: (main): iface 1 (0x2000d288), oper state UP admin UP carrier ON dormant OFF [00:00:00.386,688] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (main): Notifying Event layer 0x2 code 0x1 type 0x2 [00:00:00.386,779] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:00:00.386,840] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 0x2 code 0x1 cmd 0x2 [00:00:00.386,901] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x2000e168 : 0x1d1ed [00:00:00.386,962] <dbg> conn_mgr: conn_mgr_iface_events_handler: (net_mgmt): Iface event 0xd010000000000002 received on iface 1 (0x2000d288) [00:00:00.386,993] <dbg> conn_mgr: conn_mgr_iface_events_handler: (net_mgmt): Iface index 0 Provisioning certificate Connecting to the network