...
struct ip_info ipconfig;
wifi_get_ip_info(STATION_IF, &ipconfig)
I am connected to an AP (i.e. station mode) and I can see the assigned IP in the serial console. But, ipconfig.ip (netmask & gw) is always 0. The API returns 'true'.
I am using SDK 1.3.0.
Does anyone see something obvious that I am missing?