nRF Connect SDK API 2.8.99
|
int lwm2m_os_pdn_ctx_create | ( | uint8_t * | cid, |
lwm2m_os_pdn_event_handler_t | cb ) |
#include <lib/bin/lwm2m_carrier/include/lwm2m_os.h>
Create a Packet Data Protocol (PDP) context.
If a callback is provided via the cb
parameter, 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. |
0 | If success. |