nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ lte_lc_connect()

int lte_lc_connect ( void )

#include <include/modem/lte_lc.h>

Connect to LTE network.

Note
After initialization, the system mode will be set to the default mode selected with Kconfig and LTE preference set to automatic selection.
Return values
0if successful.
-EFAULTif an AT command failed.
-ETIMEDOUTif a connection attempt timed out before the device was registered to a network.
-EINPROGRESSif a connection establishment attempt is already in progress.