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

◆ lte_lc_pdn_ctx_create()

int lte_lc_pdn_ctx_create ( uint8_t * cid)

#include <include/modem/lte_lc.h>

Create a PDP context.

In LTE terminology, this creates a PDP context (configuration) that can be activated into a PDN connection. The context contains settings like APN, address family, and authentication parameters.

PDN events will be sent to all registered lte_lc event handlers.

Note
Requires CONFIG_LTE_LC_PDN_MODULE to be enabled.
Parameters
[out]cidThe context ID.
Return values
0On success.
Returns
A negative errno otherwise.