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

◆ lte_ipv4_addr_add()

int lte_ipv4_addr_add ( const struct net_if *  iface)

Add IPv4 address for the default PDP context to the network interface.

Parameters
ifacePointer to network interface.
Return values
0on success.
-EINVALif the passed in network interface pointer was NULL.
-ENODATAif no IPv4 address was obtained from the modem.
-EFAULTif an error occurred when obtaining the IPv4 address.
-ENODEVif the passed in interface pointer was not valid.