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

◆ lwm2m_os_pdn_activate()

int lwm2m_os_pdn_activate ( uint8_t  cid,
int *  esm,
enum lwm2m_os_pdn_fam family 
)

#include <lib/bin/lwm2m_carrier/include/lwm2m_os.h>

Activate a Packet Data Network (PDN) connection.

Parameters
cidThe PDP context ID to activate a connection for.
[out]esmIf provided, the function will block to return the ESM error reason.
[out]familyIf provided, the function will block to return PDN_FAM_IPV4 if only IPv4 is supported, or PDN_FAM_IPV6 if only IPv6 is supported. Otherwise, this value will remain unchanged.
Return values
0If success.