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

◆ pdn_activate()

int pdn_activate ( uint8_t cid,
int * esm,
enum pdn_fam * family )

#include <include/modem/pdn.h>

Activate a PDN connection.

Deprecated
Use lte_lc_pdn_activate().
Parameters
cidThe PDP context ID.
[out]esmIf provided, the function will block to return the ESM error reason.
[out]familyIf provided, the function will block to return PDN_FAM_IPV4 if only IPv4 is supported, or PDN_FAM_IPV6 if only IPv6 is supported. Otherwise, this value will remain unchanged.
Returns
int Zero on success or a negative errno otherwise.