![]() |
nRF Connect SDK API 3.3.99
|
| int lte_lc_connect_async | ( | lte_lc_evt_handler_t | handler | ) |
#include <include/modem/lte_lc.h>
Connect to LTE network.
The function returns immediately.
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.
| [in] | handler | Event handler for receiving LTE events. The parameter can be NULL if an event handler is already registered. |
| 0 | if successful. |
| -EINVAL | if no event handler was registered. |
| -EFAULT | if an AT command failed. |