![]() |
nRF Connect SDK API 3.2.99
|
| typedef void(* pdn_event_handler_t) (uint8_t cid, enum pdn_event event, int reason) |
#include <include/modem/pdn.h>
Event handler for PDN events.
If assigned during PDP context creation, the event handler will receive status information relative to the PDN connection, as reported by the AT notifications +CNEC and +GGEV.
This handler is executed in the same context that dispatches AT notifications.
| cid | The PDP context ID. |
| event | The event. |
| reason | The ESM error reason, if available. |