![]() |
nRF Connect SDK API 3.2.99
|
Data Structures | |
| struct | pdn_pdp_opt |
| Additional Packet Data Protocol (PDP) context configuration options. More... | |
| struct | pdn_dynamic_info |
| PDN connection dynamic information structure. More... | |
Typedefs | |
| typedef void(* | pdn_event_handler_t) (uint8_t cid, enum pdn_event event, int reason) |
| Event handler for PDN events. | |
Enumerations | |
| enum | pdn_fam { PDN_FAM_IPV4 = 0 , PDN_FAM_IPV6 = 1 , PDN_FAM_IPV4V6 = 2 , PDN_FAM_NONIP = 3 } |
| Address family. More... | |
| enum | pdn_event { PDN_EVENT_CNEC_ESM , PDN_EVENT_ACTIVATED , PDN_EVENT_DEACTIVATED , PDN_EVENT_IPV6_UP , PDN_EVENT_IPV6_DOWN , PDN_EVENT_NETWORK_DETACH , PDN_EVENT_APN_RATE_CONTROL_ON , PDN_EVENT_APN_RATE_CONTROL_OFF , PDN_EVENT_CTX_DESTROYED } |
| PDN library event. More... | |
| enum | pdn_auth { PDN_AUTH_NONE = 0 , PDN_AUTH_PAP = 1 , PDN_AUTH_CHAP = 2 } |
| Authentication method. More... | |
Functions | |
| int | pdn_ctx_create (uint8_t *cid, pdn_event_handler_t cb) |
| Create a PDP context. | |
| int | pdn_ctx_configure (uint8_t cid, const char *apn, enum pdn_fam family, struct pdn_pdp_opt *opts) |
| Configure a PDP context. | |
| int | pdn_ctx_auth_set (uint8_t cid, enum pdn_auth method, const char *user, const char *password) |
| Set PDP context authentication parameters. | |
| int | pdn_ctx_destroy (uint8_t cid) |
| Destroy a PDP context. | |
| int | pdn_activate (uint8_t cid, int *esm, enum pdn_fam *family) |
| Activate a PDN connection. | |
| int | pdn_deactivate (uint8_t cid) |
| Deactivate a PDN connection. | |
| int | pdn_id_get (uint8_t cid) |
| Retrieve the PDN ID for a given PDP context. | |
| int | pdn_dynamic_info_get (uint8_t cid, struct pdn_dynamic_info *pdn_info) |
| Retrieve dynamic parameters of a given PDN connection. | |
| int | pdn_default_apn_get (char *buf, size_t len) |
| Retrieve the default Access Point Name (APN). | |
| int | pdn_default_ctx_cb_reg (pdn_event_handler_t cb) |
| Register a callback for events pertaining to the default PDP context (zero). | |
| int | pdn_default_ctx_cb_dereg (pdn_event_handler_t cb) |
| Deregister a callback for events pertaining to the default PDP context (zero). | |
include/modem/lte_lc.h).