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

◆ pdn_event_handler_t

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.

Parameters
cidThe PDP context ID.
eventThe event.
reasonThe ESM error reason, if available.