![]() |
nRF Connect SDK API 3.3.99
|
| int lte_lc_connect | ( | void | ) |
#include <include/modem/lte_lc.h>
Connect to LTE network.
This function sets the modem to online mode using lte_lc_normal. The client does not need to do anything to re-connect if the connection is lost but the modem will handle it automatically.
| 0 | if successful. |
| -EFAULT | if an AT command failed. |
| -ETIMEDOUT | if a connection attempt timed out before the device was registered to a network. |
| -EINPROGRESS | if a connection establishment attempt is already in progress. |