![]() |
nRF Connect SDK API 3.3.99
|
| int lte_lc_pdn_activate | ( | uint8_t | cid, |
| int * | esm, | ||
| enum lte_lc_pdn_family * | family ) |
#include <include/modem/lte_lc.h>
Activate a PDN connection.
Activates the PDP context with the given CID, establishing a PDN connection.
CONFIG_LTE_LC_PDN_MODULE to be enabled.| [in] | cid | The context ID. |
| [out] | esm | If provided, the function will block to return the ESM error reason. |
| [out] | family | If provided, the function will block to return LTE_LC_PDN_FAM_IPV4 if only IPv4 is supported, or LTE_LC_PDN_FAM_IPV6 if only IPv6 is supported. Otherwise, this value will remain unchanged. |
| 0 | On success. |