![]() |
nRF Connect SDK API 3.2.99
|
| 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).
| cb | The PDN event handler. |
| 0 | Callback registered successfully, or the callback is already registered. |
| -EFAULT | The provided cb parameter was NULL. |
| -ENOMEM | Insufficient heap to allocate the PDP context. |