nRF Connect SDK API 2.8.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 Packet Data Network connection, as reported by the AT notifications +CNEC and +GGEV.
This handler is executed by the same context that dispatches AT notifications.
cid | The PDP context ID. |
event | The event. |
reason | The ESM error reason, if available. |