#include <lib/bin/lwm2m_carrier/include/lwm2m_os.h>
Activate a Packet Data Network (PDN) connection.
- Parameters
-
| cid | The PDP context ID to activate a connection for. |
| [out] | esm | If provided, the function will block to return the ESM error reason. |
| [out] | family | If 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
-
| 0 | If the operation was successful. Otherwise, a negative error code is returned. |