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

◆ pdn_ctx_configure()

int pdn_ctx_configure ( uint8_t cid,
const char * apn,
enum pdn_fam family,
struct pdn_pdp_opt * opts )

#include <include/modem/pdn.h>

Configure a PDP context.

The PDN connection must be inactive when the PDP context is configured.

Deprecated
Use lte_lc_pdn_ctx_configure().
Parameters
cidThe PDP context ID.
apnThe Access Point Name.
familyThe address family.
optsAdditional configuration options. Optional, can be NULL.
Returns
int Zero on success or a negative errno otherwise.