![]() |
nRF Connect SDK API 3.3.99
|
| int lte_ipv4_addr_add | ( | const struct net_if * | iface | ) |
Add IPv4 address for the default PDP context to the network interface.
| iface | Pointer to network interface. |
| 0 | on success. |
| -EINVAL | if the passed in network interface pointer was NULL. |
| -ENODATA | if no IPv4 address was obtained from the modem. |
| -EFAULT | if an error occurred when obtaining the IPv4 address. |
| -ENODEV | if the passed in interface pointer was not valid. |