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

◆ pdn_default_ctx_cb_reg()

int pdn_default_ctx_cb_reg ( pdn_event_handler_t cb)

#include <include/modem/pdn.h>

Register a callback for events pertaining to the default PDP context (zero).

Deprecated
Use lte_lc_register_handler() and handle PDN-related events.
Parameters
cbThe PDN event handler.
Return values
0Callback registered successfully, or the callback is already registered.
-EFAULTThe provided cb parameter was NULL.
-ENOMEMInsufficient heap to allocate the PDP context.