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

◆ pdn_default_ctx_cb_dereg()

int pdn_default_ctx_cb_dereg ( pdn_event_handler_t cb)

#include <include/modem/pdn.h>

Deregister 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 deregistered successfully.
-EFAULTThe provided cb parameter was NULL.
-EINVALPDP context with the provided callback was not found. This can be returned if the callback was not registered upon calling this function.