![]() |
nRF Connect SDK API 3.3.99
|
| int lte_lc_pdn_ctx_configure | ( | uint8_t | cid, |
| const char * | apn, | ||
| enum lte_lc_pdn_family | family, | ||
| struct lte_lc_pdn_pdp_context_opts * | opts ) |
#include <include/modem/lte_lc.h>
Configure a PDP context.
The PDN connection must be inactive when the PDP context is configured.
CONFIG_LTE_LC_PDN_MODULE to be enabled.| [in] | cid | The context ID. |
| [in] | apn | The Access Point Name. |
| [in] | family | The IP address family for the PDN connection. |
| [in] | opts | Additional configuration options. Optional, can be NULL. |
| 0 | On success. |