nRF Connect SDK API 0.1.0
|
void util_get_ip_addr | ( | int | cid, |
char | addr4[INET_ADDRSTRLEN], | ||
char | addr6[INET6_ADDRSTRLEN] | ||
) |
use AT command to get IPv4 and IPv6 addresses for specified PDN
[in] | cid | PDP Context ID as defined in "+CGDCONT" command (0~10). |
[out] | addr4 | Buffer to hold the IPv4 address. May be NULL. |
[out] | addr6 | Buffer to hold the IPv6 address. May be NULL. |