nRF Connect SDK API 3.2.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 PDN connection, as reported by the AT notifications +CNEC and +GGEV.

This handler is executed in the same context that dispatches AT notifications.

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