nRF Connect SDK API 2.8.99
|
int pdn_ctx_create | ( | uint8_t * | cid, |
pdn_event_handler_t | cb ) |
#include <include/modem/pdn.h>
Create a Packet Data Protocol (PDP) context.
If a callback is provided via the cb
parameter, the library will generate events from the +CNEC and +GGEV AT notifications to report state of the Packet Data Network (PDN) connection.
[out] | cid | The ID of the new PDP context. |
cb | Optional event handler. |