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

◆ lwm2m_os_pdn_ctx_create()

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.

Parameters
[out]cidThe ID of the new PDP context.
cbOptional event handler.
Return values
0If success.