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

◆ pdn_dynamic_params_get()

int pdn_dynamic_params_get ( uint8_t cid,
struct in_addr * dns4_pri,
struct in_addr * dns4_sec,
unsigned int * ipv4_mtu )

#include <include/modem/pdn.h>

Retrieve dynamic parameters of a given PDP context.

Parameters
cidThe PDP context ID.
[out]dns4_priThe address of the primary IPv4 DNS server. Optional, can be NULL.
[out]dns4_secThe address of the secondary IPv4 DNS server. Optional, can be NULL.
[out]ipv4_mtuThe IPv4 MTU. Optional, can be NULL.
Returns
Zero on success or an error code on failure.