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

◆ lte_lc_connect_async()

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.

Parameters
[in]handlerEvent handler for receiving LTE events. The parameter can be NULL if an event handler is already registered.
Return values
0if successful.
-EINVALif no event handler was registered.
-EFAULTif an AT command failed.